@halo-dev/richtext-editor 0.0.0-alpha.22 → 0.0.0-alpha.23
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/EditorHeader.vue.d.ts +10 -12
- package/dist/components/block/BlockCard.vue.d.ts +2 -2
- package/dist/components/bubble/BubbleItem.vue.d.ts +60 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/toolbar/ToolbarItem.vue.d.ts +60 -0
- package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +63 -0
- package/dist/extensions/audio/AudioView.vue.d.ts +5 -5
- package/dist/extensions/audio/index.d.ts +1 -1
- package/dist/extensions/blockquote/index.d.ts +2 -0
- package/dist/extensions/bold/index.d.ts +2 -0
- package/dist/extensions/bullet-list/index.d.ts +2 -0
- package/dist/extensions/code/index.d.ts +2 -0
- package/dist/extensions/code-block/code-block.d.ts +1 -1
- package/dist/extensions/commands-menu/CommandsView.vue.d.ts +4 -5
- package/dist/extensions/commands-menu/index.d.ts +0 -2
- package/dist/extensions/heading/index.d.ts +2 -0
- package/dist/extensions/highlight/index.d.ts +2 -0
- package/dist/extensions/history/index.d.ts +2 -0
- package/dist/extensions/iframe/IframeView.vue.d.ts +6 -6
- package/dist/extensions/iframe/index.d.ts +1 -1
- package/dist/extensions/image/ImageView.vue.d.ts +13 -4
- package/dist/extensions/index.d.ts +20 -23
- package/dist/extensions/italic/index.d.ts +2 -0
- package/dist/extensions/link/LinkBubbleButton.vue.d.ts +75 -0
- package/dist/extensions/link/index.d.ts +2 -0
- package/dist/extensions/ordered-list/index.d.ts +2 -0
- package/dist/extensions/strike/index.d.ts +2 -0
- package/dist/extensions/subscript/index.d.ts +2 -0
- package/dist/extensions/superscript/index.d.ts +2 -0
- package/dist/extensions/table/index.d.ts +1 -1
- package/dist/extensions/task-list/index.d.ts +2 -0
- package/dist/extensions/text-align/index.d.ts +2 -0
- package/dist/extensions/underline/index.d.ts +2 -0
- package/dist/extensions/video/VideoView.vue.d.ts +10 -10
- package/dist/extensions/video/index.d.ts +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/rich-text-editor.es.js +24841 -23670
- package/dist/rich-text-editor.es.js.map +1 -1
- package/dist/rich-text-editor.iife.js +24275 -23104
- package/dist/rich-text-editor.iife.js.map +1 -1
- package/dist/style.css +1041 -572
- package/package.json +48 -47
- package/dist/components/EditorLinkBubbleMenuItems.vue.d.ts +0 -24
- package/dist/extensions/commands-menu/suggestion.d.ts +0 -29
- package/dist/menus/index.d.ts +0 -32
|
@@ -1,19 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Editor } from "@tiptap/vue-3";
|
|
2
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
-
|
|
4
|
-
type:
|
|
5
|
-
required:
|
|
6
|
-
default: () => any[];
|
|
3
|
+
editor: {
|
|
4
|
+
type: typeof Editor;
|
|
5
|
+
required: true;
|
|
7
6
|
};
|
|
8
7
|
}, {
|
|
8
|
+
props: any;
|
|
9
|
+
getToolbarItemsFromExtensions: () => ToolbarItem[];
|
|
9
10
|
readonly VMenu: any;
|
|
10
11
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
|
|
12
|
-
type:
|
|
13
|
-
required:
|
|
14
|
-
default: () => any[];
|
|
12
|
+
editor: {
|
|
13
|
+
type: typeof Editor;
|
|
14
|
+
required: true;
|
|
15
15
|
};
|
|
16
|
-
}>>, {
|
|
17
|
-
menuItems: MenuItem[];
|
|
18
|
-
}>;
|
|
16
|
+
}>>, {}>;
|
|
19
17
|
export default _sfc_main;
|
|
@@ -22,8 +22,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
dropdownVisible: import("vue").ComputedRef<boolean>;
|
|
23
23
|
handleInsertNewLine: () => void;
|
|
24
24
|
readonly VDropdown: any;
|
|
25
|
-
readonly MdiDeleteForeverOutline:
|
|
26
|
-
readonly MdiArrowULeftBottom:
|
|
25
|
+
readonly MdiDeleteForeverOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
26
|
+
readonly MdiArrowULeftBottom: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
27
27
|
BlockActionSeparator: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
28
28
|
BlockActionButton: import("vue").DefineComponent<{
|
|
29
29
|
tooltip: {
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
isActive: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
visible: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
action: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
icon: {
|
|
23
|
+
type: any;
|
|
24
|
+
required: false;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
isActive: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
required: false;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
visible: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: false;
|
|
41
|
+
default: any;
|
|
42
|
+
};
|
|
43
|
+
action: {
|
|
44
|
+
type: FunctionConstructor;
|
|
45
|
+
required: false;
|
|
46
|
+
default: any;
|
|
47
|
+
};
|
|
48
|
+
icon: {
|
|
49
|
+
type: any;
|
|
50
|
+
required: false;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
}>>, {
|
|
54
|
+
title: string;
|
|
55
|
+
isActive: boolean;
|
|
56
|
+
visible: boolean;
|
|
57
|
+
action: Function;
|
|
58
|
+
icon: any;
|
|
59
|
+
}>;
|
|
60
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { default as BlockActionButton } from "./block/BlockActionButton.vue";
|
|
2
|
+
export { default as BlockActionInput } from "./block/BlockActionInput.vue";
|
|
3
|
+
export { default as BlockActionSeparator } from "./block/BlockActionSeparator.vue";
|
|
4
|
+
export { default as BlockCard } from "./block/BlockCard.vue";
|
|
5
|
+
export { default as BubbleItem } from "./bubble/BubbleItem.vue";
|
|
6
|
+
export { default as ToolbarItem } from "./toolbar/ToolbarItem.vue";
|
|
7
|
+
export { default as ToolbarSubItem } from "./toolbar/ToolbarSubItem.vue";
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
isActive: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
action: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
icon: {
|
|
23
|
+
type: any;
|
|
24
|
+
required: false;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
+
isActive: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
required: false;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
disabled: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
required: false;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: false;
|
|
41
|
+
default: any;
|
|
42
|
+
};
|
|
43
|
+
action: {
|
|
44
|
+
type: FunctionConstructor;
|
|
45
|
+
required: false;
|
|
46
|
+
default: any;
|
|
47
|
+
};
|
|
48
|
+
icon: {
|
|
49
|
+
type: any;
|
|
50
|
+
required: false;
|
|
51
|
+
default: any;
|
|
52
|
+
};
|
|
53
|
+
}>>, {
|
|
54
|
+
title: string;
|
|
55
|
+
isActive: boolean;
|
|
56
|
+
action: Function;
|
|
57
|
+
icon: any;
|
|
58
|
+
disabled: boolean;
|
|
59
|
+
}>;
|
|
60
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
isActive: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
disabled: {
|
|
8
|
+
type: BooleanConstructor;
|
|
9
|
+
required: false;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
title: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: false;
|
|
15
|
+
default: any;
|
|
16
|
+
};
|
|
17
|
+
action: {
|
|
18
|
+
type: FunctionConstructor;
|
|
19
|
+
required: false;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
icon: {
|
|
23
|
+
type: any;
|
|
24
|
+
required: false;
|
|
25
|
+
default: any;
|
|
26
|
+
};
|
|
27
|
+
}, {
|
|
28
|
+
props: any;
|
|
29
|
+
action: () => void;
|
|
30
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
isActive: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
required: false;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
disabled: {
|
|
37
|
+
type: BooleanConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
title: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
default: any;
|
|
45
|
+
};
|
|
46
|
+
action: {
|
|
47
|
+
type: FunctionConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
default: any;
|
|
50
|
+
};
|
|
51
|
+
icon: {
|
|
52
|
+
type: any;
|
|
53
|
+
required: false;
|
|
54
|
+
default: any;
|
|
55
|
+
};
|
|
56
|
+
}>>, {
|
|
57
|
+
title: string;
|
|
58
|
+
isActive: boolean;
|
|
59
|
+
action: Function;
|
|
60
|
+
icon: any;
|
|
61
|
+
disabled: boolean;
|
|
62
|
+
}>;
|
|
63
|
+
export default _sfc_main;
|
|
@@ -56,11 +56,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
56
|
BlockCard: any;
|
|
57
57
|
BlockActionButton: any;
|
|
58
58
|
BlockActionSeparator: any;
|
|
59
|
-
readonly MdiLinkVariant:
|
|
60
|
-
readonly MdiPlayCircle:
|
|
61
|
-
readonly MdiPlayCircleOutline:
|
|
62
|
-
readonly MdiMotionPlayOutline:
|
|
63
|
-
readonly MdiMotionPlay:
|
|
59
|
+
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
60
|
+
readonly MdiPlayCircle: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
61
|
+
readonly MdiPlayCircleOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
62
|
+
readonly MdiMotionPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
63
|
+
readonly MdiMotionPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
64
64
|
readonly i18n: any;
|
|
65
65
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
66
66
|
editor: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@tiptap/vue-3").Node<
|
|
1
|
+
declare const _default: import("@tiptap/vue-3").Node<any, any>;
|
|
2
2
|
export default _default;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { type PropType } from "vue";
|
|
2
|
-
import type { Item } from "./suggestion";
|
|
3
2
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
3
|
items: {
|
|
5
|
-
type: PropType<
|
|
4
|
+
type: PropType<CommandMenuItem[]>;
|
|
6
5
|
required: true;
|
|
7
6
|
};
|
|
8
7
|
command: {
|
|
9
|
-
type: PropType<(item:
|
|
8
|
+
type: PropType<(item: CommandMenuItem) => void>;
|
|
10
9
|
required: true;
|
|
11
10
|
};
|
|
12
11
|
}, {
|
|
@@ -23,11 +22,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
22
|
readonly i18n: any;
|
|
24
23
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
24
|
items: {
|
|
26
|
-
type: PropType<
|
|
25
|
+
type: PropType<CommandMenuItem[]>;
|
|
27
26
|
required: true;
|
|
28
27
|
};
|
|
29
28
|
command: {
|
|
30
|
-
type: PropType<(item:
|
|
29
|
+
type: PropType<(item: CommandMenuItem) => void>;
|
|
31
30
|
required: true;
|
|
32
31
|
};
|
|
33
32
|
}>>, {}>;
|
|
@@ -59,12 +59,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
59
59
|
BlockActionButton: any;
|
|
60
60
|
BlockActionInput: any;
|
|
61
61
|
BlockActionSeparator: any;
|
|
62
|
-
readonly MdiLinkVariant:
|
|
63
|
-
readonly MdiCellphoneIphone:
|
|
64
|
-
readonly MdiTabletIpad:
|
|
65
|
-
readonly MdiDesktopMac:
|
|
66
|
-
readonly MdiBorderAllVariant:
|
|
67
|
-
readonly MdiBorderNoneVariant:
|
|
62
|
+
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
63
|
+
readonly MdiCellphoneIphone: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
64
|
+
readonly MdiTabletIpad: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
65
|
+
readonly MdiDesktopMac: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
66
|
+
readonly MdiBorderAllVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
67
|
+
readonly MdiBorderNoneVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
68
68
|
readonly i18n: any;
|
|
69
69
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
70
|
editor: {
|
|
@@ -37,6 +37,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
37
37
|
alt: import("vue").WritableComputedRef<any>;
|
|
38
38
|
width: import("vue").WritableComputedRef<any>;
|
|
39
39
|
height: import("vue").WritableComputedRef<any>;
|
|
40
|
+
resizeRef: import("vue").Ref<HTMLElement>;
|
|
41
|
+
reuseResizeObserver: () => {
|
|
42
|
+
isSupported: import("vue").Ref<boolean>;
|
|
43
|
+
stop: () => void;
|
|
44
|
+
};
|
|
45
|
+
resizeObserver: {
|
|
46
|
+
isSupported: import("vue").Ref<boolean>;
|
|
47
|
+
stop: () => void;
|
|
48
|
+
};
|
|
40
49
|
handleSetSize: (width: string, height: string) => void;
|
|
41
50
|
handleOpenLink: () => void;
|
|
42
51
|
readonly NodeViewWrapper: import("vue").DefineComponent<{
|
|
@@ -56,10 +65,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
56
65
|
BlockActionButton: any;
|
|
57
66
|
BlockActionSeparator: any;
|
|
58
67
|
BlockActionInput: any;
|
|
59
|
-
readonly MdiLinkVariant:
|
|
60
|
-
readonly MdiImageSizeSelectActual:
|
|
61
|
-
readonly MdiImageSizeSelectSmall:
|
|
62
|
-
readonly MdiImageSizeSelectLarge:
|
|
68
|
+
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
69
|
+
readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
70
|
+
readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
71
|
+
readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
63
72
|
readonly i18n: any;
|
|
64
73
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
74
|
editor: {
|
|
@@ -1,35 +1,32 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import ExtensionHistory from "./history";
|
|
2
|
+
import ExtensionHeading from "./heading";
|
|
3
|
+
import ExtensionBold from "./bold";
|
|
4
|
+
import ExtensionItalic from "./italic";
|
|
5
|
+
import ExtensionStrike from "./strike";
|
|
6
|
+
import ExtensionUnderline from "./underline";
|
|
7
|
+
import ExtensionHighlight from "./highlight";
|
|
8
|
+
import ExtensionBlockquote from "./blockquote";
|
|
9
|
+
import ExtensionCode from "./code";
|
|
10
|
+
import ExtensionSuperscript from "./superscript";
|
|
11
|
+
import ExtensionSubscript from "./subscript";
|
|
12
|
+
import ExtensionBulletList from "./bullet-list";
|
|
13
|
+
import ExtensionOrderedList from "./ordered-list";
|
|
14
|
+
import ExtensionTaskList from "./task-list";
|
|
15
|
+
import ExtensionTable from "./table";
|
|
16
|
+
import ExtensionTextAlign from "./text-align";
|
|
17
|
+
import ExtensionLink from "./link";
|
|
6
18
|
import ExtensionDropcursor from "@tiptap/extension-dropcursor";
|
|
7
19
|
import ExtensionGapcursor from "@tiptap/extension-gapcursor";
|
|
8
20
|
import ExtensionHardBreak from "@tiptap/extension-hard-break";
|
|
9
|
-
import ExtensionHeading from "@tiptap/extension-heading";
|
|
10
|
-
import ExtensionHistory from "@tiptap/extension-history";
|
|
11
21
|
import ExtensionHorizontalRule from "@tiptap/extension-horizontal-rule";
|
|
12
|
-
import
|
|
13
|
-
import ExtensionListItem from "@tiptap/extension-list-item";
|
|
14
|
-
import ExtensionOrderedList from "@tiptap/extension-ordered-list";
|
|
15
|
-
import ExtensionParagraph from "@tiptap/extension-paragraph";
|
|
16
|
-
import ExtensionStrike from "@tiptap/extension-strike";
|
|
22
|
+
import ExtensionDocument from "@tiptap/extension-document";
|
|
17
23
|
import ExtensionText from "@tiptap/extension-text";
|
|
18
|
-
import ExtensionTaskList from "@tiptap/extension-task-list";
|
|
19
|
-
import ExtensionTaskItem from "@tiptap/extension-task-item";
|
|
20
|
-
import ExtensionLink from "@tiptap/extension-link";
|
|
21
|
-
import ExtensionTextAlign from "@tiptap/extension-text-align";
|
|
22
|
-
import ExtensionUnderline from "@tiptap/extension-underline";
|
|
23
|
-
import ExtensionSubscript from "@tiptap/extension-subscript";
|
|
24
|
-
import ExtensionSuperscript from "@tiptap/extension-superscript";
|
|
25
24
|
import ExtensionPlaceholder from "@tiptap/extension-placeholder";
|
|
26
|
-
import
|
|
27
|
-
import { CommandsSuggestion, ExtensionCommands } from "../extensions/commands-menu";
|
|
25
|
+
import { ExtensionCommands } from "../extensions/commands-menu";
|
|
28
26
|
import { ExtensionCodeBlock, lowlight } from '../extensions/code-block';
|
|
29
27
|
import ExtensionIframe from "./iframe";
|
|
30
28
|
import ExtensionVideo from "./video";
|
|
31
29
|
import ExtensionAudio from "./audio";
|
|
32
30
|
import ExtensionImage from "./image";
|
|
33
|
-
import ExtensionTable from "./table";
|
|
34
31
|
declare const allExtensions: any[];
|
|
35
|
-
export { allExtensions, ExtensionBlockquote, ExtensionBold, ExtensionBulletList, ExtensionCode, ExtensionDocument, ExtensionDropcursor, ExtensionGapcursor, ExtensionHardBreak, ExtensionHeading, ExtensionHistory, ExtensionHorizontalRule, ExtensionItalic,
|
|
32
|
+
export { allExtensions, ExtensionBlockquote, ExtensionBold, ExtensionBulletList, ExtensionCode, ExtensionDocument, ExtensionDropcursor, ExtensionGapcursor, ExtensionHardBreak, ExtensionHeading, ExtensionHistory, ExtensionHorizontalRule, ExtensionItalic, ExtensionOrderedList, ExtensionStrike, ExtensionText, ExtensionImage, ExtensionTaskList, ExtensionLink, ExtensionTextAlign, ExtensionUnderline, ExtensionTable, ExtensionSubscript, ExtensionSuperscript, ExtensionPlaceholder, ExtensionHighlight, ExtensionCommands, ExtensionCodeBlock, lowlight, ExtensionIframe, ExtensionVideo, ExtensionAudio, };
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
editor: {
|
|
3
|
+
type: any;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
isActive: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
required: false;
|
|
9
|
+
default: boolean;
|
|
10
|
+
};
|
|
11
|
+
visible: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
required: false;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: false;
|
|
19
|
+
default: any;
|
|
20
|
+
};
|
|
21
|
+
action: {
|
|
22
|
+
type: FunctionConstructor;
|
|
23
|
+
required: false;
|
|
24
|
+
default: any;
|
|
25
|
+
};
|
|
26
|
+
icon: {
|
|
27
|
+
type: any;
|
|
28
|
+
required: false;
|
|
29
|
+
default: any;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
props: any;
|
|
33
|
+
href: import("vue").WritableComputedRef<any>;
|
|
34
|
+
target: import("vue").WritableComputedRef<boolean>;
|
|
35
|
+
readonly VDropdown: any;
|
|
36
|
+
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
37
|
+
readonly i18n: any;
|
|
38
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
editor: {
|
|
40
|
+
type: any;
|
|
41
|
+
required: true;
|
|
42
|
+
};
|
|
43
|
+
isActive: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
required: false;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
visible: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
required: false;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
title: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
required: false;
|
|
56
|
+
default: any;
|
|
57
|
+
};
|
|
58
|
+
action: {
|
|
59
|
+
type: FunctionConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
default: any;
|
|
62
|
+
};
|
|
63
|
+
icon: {
|
|
64
|
+
type: any;
|
|
65
|
+
required: false;
|
|
66
|
+
default: any;
|
|
67
|
+
};
|
|
68
|
+
}>>, {
|
|
69
|
+
title: string;
|
|
70
|
+
isActive: boolean;
|
|
71
|
+
visible: boolean;
|
|
72
|
+
action: Function;
|
|
73
|
+
icon: any;
|
|
74
|
+
}>;
|
|
75
|
+
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const Table: import("@tiptap/
|
|
1
|
+
declare const Table: import("@tiptap/vue-3").Node<any, any>;
|
|
2
2
|
export default Table;
|
|
@@ -62,16 +62,16 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
62
62
|
BlockActionButton: any;
|
|
63
63
|
BlockActionInput: any;
|
|
64
64
|
BlockActionSeparator: any;
|
|
65
|
-
readonly MdiLinkVariant:
|
|
66
|
-
readonly MdiImageSizeSelectActual:
|
|
67
|
-
readonly MdiImageSizeSelectSmall:
|
|
68
|
-
readonly MdiImageSizeSelectLarge:
|
|
69
|
-
readonly MdiCogPlay:
|
|
70
|
-
readonly MdiCogPlayOutline:
|
|
71
|
-
readonly MdiPlayCircle:
|
|
72
|
-
readonly MdiPlayCircleOutline:
|
|
73
|
-
readonly MdiMotionPlayOutline:
|
|
74
|
-
readonly MdiMotionPlay:
|
|
65
|
+
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
66
|
+
readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
67
|
+
readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
68
|
+
readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
69
|
+
readonly MdiCogPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
70
|
+
readonly MdiCogPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
71
|
+
readonly MdiPlayCircle: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
72
|
+
readonly MdiPlayCircleOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
73
|
+
readonly MdiMotionPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
74
|
+
readonly MdiMotionPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}>;
|
|
75
75
|
readonly i18n: any;
|
|
76
76
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
77
|
editor: {
|
package/dist/index.d.ts
CHANGED