CKEditor 5 document editor build
- Installation for how to install this package and what it contains.
- Basic API for how to create an editor and interact with it.
- Configuration for how to configure the editor.
- Creating custom builds for how to customize the build (configure and rebuild the editor bundle).
First, install the build from npm:
npm install --save @ckeditor/ckeditor5-build-decoupled-document
And use it in your website:
This is the editor content.
;// Or using the CommonJS version:// const DecoupledEditor = require( '@ckeditor/ckeditor5-build-decoupled-document' );DecoupledEditor;
Note: If you are planning to integrate CKEditor 5 deep into your application, it is actually more convenient and recommended to install and import the source modules directly (like it happens in
ckeditor.js). Read more in the Advanced setup guide.