@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 CHANGED
@@ -23,6 +23,7 @@
23
23
  padding: 6px 4px;
24
24
  display: flex;
25
25
  align-items: center;
26
+ font-size: 14px;
26
27
  gap: 10px;
27
28
  border-bottom: 1px solid #ccc;
28
29
  cursor: default;
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.12";
22085
+ return "2.2.13";
22086
22086
  }
22087
22087
  switchPageHeaderEditor() {
22088
22088
  this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);