TinyMCE: Word count

Maintained by Picture of Tony ButlerTony Butler, Picture of Ruslan KabalinRuslan Kabalin
This plugin prints a word count in the bottom right-hand corner of your TinyMCE editor which updates as you type.
298 sites
10 fans
Current versions available: 1

This plugin prints a word count in the bottom right-hand corner of your TinyMCE HTML editor (see screenshot) which updates as you type.

In Moodle 2.7 and later TinyMCE is no longer the default editor, so to make use of this plugin's functionality you would need to either:

  • (As a site admin) change the default editor for your Moodle site by going to Site administration -> Plugins -> Text editors -> Manage editors and moving TinyMCE to the top of the list, or
  • (As a normal user) edit your profile and select TinyMCE as your preferred text editor.
This plugin was originally developed to be used in conjunction with the new word limit functionality which was introduced in Moodle 2.7 for the online text assignment submission type. As such, it modifies the behaviour of the standard TinyMCE wordcount plugin (which is included in Moodle but not actually enabled or used anywhere) to make it use the same word counting criteria as Moodle's internal word count function, so that the word counts reported are consistent with each other.


Screenshot #0


Picture of Tony Butler
Tony Butler (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Mudrák
    Thu, Jun 19, 2014, 4:52 AM
    Thanks for contributing this nice plugin Tony. I am going to approve it now. While testing the functionality, I found an issue with my Firefox/Vimperator plugin that I reported in your bug tracker. Asside from that, I did not find any problem. The code is clean and follows the Moodle guidelines. Well done!

    You are cleared to land now, welcome to Plugins directory!
  • Picture of Hai Nguyen Hoang
    Fri, Dec 12, 2014, 11:11 AM
    I want the statistics to be more extensive like in this website http://wordcounttools.com
  • Picture of Ivan Reznichenko
    Tue, Dec 15, 2015, 7:24 PM
    This plugin do not works on version 3.0. Can you help?
  • Picture of Tony Butler
    Tue, Dec 15, 2015, 8:41 PM
    I've now updated the version information to reflect the fact that the plugin does in fact work in Moodle 3.0 (Ivan's issues were sorted via private messaging).
  • Picture of Adam Duzz
    Fri, Dec 29, 2017, 1:14 AM
    To word count, I use this tool http://www.countingcharacters.com/
Please login to post comments