Examples
editor.change event
This event is raised if the content of RichTextEditor is changed by either a programmatic modification or user interaction.
Syntax
function(state,cmd,value)
Example:
editor1.attachEvent("change", function () {
var textCount = editor1.getPlainText().trim().length;
document.title = "textCount:" + textCount;
});