Event fires before change of text in the editor.
Parameters
Name | Type | Description |
---|---|---|
e | {object} | event data |
Examples
MaxLength
<textarea id="editor"></textarea>
<script>
var editor = $('#editor').editor();
editor.on('changing', function (e) {
return $(e.target).text().length < 3;
});
</script>