The inline editor build for CKEditor 5 with pre install alignment and word counter plugin. Read more about the inline editor build
- Char Count
- Alignment
First, install the build from npm:
npm install --save ckeditor5-build-inline-alignment
And use in your JavaScript application:
import InlineEditor from 'ckeditor5-build-inline-alignment';
// Or using the CommonJS version:
// const InlineEditor = require( '@ckeditor/ckeditor5-build-inline' );
InlineEditor.create(document.querySelector('#editor'))
.then((editor) => {
window.editor = editor;
})
.catch((err) => {
console.error(err.stack);
});
Note:
If you work on react applications and use stateless component, please use the CommonJS version :
const InlineEditor = require('@ckeditor/ckeditor5-build-inline')
to avoid build failure caused by using SSR.
- ckeditor5-iswordcount on npm
- ckeditor5-iswordcount on Github
- ckeditor5-alignment on npm
- ckeditor5-alignment on Github
ckeditor5-build-inline-alignment 5 is an Open Source plugin