@halo-dev/richtext-editor 2.18.0 → 2.20.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 +16 -10
- package/dist/components/EditorBubbleMenu.vue.d.ts +3 -4
- package/dist/components/EditorHeader.vue.d.ts +3 -4
- package/dist/components/block/BlockActionButton.vue.d.ts +17 -33
- package/dist/components/block/BlockActionInput.vue.d.ts +11 -34
- package/dist/components/block/BlockActionSeparator.vue.d.ts +1 -1
- package/dist/components/block/BlockCard.vue.d.ts +14 -29
- package/dist/components/bubble/BubbleItem.vue.d.ts +24 -56
- package/dist/components/bubble/BubbleMenu.vue.d.ts +33 -40
- package/dist/components/bubble/BubbleMenuPlugin.d.ts +0 -1
- package/dist/components/common/ColorPickerDropdown.vue.d.ts +19 -33
- package/dist/components/icon/MdiDeleteForeverOutline.vue.d.ts +1 -1
- package/dist/components/toolbar/ToolbarItem.vue.d.ts +19 -51
- package/dist/components/toolbar/ToolbarSubItem.vue.d.ts +16 -46
- package/dist/components/toolbox/ToolboxItem.vue.d.ts +15 -45
- package/dist/dev/App.vue.d.ts +2 -0
- package/dist/extensions/audio/AudioView.vue.d.ts +2 -31
- package/dist/extensions/audio/BubbleItemAudioLink.vue.d.ts +15 -25
- package/dist/extensions/audio/index.d.ts +0 -1
- package/dist/extensions/blockquote/index.d.ts +1 -2
- package/dist/extensions/bold/index.d.ts +1 -2
- package/dist/extensions/bullet-list/index.d.ts +1 -2
- package/dist/extensions/clear-format/index.d.ts +0 -1
- package/dist/extensions/code/index.d.ts +1 -2
- package/dist/extensions/code-block/CodeBlockSelect.vue.d.ts +25 -0
- package/dist/extensions/code-block/CodeBlockViewRenderer.vue.d.ts +2 -31
- package/dist/extensions/code-block/code-block.d.ts +57 -7
- package/dist/extensions/code-block/index.d.ts +1 -1
- package/dist/extensions/color/ColorBubbleItem.vue.d.ts +15 -25
- package/dist/extensions/color/ColorToolbarItem.vue.d.ts +18 -50
- package/dist/extensions/color/index.d.ts +1 -2
- package/dist/extensions/columns/column.d.ts +0 -1
- package/dist/extensions/columns/columns.d.ts +0 -1
- package/dist/extensions/commands-menu/CommandsView.vue.d.ts +4 -5
- package/dist/extensions/commands-menu/commands.d.ts +0 -1
- package/dist/extensions/draggable/index.d.ts +0 -1
- package/dist/extensions/font-size/index.d.ts +0 -1
- package/dist/extensions/format-brush/index.d.ts +0 -1
- package/dist/extensions/format-brush/util.d.ts +0 -1
- package/dist/extensions/gap-cursor/gap-cursor-selection.d.ts +0 -1
- package/dist/extensions/gap-cursor/index.d.ts +0 -1
- package/dist/extensions/heading/index.d.ts +1 -2
- package/dist/extensions/highlight/HighlightBubbleItem.vue.d.ts +15 -25
- package/dist/extensions/highlight/HighlightToolbarItem.vue.d.ts +18 -50
- package/dist/extensions/highlight/index.d.ts +3 -1
- package/dist/extensions/history/index.d.ts +1 -2
- package/dist/extensions/iframe/BubbleItemIframeLink.vue.d.ts +15 -25
- package/dist/extensions/iframe/BubbleItemIframeSize.vue.d.ts +3 -13
- package/dist/extensions/iframe/IframeView.vue.d.ts +2 -31
- package/dist/extensions/iframe/index.d.ts +0 -1
- package/dist/extensions/image/BubbleItemImageAlt.vue.d.ts +15 -25
- package/dist/extensions/image/BubbleItemImageHref.vue.d.ts +15 -25
- package/dist/extensions/image/BubbleItemImageLink.vue.d.ts +15 -25
- package/dist/extensions/image/BubbleItemImageSize.vue.d.ts +19 -29
- package/dist/extensions/image/ImageView.vue.d.ts +2 -31
- package/dist/extensions/image/index.d.ts +1 -2
- package/dist/extensions/indent/index.d.ts +0 -1
- package/dist/extensions/index.d.ts +4 -4
- package/dist/extensions/italic/index.d.ts +1 -2
- package/dist/extensions/link/LinkBubbleButton.vue.d.ts +15 -25
- package/dist/extensions/link/index.d.ts +1 -2
- package/dist/extensions/list-keymap/index.d.ts +0 -1
- package/dist/extensions/node-selected/index.d.ts +0 -1
- package/dist/extensions/ordered-list/index.d.ts +1 -2
- package/dist/extensions/paragraph/index.d.ts +1 -2
- package/dist/extensions/range-selection/index.d.ts +0 -1
- package/dist/extensions/range-selection/range-selection.d.ts +0 -1
- package/dist/extensions/search-and-replace/SearchAndReplace.vue.d.ts +4 -5
- package/dist/extensions/search-and-replace/SearchAndReplacePlugin.d.ts +0 -1
- package/dist/extensions/search-and-replace/index.d.ts +0 -1
- package/dist/extensions/strike/index.d.ts +1 -2
- package/dist/extensions/subscript/index.d.ts +1 -2
- package/dist/extensions/superscript/index.d.ts +1 -2
- package/dist/extensions/table/index.d.ts +3 -1
- package/dist/extensions/table/table-cell.d.ts +0 -1
- package/dist/extensions/table/table-header.d.ts +0 -1
- package/dist/extensions/table/util.d.ts +1 -2
- package/dist/extensions/task-list/index.d.ts +1 -2
- package/dist/extensions/text/index.d.ts +1 -2
- package/dist/extensions/text-align/index.d.ts +1 -2
- package/dist/extensions/text-style/index.d.ts +0 -1
- package/dist/extensions/trailing-node/index.d.ts +0 -1
- package/dist/extensions/underline/index.d.ts +1 -2
- package/dist/extensions/video/BubbleItemVideoLink.vue.d.ts +15 -25
- package/dist/extensions/video/BubbleItemVideoSize.vue.d.ts +19 -29
- package/dist/extensions/video/VideoView.vue.d.ts +2 -31
- package/dist/extensions/video/index.d.ts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/rich-text-editor.es.js +15778 -29939
- package/dist/rich-text-editor.iife.js +50 -54
- package/dist/style.css +1 -10
- package/dist/types/index.d.ts +0 -1
- package/dist/utils/delete-node.d.ts +0 -1
- package/dist/utils/isListActive.d.ts +0 -1
- package/dist/utils/isNodeEmpty.d.ts +0 -1
- package/package.json +39 -42
- package/dist/extensions/code-block/lowlight.d.ts +0 -16
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Dispatch, EditorState, EditorView, ResolvedPos, Transaction } from '../../tiptap';
|
|
2
2
|
import { Extension, ParentConfig } from '../../tiptap/core';
|
|
3
3
|
import { Command } from '../../tiptap/pm';
|
|
4
|
-
|
|
5
4
|
declare module "@tiptap/core" {
|
|
6
5
|
interface NodeConfig<Options, Storage> {
|
|
7
6
|
allowGapCursor?: boolean | null | ((this: {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExtensionOptions } from '../../types';
|
|
2
2
|
import { HeadingOptions } from '@tiptap/extension-heading';
|
|
3
|
-
|
|
4
|
-
declare const Blockquote: import('../../tiptap').Node<ExtensionOptions & HeadingOptions, any>;
|
|
3
|
+
declare const Blockquote: import('@tiptap/core').Node<ExtensionOptions & HeadingOptions, any>;
|
|
5
4
|
export default Blockquote;
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
editor: Editor;
|
|
6
5
|
isActive: ({ editor }: {
|
|
7
6
|
editor: Editor;
|
|
8
7
|
}) => boolean;
|
|
9
|
-
visible?: (
|
|
8
|
+
visible?: ({ editor }: {
|
|
10
9
|
editor: Editor;
|
|
11
|
-
}) => boolean
|
|
12
|
-
icon?: Component
|
|
13
|
-
title?: string
|
|
14
|
-
action?: (
|
|
10
|
+
}) => boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: ({ editor }: {
|
|
15
14
|
editor: Editor;
|
|
16
|
-
}) => void
|
|
17
|
-
}
|
|
15
|
+
}) => void;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
17
|
editor: Editor;
|
|
19
18
|
isActive: ({ editor }: {
|
|
20
19
|
editor: Editor;
|
|
21
20
|
}) => boolean;
|
|
22
|
-
visible?: (
|
|
21
|
+
visible?: ({ editor }: {
|
|
23
22
|
editor: Editor;
|
|
24
|
-
}) => boolean
|
|
25
|
-
icon?: Component
|
|
26
|
-
title?: string
|
|
27
|
-
action?: (
|
|
23
|
+
}) => boolean;
|
|
24
|
+
icon?: Component;
|
|
25
|
+
title?: string;
|
|
26
|
+
action?: ({ editor }: {
|
|
28
27
|
editor: Editor;
|
|
29
|
-
}) => void
|
|
30
|
-
}
|
|
28
|
+
}) => void;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
30
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,57 +1,25 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
editor?: Editor | undefined;
|
|
20
|
-
isActive?: boolean | undefined;
|
|
21
|
-
disabled?: boolean | undefined;
|
|
22
|
-
title?: string | undefined;
|
|
23
|
-
action?: (() => void) | undefined;
|
|
24
|
-
icon?: Component | undefined;
|
|
25
|
-
}>, {
|
|
26
|
-
editor: undefined;
|
|
27
|
-
isActive: boolean;
|
|
28
|
-
disabled: boolean;
|
|
29
|
-
title: undefined;
|
|
30
|
-
action: undefined;
|
|
31
|
-
icon: undefined;
|
|
32
|
-
}>>>, {
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
|
+
editor?: Editor;
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
title?: string;
|
|
8
|
+
action?: () => void;
|
|
9
|
+
icon?: Component;
|
|
10
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
11
|
+
editor?: Editor;
|
|
12
|
+
isActive?: boolean;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
action?: () => void;
|
|
16
|
+
icon?: Component;
|
|
17
|
+
}> & Readonly<{}>, {
|
|
18
|
+
title: string;
|
|
33
19
|
editor: Editor;
|
|
34
|
-
isActive: boolean;
|
|
35
20
|
icon: Component;
|
|
36
|
-
|
|
21
|
+
isActive: boolean;
|
|
37
22
|
action: () => void;
|
|
38
23
|
disabled: boolean;
|
|
39
|
-
}, {}>;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
40
25
|
export default _default;
|
|
41
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
42
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
43
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
44
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
45
|
-
} : {
|
|
46
|
-
type: import('vue').PropType<T[K]>;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
type __VLS_WithDefaults<P, D> = {
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_Prettify<T> = {
|
|
56
|
-
[K in keyof T]: T[K];
|
|
57
|
-
} & {};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ExtensionOptions } from '../../types';
|
|
2
|
+
import { HighlightOptions } from '@tiptap/extension-highlight';
|
|
3
|
+
declare const Highlight: import('@tiptap/core').Mark<ExtensionOptions & HighlightOptions, any>;
|
|
2
4
|
export default Highlight;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExtensionOptions } from '../../types';
|
|
2
2
|
import { HistoryOptions } from '@tiptap/extension-history';
|
|
3
|
-
|
|
4
|
-
declare const History: import('../../tiptap/vue-3').Extension<ExtensionOptions & HistoryOptions, any>;
|
|
3
|
+
declare const History: import('@tiptap/core').Extension<ExtensionOptions & HistoryOptions, any>;
|
|
5
4
|
export default History;
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
editor: Editor;
|
|
6
5
|
isActive: ({ editor }: {
|
|
7
6
|
editor: Editor;
|
|
8
7
|
}) => boolean;
|
|
9
|
-
visible?: (
|
|
8
|
+
visible?: ({ editor }: {
|
|
10
9
|
editor: Editor;
|
|
11
|
-
}) => boolean
|
|
12
|
-
icon?: Component
|
|
13
|
-
title?: string
|
|
14
|
-
action?: (
|
|
10
|
+
}) => boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: ({ editor }: {
|
|
15
14
|
editor: Editor;
|
|
16
|
-
}) => void
|
|
17
|
-
}
|
|
15
|
+
}) => void;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
17
|
editor: Editor;
|
|
19
18
|
isActive: ({ editor }: {
|
|
20
19
|
editor: Editor;
|
|
21
20
|
}) => boolean;
|
|
22
|
-
visible?: (
|
|
21
|
+
visible?: ({ editor }: {
|
|
23
22
|
editor: Editor;
|
|
24
|
-
}) => boolean
|
|
25
|
-
icon?: Component
|
|
26
|
-
title?: string
|
|
27
|
-
action?: (
|
|
23
|
+
}) => boolean;
|
|
24
|
+
icon?: Component;
|
|
25
|
+
title?: string;
|
|
26
|
+
action?: ({ editor }: {
|
|
28
27
|
editor: Editor;
|
|
29
|
-
}) => void
|
|
30
|
-
}
|
|
28
|
+
}) => void;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
30
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,17 +1,7 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
|
-
|
|
3
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import('vue').DefineComponent<{
|
|
4
3
|
editor: Editor;
|
|
5
|
-
}
|
|
4
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
6
5
|
editor: Editor;
|
|
7
|
-
}
|
|
6
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
7
|
export default _default;
|
|
9
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
10
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
11
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
12
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
13
|
-
} : {
|
|
14
|
-
type: import('vue').PropType<T[K]>;
|
|
15
|
-
required: true;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
editor: Editor;
|
|
6
|
-
node: ProseMirrorNode;
|
|
7
|
-
decorations: Decoration[];
|
|
8
|
-
selected: boolean;
|
|
9
|
-
extension: Node<any, any>;
|
|
10
|
-
getPos: () => number;
|
|
11
|
-
updateAttributes: (attributes: Record<string, any>) => void;
|
|
12
|
-
deleteNode: () => void;
|
|
13
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
editor: Editor;
|
|
15
|
-
node: ProseMirrorNode;
|
|
16
|
-
decorations: Decoration[];
|
|
17
|
-
selected: boolean;
|
|
18
|
-
extension: Node<any, any>;
|
|
19
|
-
getPos: () => number;
|
|
20
|
-
updateAttributes: (attributes: Record<string, any>) => void;
|
|
21
|
-
deleteNode: () => void;
|
|
22
|
-
}>>>, {}, {}>;
|
|
1
|
+
import { NodeViewProps } from '../../tiptap/vue-3';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<NodeViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
3
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
editor: Editor;
|
|
6
5
|
isActive: ({ editor }: {
|
|
7
6
|
editor: Editor;
|
|
8
7
|
}) => boolean;
|
|
9
|
-
visible?: (
|
|
8
|
+
visible?: ({ editor }: {
|
|
10
9
|
editor: Editor;
|
|
11
|
-
}) => boolean
|
|
12
|
-
icon?: Component
|
|
13
|
-
title?: string
|
|
14
|
-
action?: (
|
|
10
|
+
}) => boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: ({ editor }: {
|
|
15
14
|
editor: Editor;
|
|
16
|
-
}) => void
|
|
17
|
-
}
|
|
15
|
+
}) => void;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
17
|
editor: Editor;
|
|
19
18
|
isActive: ({ editor }: {
|
|
20
19
|
editor: Editor;
|
|
21
20
|
}) => boolean;
|
|
22
|
-
visible?: (
|
|
21
|
+
visible?: ({ editor }: {
|
|
23
22
|
editor: Editor;
|
|
24
|
-
}) => boolean
|
|
25
|
-
icon?: Component
|
|
26
|
-
title?: string
|
|
27
|
-
action?: (
|
|
23
|
+
}) => boolean;
|
|
24
|
+
icon?: Component;
|
|
25
|
+
title?: string;
|
|
26
|
+
action?: ({ editor }: {
|
|
28
27
|
editor: Editor;
|
|
29
|
-
}) => void
|
|
30
|
-
}
|
|
28
|
+
}) => void;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
30
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
editor: Editor;
|
|
6
5
|
isActive: ({ editor }: {
|
|
7
6
|
editor: Editor;
|
|
8
7
|
}) => boolean;
|
|
9
|
-
visible?: (
|
|
8
|
+
visible?: ({ editor }: {
|
|
10
9
|
editor: Editor;
|
|
11
|
-
}) => boolean
|
|
12
|
-
icon?: Component
|
|
13
|
-
title?: string
|
|
14
|
-
action?: (
|
|
10
|
+
}) => boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: ({ editor }: {
|
|
15
14
|
editor: Editor;
|
|
16
|
-
}) => void
|
|
17
|
-
}
|
|
15
|
+
}) => void;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
17
|
editor: Editor;
|
|
19
18
|
isActive: ({ editor }: {
|
|
20
19
|
editor: Editor;
|
|
21
20
|
}) => boolean;
|
|
22
|
-
visible?: (
|
|
21
|
+
visible?: ({ editor }: {
|
|
23
22
|
editor: Editor;
|
|
24
|
-
}) => boolean
|
|
25
|
-
icon?: Component
|
|
26
|
-
title?: string
|
|
27
|
-
action?: (
|
|
23
|
+
}) => boolean;
|
|
24
|
+
icon?: Component;
|
|
25
|
+
title?: string;
|
|
26
|
+
action?: ({ editor }: {
|
|
28
27
|
editor: Editor;
|
|
29
|
-
}) => void
|
|
30
|
-
}
|
|
28
|
+
}) => void;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
30
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
editor: Editor;
|
|
6
5
|
isActive: ({ editor }: {
|
|
7
6
|
editor: Editor;
|
|
8
7
|
}) => boolean;
|
|
9
|
-
visible?: (
|
|
8
|
+
visible?: ({ editor }: {
|
|
10
9
|
editor: Editor;
|
|
11
|
-
}) => boolean
|
|
12
|
-
icon?: Component
|
|
13
|
-
title?: string
|
|
14
|
-
action?: (
|
|
10
|
+
}) => boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: ({ editor }: {
|
|
15
14
|
editor: Editor;
|
|
16
|
-
}) => void
|
|
17
|
-
}
|
|
15
|
+
}) => void;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
17
|
editor: Editor;
|
|
19
18
|
isActive: ({ editor }: {
|
|
20
19
|
editor: Editor;
|
|
21
20
|
}) => boolean;
|
|
22
|
-
visible?: (
|
|
21
|
+
visible?: ({ editor }: {
|
|
23
22
|
editor: Editor;
|
|
24
|
-
}) => boolean
|
|
25
|
-
icon?: Component
|
|
26
|
-
title?: string
|
|
27
|
-
action?: (
|
|
23
|
+
}) => boolean;
|
|
24
|
+
icon?: Component;
|
|
25
|
+
title?: string;
|
|
26
|
+
action?: ({ editor }: {
|
|
28
27
|
editor: Editor;
|
|
29
|
-
}) => void
|
|
30
|
-
}
|
|
28
|
+
}) => void;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
30
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { Editor } from '../../tiptap/vue-3';
|
|
2
2
|
import { Component } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
declare const _default: import('vue').DefineComponent<{
|
|
5
4
|
editor: Editor;
|
|
6
|
-
isActive?: (
|
|
5
|
+
isActive?: ({ editor }: {
|
|
7
6
|
editor: Editor;
|
|
8
|
-
}) => boolean
|
|
9
|
-
visible?: (
|
|
7
|
+
}) => boolean;
|
|
8
|
+
visible?: ({ editor }: {
|
|
10
9
|
editor: Editor;
|
|
11
|
-
}) => boolean
|
|
12
|
-
icon?: Component
|
|
13
|
-
title?: string
|
|
14
|
-
action?: (
|
|
10
|
+
}) => boolean;
|
|
11
|
+
icon?: Component;
|
|
12
|
+
title?: string;
|
|
13
|
+
action?: ({ editor }: {
|
|
15
14
|
editor: Editor;
|
|
16
|
-
}) => void
|
|
17
|
-
}
|
|
15
|
+
}) => void;
|
|
16
|
+
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
18
17
|
editor: Editor;
|
|
19
|
-
isActive?: (
|
|
18
|
+
isActive?: ({ editor }: {
|
|
20
19
|
editor: Editor;
|
|
21
|
-
}) => boolean
|
|
22
|
-
visible?: (
|
|
20
|
+
}) => boolean;
|
|
21
|
+
visible?: ({ editor }: {
|
|
23
22
|
editor: Editor;
|
|
24
|
-
}) => boolean
|
|
25
|
-
icon?: Component
|
|
26
|
-
title?: string
|
|
27
|
-
action?: (
|
|
23
|
+
}) => boolean;
|
|
24
|
+
icon?: Component;
|
|
25
|
+
title?: string;
|
|
26
|
+
action?: ({ editor }: {
|
|
28
27
|
editor: Editor;
|
|
29
|
-
}) => void
|
|
30
|
-
}
|
|
28
|
+
}) => void;
|
|
29
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
30
|
export default _default;
|
|
32
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
-
} : {
|
|
37
|
-
type: import('vue').PropType<T[K]>;
|
|
38
|
-
required: true;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
@@ -1,32 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
5
|
-
editor: Editor;
|
|
6
|
-
node: ProseMirrorNode;
|
|
7
|
-
decorations: Decoration[];
|
|
8
|
-
selected: boolean;
|
|
9
|
-
extension: Node<any, any>;
|
|
10
|
-
getPos: () => number;
|
|
11
|
-
updateAttributes: (attributes: Record<string, any>) => void;
|
|
12
|
-
deleteNode: () => void;
|
|
13
|
-
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
-
editor: Editor;
|
|
15
|
-
node: ProseMirrorNode;
|
|
16
|
-
decorations: Decoration[];
|
|
17
|
-
selected: boolean;
|
|
18
|
-
extension: Node<any, any>;
|
|
19
|
-
getPos: () => number;
|
|
20
|
-
updateAttributes: (attributes: Record<string, any>) => void;
|
|
21
|
-
deleteNode: () => void;
|
|
22
|
-
}>>>, {}, {}>;
|
|
1
|
+
import { NodeViewProps } from '../../tiptap/vue-3';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<NodeViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<NodeViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
23
3
|
export default _default;
|
|
24
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
-
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
-
} : {
|
|
29
|
-
type: import('vue').PropType<T[K]>;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExtensionOptions } from '../../types';
|
|
2
2
|
import { ImageOptions } from '@tiptap/extension-image';
|
|
3
|
-
|
|
4
|
-
declare const Image: import('../../tiptap/vue-3').Node<ExtensionOptions & ImageOptions, any>;
|
|
3
|
+
declare const Image: import('@tiptap/core').Node<ExtensionOptions & ImageOptions, any>;
|
|
5
4
|
export default Image;
|
|
@@ -25,7 +25,7 @@ import { default as ExtensionTaskList } from './task-list';
|
|
|
25
25
|
import { default as ExtensionTextAlign } from './text-align';
|
|
26
26
|
import { default as ExtensionUnderline } from './underline';
|
|
27
27
|
import { default as ExtensionTextStyle } from './text-style';
|
|
28
|
-
import { ExtensionCodeBlock,
|
|
28
|
+
import { ExtensionCodeBlock, ExtensionCodeBlockOptions } from './code-block';
|
|
29
29
|
import { ExtensionCommands } from '../extensions/commands-menu';
|
|
30
30
|
import { default as ExtensionAudio } from './audio';
|
|
31
31
|
import { default as ExtensionClearFormat } from './clear-format';
|
|
@@ -42,6 +42,6 @@ import { default as ExtensionSearchAndReplace } from './search-and-replace';
|
|
|
42
42
|
import { default as ExtensionText } from './text';
|
|
43
43
|
import { default as ExtensionTrailingNode } from './trailing-node';
|
|
44
44
|
import { default as ExtensionVideo } from './video';
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
export {
|
|
45
|
+
declare const allExtensions: (import('@tiptap/core').Extension<any, any> | import('@tiptap/core').Node<any, any> | import('@tiptap/core').Mark<import('../types').ExtensionOptions & import('@tiptap/extension-subscript').SubscriptExtensionOptions, any>)[];
|
|
46
|
+
export { ExtensionAudio, ExtensionBlockquote, ExtensionBold, ExtensionBulletList, ExtensionClearFormat, ExtensionCode, ExtensionCodeBlock, ExtensionColor, ExtensionColumn, ExtensionColumns, ExtensionCommands, ExtensionDocument, ExtensionDraggable, ExtensionDropcursor, ExtensionFontSize, ExtensionFormatBrush, ExtensionGapcursor, ExtensionHardBreak, ExtensionHeading, ExtensionHighlight, ExtensionHistory, ExtensionHorizontalRule, ExtensionIframe, ExtensionImage, ExtensionIndent, ExtensionItalic, ExtensionLink, ExtensionListKeymap, ExtensionNodeSelected, ExtensionOrderedList, ExtensionParagraph, ExtensionPlaceholder, ExtensionRangeSelection, ExtensionSearchAndReplace, ExtensionStrike, ExtensionSubscript, ExtensionSuperscript, ExtensionTable, ExtensionTaskList, ExtensionText, ExtensionTextAlign, ExtensionTextStyle, ExtensionTrailingNode, ExtensionUnderline, ExtensionVideo, RangeSelection, allExtensions, };
|
|
47
|
+
export type { ExtensionCodeBlockOptions };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ExtensionOptions } from '../../types';
|
|
2
2
|
import { ItalicOptions } from '@tiptap/extension-italic';
|
|
3
|
-
|
|
4
|
-
declare const Italic: import('../../tiptap/vue-3').Mark<ExtensionOptions & ItalicOptions, any>;
|
|
3
|
+
declare const Italic: import('@tiptap/core').Mark<ExtensionOptions & ItalicOptions, any>;
|
|
5
4
|
export default Italic;
|