@hailin-zheng/editor-core 2.2.12 → 2.2.13
Sign up to get free protection for your applications and to get access to all the features.
- 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/index.js
CHANGED
@@ -20925,7 +20925,7 @@ class DocEditor {
|
|
20925
20925
|
this.editInput.readOnly = true;
|
20926
20926
|
this.editInput.style.width = "0";
|
20927
20927
|
//this.editInput.style.display = 'none';
|
20928
|
-
!reset && this.editInput.focus();
|
20928
|
+
!reset && this.editInput.focus({ preventScroll: true });
|
20929
20929
|
}
|
20930
20930
|
/**
|
20931
20931
|
* 设置光标位置
|
@@ -22053,7 +22053,7 @@ class DocEditor {
|
|
22053
22053
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
22054
22054
|
}
|
22055
22055
|
version() {
|
22056
|
-
return "2.2.
|
22056
|
+
return "2.2.13";
|
22057
22057
|
}
|
22058
22058
|
switchPageHeaderEditor() {
|
22059
22059
|
this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
|