The title says it all. How do I get TinyMCE to show character count instead of word count?
wordcount plugin now can count and show characters:
Clicking Word Count in the status bar switches between counting words and characters.
By default mode is "words", but it's pretty easy emulate click in status bar to switch it.
Alter your editor config following way:
tinymce.init({
plugins: "wordcount",
// ...
init_instance_callback: function (editor) {
$(editor.getContainer()).find('button.tox-statusbar__wordcount').click(); // if you use jQuery
}
});
That's all. You have character count now.