DEV Community

Cover image for How To Set Character Limit In Ckeditor 5
dev laravel
dev laravel

Posted on

How To Set Character Limit In Ckeditor 5

`config.wordcount = {

// Whether or not you want to show the Paragraphs Count
showParagraphs: false,

// Whether or not you want to show the Word Count
showWordCount: false,

// Whether or not you want to show the Char Count
showCharCount: true,

// Whether or not you want to count Spaces as Chars
countSpacesAsChars: true,

// Whether or not to include Html chars in the Char Count
countHTML: false,

// Maximum allowed Word Count, -1 is default for unlimited
maxWordCount: 400,

// Maximum allowed Char Count, -1 is default for unlimited
maxCharCount: 400};`

[Solutinos ------------------>](https://laratuto.com/how-to-set-character-limit-in-ckeditor-5/)

Top comments (0)