Skip to content

Rich Text Editor Document: editor.notifySelectionChange()

editor.notifySelectionChange()

Notifies the editor about any content change.

Syntax

editor.notifySelectionChange()

Example:

var editor1 = new RichTextEditor("#div_editor1");    
editor1.getEditable().appendChild(editor1.document.createElement("hr"));  
editor1.notifySelectionChange();