We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 821ba80 commit cf5dccdCopy full SHA for cf5dccd
public/js/editor.js
@@ -63,7 +63,13 @@ pimcore.bundle.tinymce.editor = Class.create({
63
language = {};
64
}
65
66
- const toolbar1 = 'undo redo | blocks | ' +
+ let charCountPlugin = '';
67
+ if (this.maxChars !== -1) {
68
+ charCountPlugin = '| wordcount ';
69
+ }
70
+
71
72
+ const toolbar1 = `undo redo ${charCountPlugin} | blocks | ` +
73
'bold italic | alignleft aligncenter ' +
74
'alignright alignjustify | link hr charmap';
75
0 commit comments