How to use the ckeditor4.remove function in ckeditor4

To help you get started, we’ve selected a few ckeditor4 examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Enalean / tuleap / plugins / testmanagement / scripts / testmanagement / src / execution-collection / execution-service.js View on Github external
function loadRTE(field, execution) {
        let additional_options = {};
        let instance = CKEDITOR.instances["execution_" + execution.id];
        if (instance) {
            CKEDITOR.remove(instance);
        }

        if (execution.upload_url) {
            additional_options = {
                extraPlugins: "uploadimage",
                uploadUrl: execution.upload_url,
            };
        }
        let config = {
            disableNativeSpellChecker: false,
            toolbar: [
                ["Bold", "Italic", "Styles"],
                ["Link", "Unlink", "Image"],
            ],
            stylesSet: [
                { name: "Bold", element: "strong", overrides: "b" },

ckeditor4

JavaScript WYSIWYG web text editor.

(GPL-2.0 OR LGPL-2.1 OR MPL-1…
Latest version published 7 days ago

Package Health Score

77 / 100
Full package analysis