@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 +2 -1
- package/index-cjs.js.map +1 -1
- package/index.js +2 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -28078,6 +28078,7 @@ class DocEditor {
|
|
28078
28078
|
const index = docRender.getIndex();
|
28079
28079
|
const cursorPos = DocumentCursor.getElementCursorPos(ele, 0, region, index);
|
28080
28080
|
//this.selectionState.resetRange(element, 0);
|
28081
|
+
this.documentEvent.mousedownPos = cursorPos.rect;
|
28081
28082
|
this.scrollToPosition(cursorPos.rect);
|
28082
28083
|
}
|
28083
28084
|
}
|
@@ -28625,7 +28626,7 @@ class DocEditor {
|
|
28625
28626
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
28626
28627
|
}
|
28627
28628
|
version() {
|
28628
|
-
return "2.1.
|
28629
|
+
return "2.1.5";
|
28629
28630
|
}
|
28630
28631
|
}
|
28631
28632
|
|