0.0.1 • Published 5 years ago
ckeditor5-iswordcount-dev v0.0.1
ckeditor5-iswordcount
This package implements characters count support for CKEditor 5.
This code is a code refactor from Word Count & Char Count Plugin for CKEditor4. This plugin is far from perfect so it is expected to understand the limitations of the features.
Feature
- Char Count
- Word Count
- Paragraph Count
Installation
To add this feature to your editor, install the ckeditor5-iswordcount package:
npm i ckeditor5-iswordcount
And add it to your plugin list and toolbar configuration:
import ISWordCount from 'ckeditor5-iswordcount';
ClassicEditor
.create( document.querySelector( '#editor' ), {
plugins: [ ISWordCount, ... ],
toolbar: [ 'iswordcount', ... ]
iswordcount: { maxCharCount: 10 }
} )
.then( ... )
.catch( ... );
External links
License
ckeditor5-iswordcount 5 is an Open Source plugin
0.0.1
5 years ago