@halo-dev/richtext-editor 2.12.0 → 2.14.0
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/dist/components/Editor.vue.d.ts +2 -1
- package/dist/components/EditorBubbleMenu.vue.d.ts +1 -1
- package/dist/components/EditorHeader.vue.d.ts +1 -1
- package/dist/components/block/BlockActionButton.vue.d.ts +1 -1
- package/dist/components/block/BlockActionInput.vue.d.ts +1 -1
- package/dist/components/block/BlockActionSeparator.vue.d.ts +1 -1
- package/dist/components/block/BlockCard.vue.d.ts +1 -1
- package/dist/components/bubble/BubbleItem.vue.d.ts +1 -1
- package/dist/components/common/ColorPickerDropdown.vue.d.ts +1 -1
- package/dist/components/icon/MdiDeleteForeverOutline.vue.d.ts +1 -1
- package/dist/components/toolbar/ToolbarItem.vue.d.ts +1 -1
- package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +1 -1
- package/dist/components/toolbox/ToolboxItem.vue.d.ts +1 -1
- package/dist/extensions/audio/AudioView.vue.d.ts +1 -1
- package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +1 -1
- package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +1 -1
- package/dist/extensions/color/ColorBubbleItem.vue.d.ts +1 -1
- package/dist/extensions/color/ColorToolbarItem.vue.d.ts +1 -1
- package/dist/extensions/commands-menu/CommandsView.vue.d.ts +1 -1
- package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +1 -1
- package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +1 -1
- package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +1 -1
- package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +1 -1
- package/dist/extensions/iframe/IframeView.vue.d.ts +1 -1
- package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +1 -1
- package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +1 -1
- package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +1 -1
- package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +1 -1
- package/dist/extensions/image/ImageView.vue.d.ts +1 -1
- package/dist/extensions/index.d.ts +1 -1
- package/dist/extensions/link/LinkBubbleButton.vue.d.ts +1 -1
- package/dist/extensions/link/index.d.ts +1 -1
- package/dist/extensions/search-and-replace/SearchAndReplace.vue.d.ts +1 -1
- package/dist/extensions/search-and-replace/SearchAndReplacePlugin.d.ts +1 -0
- package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +1 -1
- package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +1 -1
- package/dist/extensions/video/VideoView.vue.d.ts +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/rich-text-editor.es.js +15326 -16127
- package/dist/rich-text-editor.iife.js +57 -62
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +3 -2
- package/package.json +42 -42
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
required: false;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
18
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
19
|
editor: {
|
|
20
20
|
type: PropType<Editor>;
|
|
21
21
|
required: true;
|
|
@@ -34,6 +34,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
34
|
locale: "en" | "zh-CN" | "zh" | "en-US";
|
|
35
35
|
contentStyles: CSSProperties;
|
|
36
36
|
}, {}>, {
|
|
37
|
+
content?(_: {}): any;
|
|
37
38
|
extra?(_: {}): any;
|
|
38
39
|
}>;
|
|
39
40
|
export default _default;
|
|
@@ -5,7 +5,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
5
5
|
type: PropType<Editor>;
|
|
6
6
|
required: true;
|
|
7
7
|
};
|
|
8
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
9
|
editor: {
|
|
10
10
|
type: PropType<Editor>;
|
|
11
11
|
required: true;
|
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4
4
|
type: typeof Editor;
|
|
5
5
|
required: true;
|
|
6
6
|
};
|
|
7
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
8
|
editor: {
|
|
9
9
|
type: typeof Editor;
|
|
10
10
|
required: true;
|
|
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
}>, {
|
|
5
5
|
tooltip: undefined;
|
|
6
6
|
selected: boolean;
|
|
7
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
7
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
tooltip?: string | undefined;
|
|
9
9
|
selected?: boolean | undefined;
|
|
10
10
|
}>, {
|
|
@@ -6,7 +6,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
6
6
|
tooltip: undefined;
|
|
7
7
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
8
8
|
"update:modelValue": (value: string) => void;
|
|
9
|
-
}, string, import("vue").
|
|
9
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
tooltip?: string | undefined;
|
|
11
11
|
modelValue?: string | undefined;
|
|
12
12
|
}>, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
6
6
|
deleteNode: () => void;
|
|
7
7
|
}>, {
|
|
8
8
|
selected: boolean;
|
|
9
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
9
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
10
|
selected: boolean;
|
|
11
11
|
editor: Editor;
|
|
12
12
|
getPos: () => number;
|
|
@@ -21,7 +21,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
21
21
|
action: undefined;
|
|
22
22
|
icon: undefined;
|
|
23
23
|
iconStyle: undefined;
|
|
24
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
25
25
|
editor: Editor;
|
|
26
26
|
isActive?: (({ editor }: {
|
|
27
27
|
editor: Editor;
|
|
@@ -4,7 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
modelValue: undefined;
|
|
5
5
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
6
|
"update:modelValue": (value?: string | undefined) => void;
|
|
7
|
-
}, string, import("vue").
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
8
8
|
modelValue?: string | undefined;
|
|
9
9
|
}>, {
|
|
10
10
|
modelValue: undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
2
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
title: undefined;
|
|
12
12
|
action: undefined;
|
|
13
13
|
icon: undefined;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
15
|
isActive?: boolean | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
title?: string | undefined;
|
|
@@ -11,7 +11,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
title: undefined;
|
|
12
12
|
action: undefined;
|
|
13
13
|
icon: undefined;
|
|
14
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
14
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
15
15
|
isActive?: boolean | undefined;
|
|
16
16
|
disabled?: boolean | undefined;
|
|
17
17
|
title?: string | undefined;
|
|
@@ -12,7 +12,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
12
12
|
description: undefined;
|
|
13
13
|
action: undefined;
|
|
14
14
|
icon: undefined;
|
|
15
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
16
|
editor?: Editor | undefined;
|
|
17
17
|
title?: string | undefined;
|
|
18
18
|
description?: string | undefined;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
getPos: () => number;
|
|
10
10
|
updateAttributes: (attributes: Record<string, any>) => void;
|
|
11
11
|
deleteNode: () => void;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
editor: Editor;
|
|
14
14
|
node: ProseMirrorNode;
|
|
15
15
|
decorations: Decoration[];
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
getPos: () => number;
|
|
10
10
|
updateAttributes: (attributes: Record<string, any>) => void;
|
|
11
11
|
deleteNode: () => void;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
editor: Editor;
|
|
14
14
|
node: ProseMirrorNode;
|
|
15
15
|
decorations: Decoration[];
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
title: undefined;
|
|
15
15
|
action: undefined;
|
|
16
16
|
icon: undefined;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
18
|
editor?: Editor | undefined;
|
|
19
19
|
isActive?: boolean | undefined;
|
|
20
20
|
disabled?: boolean | undefined;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
};
|
|
15
15
|
}, {
|
|
16
16
|
onKeyDown: typeof onKeyDown;
|
|
17
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
items: {
|
|
19
19
|
type: PropType<CommandMenuItem[]>;
|
|
20
20
|
required: true;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
14
14
|
title: undefined;
|
|
15
15
|
action: undefined;
|
|
16
16
|
icon: undefined;
|
|
17
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
18
|
editor?: Editor | undefined;
|
|
19
19
|
isActive?: boolean | undefined;
|
|
20
20
|
disabled?: boolean | undefined;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
3
|
editor: Editor;
|
|
4
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
4
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
5
5
|
editor: Editor;
|
|
6
6
|
}>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
getPos: () => number;
|
|
10
10
|
updateAttributes: (attributes: Record<string, any>) => void;
|
|
11
11
|
deleteNode: () => void;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
editor: Editor;
|
|
14
14
|
node: ProseMirrorNode;
|
|
15
15
|
decorations: Decoration[];
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive?: (({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
getPos: () => number;
|
|
10
10
|
updateAttributes: (attributes: Record<string, any>) => void;
|
|
11
11
|
deleteNode: () => void;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
editor: Editor;
|
|
14
14
|
node: ProseMirrorNode;
|
|
15
15
|
decorations: Decoration[];
|
|
@@ -27,7 +27,7 @@ import ExtensionDocument from "@tiptap/extension-document";
|
|
|
27
27
|
import ExtensionParagraph from "./paragraph";
|
|
28
28
|
import ExtensionPlaceholder from "@tiptap/extension-placeholder";
|
|
29
29
|
import { ExtensionCommands } from "../extensions/commands-menu";
|
|
30
|
-
import { ExtensionCodeBlock, lowlight } from '
|
|
30
|
+
import { ExtensionCodeBlock, lowlight } from './code-block';
|
|
31
31
|
import ExtensionIframe from "./iframe";
|
|
32
32
|
import ExtensionVideo from "./video";
|
|
33
33
|
import ExtensionAudio from "./audio";
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { LinkOptions } from "@tiptap/extension-link";
|
|
2
2
|
import type { ExtensionOptions } from '../../types';
|
|
3
|
-
declare const Link: import(
|
|
3
|
+
declare const Link: import('../../tiptap/vue-3').Mark<ExtensionOptions & LinkOptions, any>;
|
|
4
4
|
export default Link;
|
|
@@ -14,7 +14,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
type: BooleanConstructor;
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
17
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
18
|
editor: {
|
|
19
19
|
type: PropType<Editor>;
|
|
20
20
|
required: true;
|
|
@@ -15,6 +15,7 @@ export declare class SearchAndReplacePluginView {
|
|
|
15
15
|
editor: Editor;
|
|
16
16
|
view: EditorView;
|
|
17
17
|
containerElement: HTMLElement;
|
|
18
|
+
init: boolean;
|
|
18
19
|
constructor({ view, editor, element }: SearchAndReplacePluginViewProps);
|
|
19
20
|
update(): boolean;
|
|
20
21
|
destroy(): boolean;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive: ({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
13
13
|
action?: (({ editor }: {
|
|
14
14
|
editor: Editor;
|
|
15
15
|
}) => void) | undefined;
|
|
16
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
16
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
17
17
|
editor: Editor;
|
|
18
18
|
isActive?: (({ editor }: {
|
|
19
19
|
editor: Editor;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimePr
|
|
|
9
9
|
getPos: () => number;
|
|
10
10
|
updateAttributes: (attributes: Record<string, any>) => void;
|
|
11
11
|
deleteNode: () => void;
|
|
12
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
13
13
|
editor: Editor;
|
|
14
14
|
node: ProseMirrorNode;
|
|
15
15
|
decorations: Decoration[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import type { Plugin } from "vue";
|
|
2
|
+
import "./styles/index.scss";
|
|
3
|
+
import "./styles/tailwind.css";
|
|
4
|
+
import "floating-vue/dist/style.css";
|
|
5
|
+
import "github-markdown-css/github-markdown-light.css";
|
|
6
|
+
import "highlight.js/styles/github-dark.css";
|
|
2
7
|
declare const plugin: Plugin;
|
|
3
8
|
export default plugin;
|
|
4
9
|
export * from "./tiptap";
|