@hailin-zheng/editor-core 2.2.27 → 2.2.28

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 CHANGED
@@ -6997,6 +6997,9 @@ class DocumentSelection {
6997
6997
  if (!this.snapshotSelectionState) {
6998
6998
  return true;
6999
6999
  }
7000
+ if (this.selectionState.editable !== this.snapshotSelectionState.editable) {
7001
+ return true;
7002
+ }
7000
7003
  if (this.selectionState.startControl !== this.snapshotSelectionState.startControl || this.selectionState.startOffset !== this.snapshotSelectionState.startOffset) {
7001
7004
  return true;
7002
7005
  }
@@ -23141,7 +23144,7 @@ class DocEditor {
23141
23144
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
23142
23145
  }
23143
23146
  version() {
23144
- return "2.2.27";
23147
+ return "2.2.28";
23145
23148
  }
23146
23149
  switchPageHeaderEditor() {
23147
23150
  this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);