@halo-dev/richtext-editor 0.0.0-alpha.30 → 0.0.0-alpha.32
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 +13 -134
- package/dist/components/EditorBubbleMenu.vue.d.ts +4 -89
- package/dist/components/EditorHeader.vue.d.ts +5 -11
- package/dist/components/block/BlockActionButton.vue.d.ts +16 -13
- package/dist/components/block/BlockActionInput.vue.d.ts +13 -17
- package/dist/components/block/BlockActionSeparator.vue.d.ts +1 -1
- package/dist/components/block/BlockCard.vue.d.ts +29 -51
- package/dist/components/bubble/BubbleItem.vue.d.ts +74 -45
- package/dist/components/bubble/BubbleMenuPlugin.d.ts +53 -0
- package/dist/components/common/ColorPickerDropdown.vue.d.ts +26 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/toolbar/ToolbarItem.vue.d.ts +33 -42
- package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +33 -45
- package/dist/components/toolbox/ToolboxItem.vue.d.ts +33 -44
- package/dist/extensions/audio/AudioView.vue.d.ts +25 -56
- package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +58 -0
- package/dist/extensions/audio/index.d.ts +1 -0
- package/dist/extensions/blockquote/index.d.ts +3 -1
- package/dist/extensions/bold/index.d.ts +3 -1
- package/dist/extensions/bullet-list/index.d.ts +3 -1
- package/dist/extensions/code/index.d.ts +3 -1
- package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +25 -53
- package/dist/extensions/code-block/code-block.d.ts +1 -1
- package/dist/extensions/code-block/lowlight.d.ts +15 -1
- package/dist/extensions/color/ColorBubbleItem.vue.d.ts +38 -58
- package/dist/extensions/color/ColorToolbarItem.vue.d.ts +40 -57
- package/dist/extensions/color/index.d.ts +3 -1
- package/dist/extensions/columns/column.d.ts +3 -0
- package/dist/extensions/columns/columns.d.ts +15 -0
- package/dist/extensions/columns/index.d.ts +2 -0
- package/dist/extensions/commands-menu/CommandsView.vue.d.ts +8 -14
- package/dist/extensions/commands-menu/commands.d.ts +1 -1
- package/dist/extensions/draggable/index.d.ts +14 -0
- package/dist/extensions/heading/index.d.ts +3 -1
- package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +38 -59
- package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +40 -58
- package/dist/extensions/highlight/index.d.ts +3 -1
- package/dist/extensions/history/index.d.ts +3 -1
- package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +58 -0
- package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +13 -0
- package/dist/extensions/iframe/IframeView.vue.d.ts +25 -67
- package/dist/extensions/iframe/index.d.ts +1 -0
- package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +58 -0
- package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +58 -0
- package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +58 -0
- package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +58 -0
- package/dist/extensions/image/ImageView.vue.d.ts +25 -74
- package/dist/extensions/image/index.d.ts +3 -1
- package/dist/extensions/index.d.ts +7 -3
- package/dist/extensions/italic/index.d.ts +3 -1
- package/dist/extensions/link/LinkBubbleButton.vue.d.ts +36 -53
- package/dist/extensions/link/index.d.ts +3 -1
- package/dist/extensions/node-selected/index.d.ts +6 -0
- package/dist/extensions/ordered-list/index.d.ts +3 -1
- package/dist/extensions/paragraph/index.d.ts +4 -0
- package/dist/extensions/strike/index.d.ts +3 -1
- package/dist/extensions/subscript/index.d.ts +3 -1
- package/dist/extensions/superscript/index.d.ts +3 -1
- package/dist/extensions/table/index.d.ts +3 -1
- package/dist/extensions/table/table-cell.d.ts +6 -0
- package/dist/extensions/table/table-header.d.ts +6 -0
- package/dist/extensions/table/table-row.d.ts +2 -0
- package/dist/extensions/table/util.d.ts +27 -0
- package/dist/extensions/task-list/index.d.ts +3 -1
- package/dist/extensions/text/index.d.ts +3 -0
- package/dist/extensions/text-align/index.d.ts +3 -1
- package/dist/extensions/trailing-node/index.d.ts +9 -0
- package/dist/extensions/underline/index.d.ts +3 -1
- package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +58 -0
- package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +58 -0
- package/dist/extensions/video/VideoView.vue.d.ts +25 -71
- package/dist/extensions/video/index.d.ts +1 -0
- package/dist/rich-text-editor.es.js +9629 -7494
- package/dist/rich-text-editor.es.js.map +1 -1
- package/dist/rich-text-editor.iife.js +8867 -6732
- package/dist/rich-text-editor.iife.js.map +1 -1
- package/dist/style.css +334 -53
- package/dist/types/index.d.ts +117 -0
- package/dist/utils/delete-node.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -0
- package/package.json +51 -54
|
@@ -1,79 +1,61 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Component } from "vue";
|
|
2
|
+
import type { Editor } from "@tiptap/core";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
4
|
editor: {
|
|
3
|
-
type:
|
|
4
|
-
|
|
5
|
-
default: any;
|
|
5
|
+
type: import("vue").PropType<Editor>;
|
|
6
|
+
default: undefined;
|
|
6
7
|
};
|
|
7
|
-
|
|
8
|
-
type:
|
|
9
|
-
|
|
10
|
-
default: boolean;
|
|
8
|
+
title: {
|
|
9
|
+
type: import("vue").PropType<string>;
|
|
10
|
+
default: undefined;
|
|
11
11
|
};
|
|
12
12
|
disabled: {
|
|
13
|
-
type:
|
|
14
|
-
required: false;
|
|
13
|
+
type: import("vue").PropType<boolean>;
|
|
15
14
|
default: boolean;
|
|
16
15
|
};
|
|
17
|
-
|
|
18
|
-
type:
|
|
19
|
-
|
|
20
|
-
default: any;
|
|
21
|
-
};
|
|
22
|
-
action: {
|
|
23
|
-
type: FunctionConstructor;
|
|
24
|
-
required: false;
|
|
25
|
-
default: any;
|
|
16
|
+
isActive: {
|
|
17
|
+
type: import("vue").PropType<boolean>;
|
|
18
|
+
default: boolean;
|
|
26
19
|
};
|
|
27
20
|
icon: {
|
|
28
|
-
type:
|
|
29
|
-
|
|
30
|
-
default: any;
|
|
21
|
+
type: import("vue").PropType<Component>;
|
|
22
|
+
default: undefined;
|
|
31
23
|
};
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
ColorPickerDropdown: any;
|
|
38
|
-
readonly MdiFormatColorMarkerCancel: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
39
|
-
readonly i18n: any;
|
|
40
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
action: {
|
|
25
|
+
type: import("vue").PropType<() => void>;
|
|
26
|
+
default: undefined;
|
|
27
|
+
};
|
|
28
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
41
29
|
editor: {
|
|
42
|
-
type:
|
|
43
|
-
|
|
44
|
-
default: any;
|
|
30
|
+
type: import("vue").PropType<Editor>;
|
|
31
|
+
default: undefined;
|
|
45
32
|
};
|
|
46
|
-
|
|
47
|
-
type:
|
|
48
|
-
|
|
49
|
-
default: boolean;
|
|
33
|
+
title: {
|
|
34
|
+
type: import("vue").PropType<string>;
|
|
35
|
+
default: undefined;
|
|
50
36
|
};
|
|
51
37
|
disabled: {
|
|
52
|
-
type:
|
|
53
|
-
required: false;
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
54
39
|
default: boolean;
|
|
55
40
|
};
|
|
56
|
-
|
|
57
|
-
type:
|
|
58
|
-
|
|
59
|
-
default: any;
|
|
60
|
-
};
|
|
61
|
-
action: {
|
|
62
|
-
type: FunctionConstructor;
|
|
63
|
-
required: false;
|
|
64
|
-
default: any;
|
|
41
|
+
isActive: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
default: boolean;
|
|
65
44
|
};
|
|
66
45
|
icon: {
|
|
67
|
-
type:
|
|
68
|
-
|
|
69
|
-
|
|
46
|
+
type: import("vue").PropType<Component>;
|
|
47
|
+
default: undefined;
|
|
48
|
+
};
|
|
49
|
+
action: {
|
|
50
|
+
type: import("vue").PropType<() => void>;
|
|
51
|
+
default: undefined;
|
|
70
52
|
};
|
|
71
53
|
}>>, {
|
|
72
|
-
editor:
|
|
54
|
+
editor: Editor;
|
|
73
55
|
title: string;
|
|
74
|
-
isActive: boolean;
|
|
75
|
-
action: Function;
|
|
76
|
-
icon: any;
|
|
77
56
|
disabled: boolean;
|
|
78
|
-
|
|
79
|
-
|
|
57
|
+
isActive: boolean;
|
|
58
|
+
icon: Component;
|
|
59
|
+
action: () => void;
|
|
60
|
+
}, {}>;
|
|
61
|
+
export default _default;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { HighlightOptions } from "@tiptap/extension-highlight";
|
|
2
|
+
import type { ExtensionOptions } from '../../types';
|
|
3
|
+
declare const Highlight: import("@tiptap/core").Mark<ExtensionOptions & HighlightOptions, any>;
|
|
2
4
|
export default Highlight;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import type { HistoryOptions } from "@tiptap/extension-history";
|
|
2
|
+
import type { ExtensionOptions } from '../../types';
|
|
3
|
+
declare const History: import("@tiptap/core").Extension<ExtensionOptions & HistoryOptions, any>;
|
|
2
4
|
export default History;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
import { type Component } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: import("vue").PropType<Editor>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
isActive: {
|
|
9
|
+
type: import("vue").PropType<({ editor }: {
|
|
10
|
+
editor: Editor;
|
|
11
|
+
}) => boolean>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
visible: {
|
|
15
|
+
type: import("vue").PropType<({ editor }: {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
}) => boolean>;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import("vue").PropType<Component>;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
action: {
|
|
26
|
+
type: import("vue").PropType<({ editor }: {
|
|
27
|
+
editor: Editor;
|
|
28
|
+
}) => void>;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
editor: {
|
|
32
|
+
type: import("vue").PropType<Editor>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: import("vue").PropType<({ editor }: {
|
|
37
|
+
editor: Editor;
|
|
38
|
+
}) => boolean>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: import("vue").PropType<({ editor }: {
|
|
43
|
+
editor: Editor;
|
|
44
|
+
}) => boolean>;
|
|
45
|
+
};
|
|
46
|
+
icon: {
|
|
47
|
+
type: import("vue").PropType<Component>;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
action: {
|
|
53
|
+
type: import("vue").PropType<({ editor }: {
|
|
54
|
+
editor: Editor;
|
|
55
|
+
}) => void>;
|
|
56
|
+
};
|
|
57
|
+
}>>, {}, {}>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
editor: {
|
|
4
|
+
type: import("vue").PropType<Editor>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
editor: {
|
|
9
|
+
type: import("vue").PropType<Editor>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _default;
|
|
@@ -1,113 +1,71 @@
|
|
|
1
|
-
|
|
1
|
+
import type { Node as ProseMirrorNode } from "@tiptap/pm/model";
|
|
2
|
+
import type { Decoration } from "@tiptap/pm/view";
|
|
3
|
+
import type { Editor, Node } from "@tiptap/core";
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
5
|
editor: {
|
|
3
|
-
type:
|
|
6
|
+
type: import("vue").PropType<Editor>;
|
|
4
7
|
required: true;
|
|
5
8
|
};
|
|
6
9
|
node: {
|
|
7
|
-
type:
|
|
10
|
+
type: import("vue").PropType<ProseMirrorNode>;
|
|
8
11
|
required: true;
|
|
9
12
|
};
|
|
10
13
|
decorations: {
|
|
11
|
-
type:
|
|
14
|
+
type: import("vue").PropType<Decoration[]>;
|
|
12
15
|
required: true;
|
|
13
16
|
};
|
|
14
17
|
selected: {
|
|
15
|
-
type:
|
|
18
|
+
type: import("vue").PropType<boolean>;
|
|
16
19
|
required: true;
|
|
17
20
|
};
|
|
18
21
|
extension: {
|
|
19
|
-
type: any
|
|
22
|
+
type: import("vue").PropType<Node<any, any>>;
|
|
20
23
|
required: true;
|
|
21
24
|
};
|
|
22
25
|
getPos: {
|
|
23
|
-
type:
|
|
26
|
+
type: import("vue").PropType<() => number>;
|
|
24
27
|
required: true;
|
|
25
28
|
};
|
|
26
29
|
updateAttributes: {
|
|
27
|
-
type:
|
|
30
|
+
type: import("vue").PropType<(attributes: Record<string, any>) => void>;
|
|
28
31
|
required: true;
|
|
29
32
|
};
|
|
30
33
|
deleteNode: {
|
|
31
|
-
type:
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
}, {
|
|
35
|
-
props: any;
|
|
36
|
-
src: import("vue").WritableComputedRef<any>;
|
|
37
|
-
width: import("vue").WritableComputedRef<any>;
|
|
38
|
-
height: import("vue").WritableComputedRef<any>;
|
|
39
|
-
frameborder: import("vue").ComputedRef<any>;
|
|
40
|
-
handleSetFocus: () => void;
|
|
41
|
-
handleSetSize: (width: string, height: string) => void;
|
|
42
|
-
handleToggleFrameborder: () => void;
|
|
43
|
-
sizeMatch: (width: string, height: string) => boolean;
|
|
44
|
-
handleOpenLink: () => void;
|
|
45
|
-
frameRef: import("vue").Ref<any>;
|
|
46
|
-
handleRefresh: () => void;
|
|
47
|
-
inputRef: import("vue").Ref<any>;
|
|
48
|
-
readonly NodeViewWrapper: import("vue").DefineComponent<{
|
|
49
|
-
as: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
}, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
as: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
}>>, {
|
|
59
|
-
as: string;
|
|
60
|
-
}>;
|
|
61
|
-
readonly VDropdown: any;
|
|
62
|
-
BlockCard: any;
|
|
63
|
-
BlockActionButton: any;
|
|
64
|
-
BlockActionInput: any;
|
|
65
|
-
BlockActionSeparator: any;
|
|
66
|
-
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
67
|
-
readonly MdiShare: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
68
|
-
readonly MdiCellphoneIphone: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
69
|
-
readonly MdiTabletIpad: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
70
|
-
readonly MdiDesktopMac: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
71
|
-
readonly MdiBorderAllVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
72
|
-
readonly MdiBorderNoneVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
73
|
-
readonly MdiFormatAlignLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
74
|
-
readonly MdiFormatAlignCenter: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
75
|
-
readonly MdiFormatAlignRight: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
76
|
-
readonly MdiFormatAlignJustify: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
77
|
-
readonly MdiWebSync: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
78
|
-
readonly i18n: any;
|
|
79
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
type: import("vue").PropType<() => void>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
38
|
editor: {
|
|
81
|
-
type:
|
|
39
|
+
type: import("vue").PropType<Editor>;
|
|
82
40
|
required: true;
|
|
83
41
|
};
|
|
84
42
|
node: {
|
|
85
|
-
type:
|
|
43
|
+
type: import("vue").PropType<ProseMirrorNode>;
|
|
86
44
|
required: true;
|
|
87
45
|
};
|
|
88
46
|
decorations: {
|
|
89
|
-
type:
|
|
47
|
+
type: import("vue").PropType<Decoration[]>;
|
|
90
48
|
required: true;
|
|
91
49
|
};
|
|
92
50
|
selected: {
|
|
93
|
-
type:
|
|
51
|
+
type: import("vue").PropType<boolean>;
|
|
94
52
|
required: true;
|
|
95
53
|
};
|
|
96
54
|
extension: {
|
|
97
|
-
type: any
|
|
55
|
+
type: import("vue").PropType<Node<any, any>>;
|
|
98
56
|
required: true;
|
|
99
57
|
};
|
|
100
58
|
getPos: {
|
|
101
|
-
type:
|
|
59
|
+
type: import("vue").PropType<() => number>;
|
|
102
60
|
required: true;
|
|
103
61
|
};
|
|
104
62
|
updateAttributes: {
|
|
105
|
-
type:
|
|
63
|
+
type: import("vue").PropType<(attributes: Record<string, any>) => void>;
|
|
106
64
|
required: true;
|
|
107
65
|
};
|
|
108
66
|
deleteNode: {
|
|
109
|
-
type:
|
|
67
|
+
type: import("vue").PropType<() => void>;
|
|
110
68
|
required: true;
|
|
111
69
|
};
|
|
112
|
-
}>>, {}>;
|
|
113
|
-
export default
|
|
70
|
+
}>>, {}, {}>;
|
|
71
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
import { type Component } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: import("vue").PropType<Editor>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
isActive: {
|
|
9
|
+
type: import("vue").PropType<({ editor }: {
|
|
10
|
+
editor: Editor;
|
|
11
|
+
}) => boolean>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
visible: {
|
|
15
|
+
type: import("vue").PropType<({ editor }: {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
}) => boolean>;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import("vue").PropType<Component>;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
action: {
|
|
26
|
+
type: import("vue").PropType<({ editor }: {
|
|
27
|
+
editor: Editor;
|
|
28
|
+
}) => void>;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
editor: {
|
|
32
|
+
type: import("vue").PropType<Editor>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: import("vue").PropType<({ editor }: {
|
|
37
|
+
editor: Editor;
|
|
38
|
+
}) => boolean>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: import("vue").PropType<({ editor }: {
|
|
43
|
+
editor: Editor;
|
|
44
|
+
}) => boolean>;
|
|
45
|
+
};
|
|
46
|
+
icon: {
|
|
47
|
+
type: import("vue").PropType<Component>;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
action: {
|
|
53
|
+
type: import("vue").PropType<({ editor }: {
|
|
54
|
+
editor: Editor;
|
|
55
|
+
}) => void>;
|
|
56
|
+
};
|
|
57
|
+
}>>, {}, {}>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/vue-3";
|
|
2
|
+
import { type Component } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: import("vue").PropType<Editor>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
isActive: {
|
|
9
|
+
type: import("vue").PropType<({ editor }: {
|
|
10
|
+
editor: Editor;
|
|
11
|
+
}) => boolean>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
visible: {
|
|
15
|
+
type: import("vue").PropType<({ editor }: {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
}) => boolean>;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import("vue").PropType<Component>;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
action: {
|
|
26
|
+
type: import("vue").PropType<({ editor }: {
|
|
27
|
+
editor: Editor;
|
|
28
|
+
}) => void>;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
editor: {
|
|
32
|
+
type: import("vue").PropType<Editor>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: import("vue").PropType<({ editor }: {
|
|
37
|
+
editor: Editor;
|
|
38
|
+
}) => boolean>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: import("vue").PropType<({ editor }: {
|
|
43
|
+
editor: Editor;
|
|
44
|
+
}) => boolean>;
|
|
45
|
+
};
|
|
46
|
+
icon: {
|
|
47
|
+
type: import("vue").PropType<Component>;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
action: {
|
|
53
|
+
type: import("vue").PropType<({ editor }: {
|
|
54
|
+
editor: Editor;
|
|
55
|
+
}) => void>;
|
|
56
|
+
};
|
|
57
|
+
}>>, {}, {}>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
import { type Component } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: import("vue").PropType<Editor>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
isActive: {
|
|
9
|
+
type: import("vue").PropType<({ editor }: {
|
|
10
|
+
editor: Editor;
|
|
11
|
+
}) => boolean>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
visible: {
|
|
15
|
+
type: import("vue").PropType<({ editor }: {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
}) => boolean>;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import("vue").PropType<Component>;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
action: {
|
|
26
|
+
type: import("vue").PropType<({ editor }: {
|
|
27
|
+
editor: Editor;
|
|
28
|
+
}) => void>;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
editor: {
|
|
32
|
+
type: import("vue").PropType<Editor>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: import("vue").PropType<({ editor }: {
|
|
37
|
+
editor: Editor;
|
|
38
|
+
}) => boolean>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: import("vue").PropType<({ editor }: {
|
|
43
|
+
editor: Editor;
|
|
44
|
+
}) => boolean>;
|
|
45
|
+
};
|
|
46
|
+
icon: {
|
|
47
|
+
type: import("vue").PropType<Component>;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
action: {
|
|
53
|
+
type: import("vue").PropType<({ editor }: {
|
|
54
|
+
editor: Editor;
|
|
55
|
+
}) => void>;
|
|
56
|
+
};
|
|
57
|
+
}>>, {}, {}>;
|
|
58
|
+
export default _default;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Editor } from "@tiptap/core";
|
|
2
|
+
import { type Component } from "vue";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
editor: {
|
|
5
|
+
type: import("vue").PropType<Editor>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
isActive: {
|
|
9
|
+
type: import("vue").PropType<({ editor }: {
|
|
10
|
+
editor: Editor;
|
|
11
|
+
}) => boolean>;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
visible: {
|
|
15
|
+
type: import("vue").PropType<({ editor }: {
|
|
16
|
+
editor: Editor;
|
|
17
|
+
}) => boolean>;
|
|
18
|
+
};
|
|
19
|
+
icon: {
|
|
20
|
+
type: import("vue").PropType<Component>;
|
|
21
|
+
};
|
|
22
|
+
title: {
|
|
23
|
+
type: import("vue").PropType<string>;
|
|
24
|
+
};
|
|
25
|
+
action: {
|
|
26
|
+
type: import("vue").PropType<({ editor }: {
|
|
27
|
+
editor: Editor;
|
|
28
|
+
}) => void>;
|
|
29
|
+
};
|
|
30
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
editor: {
|
|
32
|
+
type: import("vue").PropType<Editor>;
|
|
33
|
+
required: true;
|
|
34
|
+
};
|
|
35
|
+
isActive: {
|
|
36
|
+
type: import("vue").PropType<({ editor }: {
|
|
37
|
+
editor: Editor;
|
|
38
|
+
}) => boolean>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
visible: {
|
|
42
|
+
type: import("vue").PropType<({ editor }: {
|
|
43
|
+
editor: Editor;
|
|
44
|
+
}) => boolean>;
|
|
45
|
+
};
|
|
46
|
+
icon: {
|
|
47
|
+
type: import("vue").PropType<Component>;
|
|
48
|
+
};
|
|
49
|
+
title: {
|
|
50
|
+
type: import("vue").PropType<string>;
|
|
51
|
+
};
|
|
52
|
+
action: {
|
|
53
|
+
type: import("vue").PropType<({ editor }: {
|
|
54
|
+
editor: Editor;
|
|
55
|
+
}) => void>;
|
|
56
|
+
};
|
|
57
|
+
}>>, {}, {}>;
|
|
58
|
+
export default _default;
|