in simple html page CKeditor with character limit for only insert character(MAX=100 character).
- Check this - stackoverflow.com/questions/27231626/…Sahil Sharma– Sahil Sharma2018-07-03 12:28:51 +00:00Commented Jul 3, 2018 at 12:28
- Possible duplicate of Ckeditor character limitation with charcount pluginvielkind– vielkind2018-07-03 13:47:20 +00:00Commented Jul 3, 2018 at 13:47
Add a comment |
2 Answers
For pure HTML one We have
<input type="text" id="Textbox" name="Textbox" maxlength="100" /> Kindly have a look over that ,if it not solve your problem, let me know. Thank You
1 Comment
neeraj patel
maxlength="100" attribute i try but not solve because ckeditor ignore all properties
It has worked for me, use a data tag for example <input data-ml="400"... then in the ckeditor config.js file I have used this property for wordcount
config.wordcount = { showParagraphs: false, showWordCount: true, showCharCount: true, countSpacesAsChars: false, countHTML: false, maxWordCount: -1, maxCharCount: this.element.data('ml') ? this.element.data('ml') : 400 };