@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-cjs.js CHANGED
@@ -22481,7 +22481,7 @@ class DocEditor {
22481
22481
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
22482
22482
  }
22483
22483
  version() {
22484
- return "2.2.19";
22484
+ return "2.2.20";
22485
22485
  }
22486
22486
  switchPageHeaderEditor() {
22487
22487
  this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
@@ -22832,7 +22832,7 @@ class DocEditor {
22832
22832
  * 在光标处插入内容
22833
22833
  * @param data
22834
22834
  */
22835
- onInsertContent(data) {
22835
+ insertContent(data) {
22836
22836
  this.documentChange.onInsertContent(data);
22837
22837
  }
22838
22838
  }