Open gustavorangel121 opened 6 years ago
// Use following code.
$("#long-description-editor").Editor(); $(".Editor-editor").on("keypress", function(){ var chars = $("#long-description-editor").Editor("getCharCount"); if(chars > 400){ alert('not allowed'); } });
Hi!
I would like to know if there is any possibility to limit the max amount of characters. Like, I want to put a limit of 400 characters. How to do this?