How to use the ckeditor4.inline 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.

github Enalean / tuleap / plugins / testmanagement / scripts / testmanagement / src / execution-collection / execution-service.js View on Github external
toolbar: [
                ["Bold", "Italic", "Styles"],
                ["Link", "Unlink", "Image"],
            ],
            stylesSet: [
                { name: "Bold", element: "strong", overrides: "b" },
                { name: "Italic", element: "em", overrides: "i" },
                { name: "Code", element: "code" },
                { name: "Subscript", element: "sub" },
                { name: "Superscript", element: "sup" },
            ],
            uiColor: "ffffff",
            language: document.body.dataset.userLocale,
            ...additional_options,
        };
        self.editor = CKEDITOR.inline(field, config);
        self.editor.on("change", function () {
            execution.results = self.editor.getData();
        });
        field.setAttribute("contenteditable", true);
        setupImageUpload(field, execution);
    }

ckeditor4

JavaScript WYSIWYG web text editor.

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

Package Health Score

74 / 100
Full package analysis