@hailin-zheng/editor-core 2.2.38 → 2.2.40
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 +7 -1
- package/index-cjs.js.map +1 -1
- package/index.js +7 -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
|
};
|
@@ -20932,6 +20937,7 @@ class EditorCalendarVNode {
|
|
20932
20937
|
on: {
|
20933
20938
|
click: () => {
|
20934
20939
|
this.onSetValue.next(undefined);
|
20940
|
+
this.clear();
|
20935
20941
|
}
|
20936
20942
|
}
|
20937
20943
|
},
|
@@ -23541,7 +23547,7 @@ class DocEditor {
|
|
23541
23547
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
23542
23548
|
}
|
23543
23549
|
version() {
|
23544
|
-
return "2.2.
|
23550
|
+
return "2.2.40";
|
23545
23551
|
}
|
23546
23552
|
switchPageHeaderEditor() {
|
23547
23553
|
this.docCtx.document.switchPageHeaderEditor(this.selectionState, null);
|