quill-wordcounter

1.0.1 • Public • Published

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'
        }
    }
});

Package Sidebar

Install

npm i quill-wordcounter

Weekly Downloads

6

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ghosthelland