quill-wordcounter
v1.0.1
Published
Dead simple word counter module for Quill.js
Downloads
9
Maintainers
Readme
quill-wordcounter
Dead simple word counter module (ES6) for Quill.js
Install
npm install quill-wordcount --save
Usage
import Quill from 'quill'
import Wordcounter from 'quill-wordcounter'
Quill.register('modules/wordcounter', Wordcounter);
let quill = new Quill('#editor', {
modules: {
counter: {
container: '#counter',
unit: 'word'
}
}
});