Notifications
Nicolas Cage
01:10 PM
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem
Brad Pitt
05:09 AM
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem
Russell Crowe
06:05 AM
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500
Leonardo DiCaprio
03:20 PM
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500
Al Pacino
05:09 AM
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomi
-
Nicolas CageDevOps Engineer
-
- Profile
- Add Account
- Reset Password
- Help
-
- Logout
CKEditor
Document Editor
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); }); });