How can I configure maximum number of rows in contenteditable attribute?
I want to stop use after they will reach his capacity of characters for send in POST method.
I’m just using HTML 5. It’s a new atributte, you can google it. It’s value can be true or false. Contenteditable is not using windows enccoded new lines like: \r\n, but using creating divs and adding <br> tags to it.
You could just run some JavaScript on the element, like so:
And you could attach it to a keyup handler