Characte counter in tinymce?

Post Reply
kr428
Sr. Bludit
Posts: 31
Joined: Thu Jan 05, 2023 9:07 pm
Has thanked: 10 times
Been thanked: 2 times

Folks; is there any way or guide on how to enable a character counter in the tinymce editor? Is that even possible?
Thanks,
Kristian
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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/
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
kr428
Sr. Bludit
Posts: 31
Joined: Thu Jan 05, 2023 9:07 pm
Has thanked: 10 times
Been thanked: 2 times

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. :)
User avatar
Edi
Site Admin
Posts: 3121
Joined: Sun Aug 09, 2015 5:01 pm
Location: Zurich
Has thanked: 54 times
Been thanked: 77 times
Contact:

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.
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
kr428
Sr. Bludit
Posts: 31
Joined: Thu Jan 05, 2023 9:07 pm
Has thanked: 10 times
Been thanked: 2 times

Edi wrote: Tue May 30, 2023 11:25 am You can enable the statusbar to show the counter.
Ah. Neat. Thanks very much!🙂
Post Reply