@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 +4 -1
- package/index-cjs.js.map +1 -1
- package/index.js +4 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -6968,6 +6968,9 @@ class DocumentSelection {
|
|
6968
6968
|
if (!this.snapshotSelectionState) {
|
6969
6969
|
return true;
|
6970
6970
|
}
|
6971
|
+
if (this.selectionState.editable !== this.snapshotSelectionState.editable) {
|
6972
|
+
return true;
|
6973
|
+
}
|
6971
6974
|
if (this.selectionState.startControl !== this.snapshotSelectionState.startControl || this.selectionState.startOffset !== this.snapshotSelectionState.startOffset) {
|
6972
6975
|
return true;
|
6973
6976
|
}
|
@@ -23112,7 +23115,7 @@ class DocEditor {
|
|
23112
23115
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
23113
23116
|
}
|
23114
23117
|
version() {
|
23115
|
-
return "2.2.
|
23118
|
+
return "2.2.28";
|
23116
23119
|
}
|
23117
23120
|
switchPageHeaderEditor() {
|
23118
23121
|
this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
|