How to limit number of paragraphs in Ckeditor?

0

Good afternoon guys!

I need to limit in a textarea, with Ckeditor, the number of paragraphs. I need the person to type just one paragraph, necessarily .

I also need to limit this paragraph to a maximum of 1000 words. Beauty, this is easy. Through the word Count plugin I got this limitation.

This plugin, allows me to display and limit the amount characters. It also allows me to display the number of paragraphs, however, it does not allow you to limit it.

I can make this limitation via javascript, but then people would type the text without any training, in a pure raw textarea, which I do not want.

If someone has a solution, please help me.

    
asked by anonymous 07.06.2018 / 22:28

0 answers