@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-cjs.js
CHANGED
@@ -17910,6 +17910,11 @@ class DocumentInput {
|
|
17910
17910
|
this.onPasteEvent.next(evt);
|
17911
17911
|
},
|
17912
17912
|
cut: (evt) => {
|
17913
|
+
const event = new CopyElementEvent(this.docCtx);
|
17914
|
+
event.sourceEvent = evt;
|
17915
|
+
if (DocumentEvent.invokeEvent('ElementCut', this.docCtx.selectionState.startControl, event, 'All')) {
|
17916
|
+
return;
|
17917
|
+
}
|
17913
17918
|
this.onCutEvent.next(evt);
|
17914
17919
|
}
|
17915
17920
|
};
|
@@ -23541,7 +23546,7 @@ class DocEditor {
|
|
23541
23546
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
23542
23547
|
}
|
23543
23548
|
version() {
|
23544
|
-
return "2.2.
|
23549
|
+
return "2.2.39";
|
23545
23550
|
}
|
23546
23551
|
switchPageHeaderEditor() {
|
23547
23552
|
this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
|