Pages
Mail Settings
Users & Permissions
Transactions Report
Users
Al Pacino
alpacino@left4code.com
Al Pacino
alpacino@left4code.com
Robert De Niro
robertdeniro@left4code.com
Denzel Washington
denzelwashington@left4code.com
Products
Samsung Q90 QLED TV
Electronic
Sony Master Series A9G
Electronic
Samsung Galaxy S20 Ultra
Smartphone & Tablet
Sony A7 III
Photography

## CKEditor

## Document Editor

Show example code

Content of the editor.

      HTMLOpenTagdiv class="editor document-editor"HTMLCloseTag HTMLOpenTagdiv class="document-editor__toolbar"HTMLCloseTagHTMLOpenTag/divHTMLCloseTag HTMLOpenTagdiv class="document-editor__editable-container"HTMLCloseTag HTMLOpenTagdiv class="document-editor__editable"HTMLCloseTag HTMLOpenTagpHTMLCloseTagContent of the editor.HTMLOpenTag/pHTMLCloseTag HTMLOpenTag/divHTMLCloseTag HTMLOpenTag/divHTMLCloseTag HTMLOpenTag/divHTMLCloseTag

      import DocumentEditor from "@ckeditor/ckeditor5-build-decoupled-document"; $(".editor").each(function () { const el = this; DocumentEditor.create($(el).find(".document-editor__editable")[0]) .then((editor) =HTMLCloseTag { $(el) .closest(".editor") .find(".document-editor__toolbar") .append(editor.ui.view.toolbar.element); }) .catch((error) =HTMLCloseTag { console.error(error); }); });

Dark Mode