editor.notifySelectionChange()
通知编辑器内容发生了变化。
语法
editor.notifySelectionChange()
用法示例
var editor1 = new RichTextEditor("#div_editor1");
editor1.getEditable().appendChild(editor1.document.createElement("hr"));
editor1.notifySelectionChange(); 通知编辑器内容发生了变化。
editor.notifySelectionChange()
var editor1 = new RichTextEditor("#div_editor1");
editor1.getEditable().appendChild(editor1.document.createElement("hr"));
editor1.notifySelectionChange();