1

in simple html page CKeditor with character limit for only insert character(MAX=100 character).

2

2 Answers 2

3

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

Sign up to request clarification or add additional context in comments.

1 Comment

maxlength="100" attribute i try but not solve because ckeditor ignore all properties
0

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 };

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.