Page 1 of 1

Characte counter in tinymce?

Posted: Fri May 26, 2023 1:29 pm
by kr428
Folks; is there any way or guide on how to enable a character counter in the tinymce editor? Is that even possible?
Thanks,
Kristian

Re: Characte counter in tinymce?

Posted: Mon May 29, 2023 8:31 pm
by Edi
You can add a counter for words or for characters to the editor TinyMCE.

In the settings of the plugin add "wordcounter" to the field the "Toolbar top" or "Toolbar bottom" and to the field "Plugins".

See also:

https://www.tiny.cloud/docs/plugins/ope ... wordcount/

Re: Characte counter in tinymce?

Posted: Tue May 30, 2023 9:50 am
by kr428
Ah. Cool, thanks very much. That's at least something. I was hoping for something real-time'ish (with a count displayed in the status bar or similar), but I'll see how far this will get me. :)

Re: Characte counter in tinymce?

Posted: Tue May 30, 2023 11:25 am
by Edi
You can enable the statusbar to show the counter.

Set in the file plugin.php in the directory /bl-plugins/tinymce (line 129):

Code: Select all

statusbar: true,
instead of

Code: Select all

statusbar: false,
Clicking on the counter in the status bar switches between counting words and counting characters.

Re: Characte counter in tinymce?

Posted: Wed May 31, 2023 2:00 pm
by kr428
Edi wrote: Tue May 30, 2023 11:25 am You can enable the statusbar to show the counter.
Ah. Neat. Thanks very much!🙂