1.0.1 • Published 7 years ago
quill-wordcounter v1.0.1
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'
}
}
});