ContentEditableDivCharLimitHighlighter(contentEditableDivNode,limit,color)
contentEditableDivNode -> Contenteditable Div Node
limit -> Maximum number of characters allowed
color -> Color of highlighter
Examples of usage:
ContentEditableDivCharLimitHighlighter(document.getElementById("myDiv1"),30);
ContentEditableDivCharLimitHighlighter(document.getElementById("myDiv2"),40,"purple");
ContentEditableDivCharLimitHighlighter(document.getElementById("myDiv3"),50,"red");
Result: ======== ![ScreenShot](https://raw.githubusercontent.com/natchkebiailia/ContentEditableDivLimitHighlighter/master/demo.PNG)