@hailin-zheng/editor-core 2.2.12 → 2.2.13
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/editor.css +1 -0
- package/index-cjs.js +2 -2
- package/index-cjs.js.map +1 -1
- package/index.js +2 -2
- package/index.js.map +1 -1
- package/package.json +1 -1
package/editor.css
CHANGED
package/index-cjs.js
CHANGED
|
@@ -20954,7 +20954,7 @@ class DocEditor {
|
|
|
20954
20954
|
this.editInput.readOnly = true;
|
|
20955
20955
|
this.editInput.style.width = "0";
|
|
20956
20956
|
//this.editInput.style.display = 'none';
|
|
20957
|
-
!reset && this.editInput.focus();
|
|
20957
|
+
!reset && this.editInput.focus({ preventScroll: true });
|
|
20958
20958
|
}
|
|
20959
20959
|
/**
|
|
20960
20960
|
* 设置光标位置
|
|
@@ -22082,7 +22082,7 @@ class DocEditor {
|
|
|
22082
22082
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
|
22083
22083
|
}
|
|
22084
22084
|
version() {
|
|
22085
|
-
return "2.2.
|
|
22085
|
+
return "2.2.13";
|
|
22086
22086
|
}
|
|
22087
22087
|
switchPageHeaderEditor() {
|
|
22088
22088
|
this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
|