@hailin-zheng/editor-core 2.2.38 → 2.2.39
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 +6 -1
- package/index-cjs.js.map +1 -1
- package/index.js +6 -1
- package/index.js.map +1 -1
- package/med_editor/framework/element-event-define.d.ts +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17881,6 +17881,11 @@ class DocumentInput {
|
|
17881
17881
|
this.onPasteEvent.next(evt);
|
17882
17882
|
},
|
17883
17883
|
cut: (evt) => {
|
17884
|
+
const event = new CopyElementEvent(this.docCtx);
|
17885
|
+
event.sourceEvent = evt;
|
17886
|
+
if (DocumentEvent.invokeEvent('ElementCut', this.docCtx.selectionState.startControl, event, 'All')) {
|
17887
|
+
return;
|
17888
|
+
}
|
17884
17889
|
this.onCutEvent.next(evt);
|
17885
17890
|
}
|
17886
17891
|
};
|
@@ -23512,7 +23517,7 @@ class DocEditor {
|
|
23512
23517
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
23513
23518
|
}
|
23514
23519
|
version() {
|
23515
|
-
return "2.2.
|
23520
|
+
return "2.2.39";
|
23516
23521
|
}
|
23517
23522
|
switchPageHeaderEditor() {
|
23518
23523
|
this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
|