I am using tinymce editor on the textarea. I am able to initialize the text editor but I now want to get the wordcount in the text editor on key press. Is there a easy way of getting the wordcount using the tiny mce when the user types the words.
Asked
Active
Viewed 3,696 times
1 Answers
3
Very easy, there is already a plugin for that.
http://www.tinymce.com/wiki.php/Plugin:wordcount
Example:
tinymce.init({
plugins: "wordcount"
});
Update
Regarding your comment, you want a max limit on words. There are multiple solutions to this, and a lot of resources on the subject already. Check this out:

Community
- 1
- 1

aludvigsen
- 5,893
- 3
- 26
- 37
-
There is another plugin that counts words and characters as well: http://adamscheller.com/libraries/tinymce-count-words-plugin/ – kazy Aug 28 '15 at 08:56