// Implement and register moduleQuill.register('modules/counter',function(quill, options) {var container =document.querySelector('#counter');quill.on('text-change',function() {var text =quill.getText();// There are a couple issues with counting words// this way but we'll fix these latercontainer.innerText =text.split(/\s+/).length;// We can now initialize Quill with something like this:var quill =newQuill('#editor', { modules: { counter:true});