@hailin-zheng/editor-core 2.0.53 → 2.0.54
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 +3 -3
- package/index-cjs.js.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -28145,7 +28145,7 @@ class DocEditor {
|
|
28145
28145
|
const editor = this;
|
28146
28146
|
return {
|
28147
28147
|
render() {
|
28148
|
-
if (editor.viewOptions.docMode === DocMode.View || !editor.selectionState.editable) {
|
28148
|
+
if (editor.viewOptions.docMode === DocMode.View || !editor.selectionState.editable || editor.documentEvent.ismousedown) {
|
28149
28149
|
return null;
|
28150
28150
|
}
|
28151
28151
|
const dataEle = editor.getCurrentDataElement();
|
@@ -28288,7 +28288,7 @@ class DocEditor {
|
|
28288
28288
|
});
|
28289
28289
|
return {
|
28290
28290
|
render() {
|
28291
|
-
if (editor.viewOptions.docMode === DocMode.View || !editor.selectionState.editable) {
|
28291
|
+
if (editor.viewOptions.docMode === DocMode.View || !editor.selectionState.editable || editor.documentEvent.ismousedown) {
|
28292
28292
|
return null;
|
28293
28293
|
}
|
28294
28294
|
const dataEle = editor.getCurrentDataElement();
|
@@ -28362,7 +28362,7 @@ class DocEditor {
|
|
28362
28362
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
28363
28363
|
}
|
28364
28364
|
version() {
|
28365
|
-
return "2.0.
|
28365
|
+
return "2.0.54";
|
28366
28366
|
}
|
28367
28367
|
}
|
28368
28368
|
|