I've enabled the counter plugin, but while I type, it does not update unless I click the area that displays the wordcount. Is that normal behavior? I was hoping that I could see the count of words and characters as I type.

#2 ckeditor-live-count-2042517-1.diff1.15 KBdesignerbrent
PASSED: [[SimpleTest]]: [MySQL] 0 pass(es).
[ View ]


designerbrent’s picture

Title:Counter does not count while typing» Add live updating to word count
Version:7.x-1.13» 7.x-1.x-dev
Issue summary:View changes
Status:Active» Needs review

I was looking for the ability to have live word counts. I realize that offering that can be a drain on resources. The attached patch, similar to how module_filter updates, only updates the count on a space press or after 2 seconds.

This could really use a settings to enable and optionally even a setting for the 2 second delay, but the patch is attached to get this started.

designerbrent’s picture

new1.15 KB
PASSED: [[SimpleTest]]: [MySQL] 0 pass(es).
[ View ]

The actual patch.