@halo-dev/richtext-editor 0.0.0-alpha.30 → 0.0.0-alpha.31
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 -165
- package/dist/components/EditorBubbleMenu.vue.d.ts +2 -99
- package/dist/components/EditorHeader.vue.d.ts +2 -19
- package/dist/rich-text-editor.es.js +9605 -7486
- package/dist/rich-text-editor.es.js.map +1 -1
- package/dist/rich-text-editor.iife.js +8843 -6724
- package/dist/rich-text-editor.iife.js.map +1 -1
- package/dist/style.css +324 -45
- package/package.json +51 -54
- package/dist/components/block/BlockActionButton.vue.d.ts +0 -27
- package/dist/components/block/BlockActionInput.vue.d.ts +0 -30
- package/dist/components/block/BlockActionSeparator.vue.d.ts +0 -2
- package/dist/components/block/BlockCard.vue.d.ts +0 -71
- package/dist/components/bubble/BubbleItem.vue.d.ts +0 -60
- package/dist/components/index.d.ts +0 -8
- package/dist/components/toolbar/ToolbarItem.vue.d.ts +0 -60
- package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +0 -63
- package/dist/components/toolbox/ToolboxItem.vue.d.ts +0 -63
- package/dist/extensions/audio/AudioView.vue.d.ts +0 -102
- package/dist/extensions/audio/index.d.ts +0 -12
- package/dist/extensions/blockquote/index.d.ts +0 -2
- package/dist/extensions/bold/index.d.ts +0 -2
- package/dist/extensions/bullet-list/index.d.ts +0 -2
- package/dist/extensions/code/index.d.ts +0 -2
- package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +0 -99
- package/dist/extensions/code-block/code-block.d.ts +0 -15
- package/dist/extensions/code-block/index.d.ts +0 -2
- package/dist/extensions/code-block/lowlight.d.ts +0 -2
- package/dist/extensions/color/ColorBubbleItem.vue.d.ts +0 -78
- package/dist/extensions/color/ColorToolbarItem.vue.d.ts +0 -78
- package/dist/extensions/color/index.d.ts +0 -2
- package/dist/extensions/commands-menu/CommandsView.vue.d.ts +0 -33
- package/dist/extensions/commands-menu/commands.d.ts +0 -3
- package/dist/extensions/commands-menu/index.d.ts +0 -1
- package/dist/extensions/font-size/index.d.ts +0 -14
- package/dist/extensions/heading/index.d.ts +0 -2
- package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +0 -79
- package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +0 -79
- package/dist/extensions/highlight/index.d.ts +0 -2
- package/dist/extensions/history/index.d.ts +0 -2
- package/dist/extensions/iframe/IframeView.vue.d.ts +0 -113
- package/dist/extensions/iframe/index.d.ts +0 -12
- package/dist/extensions/image/ImageView.vue.d.ts +0 -120
- package/dist/extensions/image/index.d.ts +0 -2
- package/dist/extensions/indent/index.d.ts +0 -22
- package/dist/extensions/index.d.ts +0 -35
- package/dist/extensions/italic/index.d.ts +0 -2
- package/dist/extensions/link/LinkBubbleButton.vue.d.ts +0 -75
- package/dist/extensions/link/index.d.ts +0 -2
- package/dist/extensions/ordered-list/index.d.ts +0 -2
- package/dist/extensions/strike/index.d.ts +0 -2
- package/dist/extensions/subscript/index.d.ts +0 -2
- package/dist/extensions/superscript/index.d.ts +0 -2
- package/dist/extensions/table/index.d.ts +0 -2
- package/dist/extensions/task-list/index.d.ts +0 -2
- package/dist/extensions/text-align/index.d.ts +0 -2
- package/dist/extensions/underline/index.d.ts +0 -2
- package/dist/extensions/video/VideoView.vue.d.ts +0 -117
- package/dist/extensions/video/index.d.ts +0 -12
- package/dist/locales/index.d.ts +0 -7
|
@@ -1,75 +0,0 @@
|
|
|
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, {}, any>;
|
|
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,117 +0,0 @@
|
|
|
1
|
-
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
-
editor: {
|
|
3
|
-
type: any;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
node: {
|
|
7
|
-
type: any;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
decorations: {
|
|
11
|
-
type: ArrayConstructor;
|
|
12
|
-
required: true;
|
|
13
|
-
};
|
|
14
|
-
selected: {
|
|
15
|
-
type: BooleanConstructor;
|
|
16
|
-
required: true;
|
|
17
|
-
};
|
|
18
|
-
extension: {
|
|
19
|
-
type: any;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
getPos: {
|
|
23
|
-
type: FunctionConstructor;
|
|
24
|
-
required: true;
|
|
25
|
-
};
|
|
26
|
-
updateAttributes: {
|
|
27
|
-
type: FunctionConstructor;
|
|
28
|
-
required: true;
|
|
29
|
-
};
|
|
30
|
-
deleteNode: {
|
|
31
|
-
type: FunctionConstructor;
|
|
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
|
-
controls: import("vue").ComputedRef<any>;
|
|
40
|
-
autoplay: import("vue").ComputedRef<any>;
|
|
41
|
-
loop: import("vue").ComputedRef<any>;
|
|
42
|
-
handleSetFocus: () => void;
|
|
43
|
-
handleSetSize: (width: string, height: string) => void;
|
|
44
|
-
handleToggleControls: () => void;
|
|
45
|
-
handleToggleAutoplay: () => void;
|
|
46
|
-
handleToggleLoop: () => void;
|
|
47
|
-
handleOpenLink: () => void;
|
|
48
|
-
inputRef: import("vue").Ref<any>;
|
|
49
|
-
readonly NodeViewWrapper: import("vue").DefineComponent<{
|
|
50
|
-
as: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
default: string;
|
|
53
|
-
};
|
|
54
|
-
}, 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<{
|
|
55
|
-
as: {
|
|
56
|
-
type: StringConstructor;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
}>>, {
|
|
60
|
-
as: string;
|
|
61
|
-
}>;
|
|
62
|
-
readonly VDropdown: any;
|
|
63
|
-
BlockCard: any;
|
|
64
|
-
BlockActionButton: any;
|
|
65
|
-
BlockActionInput: any;
|
|
66
|
-
BlockActionSeparator: any;
|
|
67
|
-
readonly MdiLinkVariant: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
68
|
-
readonly MdiShare: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
69
|
-
readonly MdiImageSizeSelectActual: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
70
|
-
readonly MdiImageSizeSelectSmall: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
71
|
-
readonly MdiImageSizeSelectLarge: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
72
|
-
readonly MdiFormatAlignLeft: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
73
|
-
readonly MdiFormatAlignCenter: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
74
|
-
readonly MdiFormatAlignRight: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
75
|
-
readonly MdiFormatAlignJustify: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
76
|
-
readonly MdiCogPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
77
|
-
readonly MdiCogPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
78
|
-
readonly MdiPlayCircle: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
79
|
-
readonly MdiPlayCircleOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
80
|
-
readonly MdiMotionPlayOutline: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
81
|
-
readonly MdiMotionPlay: import("vue").FunctionalComponent<import("vue").SVGAttributes, {}, any>;
|
|
82
|
-
readonly i18n: any;
|
|
83
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
|
-
editor: {
|
|
85
|
-
type: any;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
node: {
|
|
89
|
-
type: any;
|
|
90
|
-
required: true;
|
|
91
|
-
};
|
|
92
|
-
decorations: {
|
|
93
|
-
type: ArrayConstructor;
|
|
94
|
-
required: true;
|
|
95
|
-
};
|
|
96
|
-
selected: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
required: true;
|
|
99
|
-
};
|
|
100
|
-
extension: {
|
|
101
|
-
type: any;
|
|
102
|
-
required: true;
|
|
103
|
-
};
|
|
104
|
-
getPos: {
|
|
105
|
-
type: FunctionConstructor;
|
|
106
|
-
required: true;
|
|
107
|
-
};
|
|
108
|
-
updateAttributes: {
|
|
109
|
-
type: FunctionConstructor;
|
|
110
|
-
required: true;
|
|
111
|
-
};
|
|
112
|
-
deleteNode: {
|
|
113
|
-
type: FunctionConstructor;
|
|
114
|
-
required: true;
|
|
115
|
-
};
|
|
116
|
-
}>>, {}>;
|
|
117
|
-
export default _sfc_main;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { Node } from "@tiptap/core";
|
|
2
|
-
declare module "@tiptap/core" {
|
|
3
|
-
interface Commands<ReturnType> {
|
|
4
|
-
video: {
|
|
5
|
-
setVideo: (options: {
|
|
6
|
-
src: string;
|
|
7
|
-
}) => ReturnType;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
declare const Video: Node<ExtensionOptions, any>;
|
|
12
|
-
export default Video;
|