Can I make use of word-count.js in my own code?
After looking further through the source for word-count.js and then through various WordPress Trac entries I found satisfactory answers to my two questions: Question 1: How can I use the word-count function? To make use of the word count function you have to instantiate the wordcounter utility first: var wc = new window.wp.utils.WordCounter(); and then … Read more