How to correctly crop text in contenteditable div?
If you add the div contenteditable attribute to true then it allows you to embed html how correctly to add limit but rather to crop the text if the user entered more than the limit ?
asked July 12th 19 at 17:03
Listen to the event input/paste and change data.
sorry here is the bigger question not how to catch the event, but as poudalyat text without breaking html...