@hailin-zheng/editor-core 2.1.4 → 2.1.5

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
@@ -28107,6 +28107,7 @@ class DocEditor {
28107
28107
  const index = docRender.getIndex();
28108
28108
  const cursorPos = DocumentCursor.getElementCursorPos(ele, 0, region, index);
28109
28109
  //this.selectionState.resetRange(element, 0);
28110
+ this.documentEvent.mousedownPos = cursorPos.rect;
28110
28111
  this.scrollToPosition(cursorPos.rect);
28111
28112
  }
28112
28113
  }
@@ -28654,7 +28655,7 @@ class DocEditor {
28654
28655
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
28655
28656
  }
28656
28657
  version() {
28657
- return "2.1.4";
28658
+ return "2.1.5";
28658
28659
  }
28659
28660
  }
28660
28661