@hailin-zheng/editor-core 2.2.19 → 2.2.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -22452,7 +22452,7 @@ class DocEditor {
22452
22452
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
22453
22453
  }
22454
22454
  version() {
22455
- return "2.2.19";
22455
+ return "2.2.20";
22456
22456
  }
22457
22457
  switchPageHeaderEditor() {
22458
22458
  this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
@@ -22803,7 +22803,7 @@ class DocEditor {
22803
22803
  * 在光标处插入内容
22804
22804
  * @param data
22805
22805
  */
22806
- onInsertContent(data) {
22806
+ insertContent(data) {
22807
22807
  this.documentChange.onInsertContent(data);
22808
22808
  }
22809
22809
  }