vue-editify 0.1.25 → 0.1.27
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/lib/editify/editify.vue.d.ts +2 -9
- package/lib/editify.es.js +271 -279
- package/lib/editify.umd.js +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/plugins/attachment/index.d.ts +1 -1
- package/lib/plugins/attachment/insertAttachment/insertAttachment.vue.d.ts +3 -3
- package/lib/plugins/attachment/insertAttachment/props.d.ts +1 -1
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/src/components/insertImage/insertImage.less +1 -0
- package/src/components/insertVideo/insertVideo.less +1 -0
- package/src/editify/editify.vue +17 -6
- package/src/index.ts +6 -4
- package/src/locale/en_US.ts +3 -2
- package/src/locale/zh_CN.ts +4 -3
- package/src/plugins/attachment/index.ts +43 -29
- package/src/plugins/attachment/insertAttachment/insertAttachment.less +48 -19
- package/src/plugins/attachment/insertAttachment/insertAttachment.vue +26 -56
- package/src/plugins/attachment/insertAttachment/props.ts +1 -1
- package/vite.config.ts.timestamp-1714200628309-967ea10c27215.mjs +48 -0
- package/src/plugins/attachment/images/attachment.png +0 -0
@@ -128,7 +128,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
128
128
|
customFilePaste: ((file: File) => void | Promise<void>) | null;
|
129
129
|
customMerge: ((mergeElement: AlexElement, targetElement: AlexElement) => void | Promise<void>) | null;
|
130
130
|
customParseNode: ((el: AlexElement) => AlexElement) | null;
|
131
|
-
useClipboard: boolean;
|
132
131
|
history: {
|
133
132
|
records: {
|
134
133
|
stack: {
|
@@ -419,14 +418,6 @@ declare const _default: import('vue').DefineComponent<{
|
|
419
418
|
__innerSelectionChange: boolean;
|
420
419
|
__chineseInputTimer: any;
|
421
420
|
initRange: () => void;
|
422
|
-
copy: (isCut?: boolean | undefined) => Promise<{
|
423
|
-
text: string;
|
424
|
-
html: string;
|
425
|
-
} | undefined>;
|
426
|
-
cut: () => Promise<{
|
427
|
-
text: string;
|
428
|
-
html: string;
|
429
|
-
} | undefined>;
|
430
421
|
delete: () => void;
|
431
422
|
insertText: (data: string) => void;
|
432
423
|
insertParagraph: () => void;
|
@@ -558,6 +549,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
558
549
|
blur: (...args: any[]) => void;
|
559
550
|
focus: (...args: any[]) => void;
|
560
551
|
keydown: (...args: any[]) => void;
|
552
|
+
keyup: (...args: any[]) => void;
|
561
553
|
insertparagraph: (...args: any[]) => void;
|
562
554
|
rangeupdate: (...args: any[]) => void;
|
563
555
|
updateview: (...args: any[]) => void;
|
@@ -676,6 +668,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
676
668
|
onBlur?: ((...args: any[]) => any) | undefined;
|
677
669
|
onChange?: ((...args: any[]) => any) | undefined;
|
678
670
|
onKeydown?: ((...args: any[]) => any) | undefined;
|
671
|
+
onKeyup?: ((...args: any[]) => any) | undefined;
|
679
672
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
680
673
|
onInsertparagraph?: ((...args: any[]) => any) | undefined;
|
681
674
|
onRangeupdate?: ((...args: any[]) => any) | undefined;
|