@mario9/tiptap-editor 0.1.5 → 0.2.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/index.d.ts +46 -17
- package/dist/tiptap-editor.css +1 -1
- package/dist/tiptap-editor.js +759 -697
- package/dist/tiptap-editor.umd.cjs +1 -1
- package/package.json +8 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,37 @@
|
|
|
1
|
+
import { BuiltinToolbarItem } from './types';
|
|
2
|
+
import { default as CodeBlockButton } from './tiptap-ui/CodeBlockButton';
|
|
1
3
|
import { Component } from 'vue';
|
|
2
4
|
import { ComponentOptionsMixin } from 'vue';
|
|
3
5
|
import { ComponentProvideOptions } from 'vue';
|
|
6
|
+
import { CustomToolbarItem } from './types';
|
|
7
|
+
import { DEFAULT_TOOLBAR_CONFIG } from './types/toolbar';
|
|
4
8
|
import { DefineComponent } from 'vue';
|
|
5
9
|
import { ExtractPropTypes } from 'vue';
|
|
10
|
+
import { default as ImageButton } from './tiptap-ui/ImageButton';
|
|
6
11
|
import { ImageOptions } from '@tiptap/extension-image';
|
|
7
12
|
import { JSX } from 'vue/jsx-runtime';
|
|
13
|
+
import { default as ListButton } from './tiptap-ui/ListButton';
|
|
14
|
+
import { default as MathButton } from './tiptap-ui/MathButton';
|
|
8
15
|
import { Node as Node_2 } from '@tiptap/core';
|
|
9
16
|
import { PropType } from 'vue';
|
|
10
17
|
import { PublicProps } from 'vue';
|
|
18
|
+
import { default as TableButton } from './tiptap-ui/TableButton';
|
|
19
|
+
import { default as TextAlignButton } from './tiptap-ui/TextAlignButton';
|
|
20
|
+
import { default as TextStyleButton } from './tiptap-ui/TextStyleButton';
|
|
21
|
+
import { default as TiptapEditor } from './TiptapEditor';
|
|
22
|
+
import { ToolbarConfig } from './types';
|
|
23
|
+
import { ToolbarItem } from './types';
|
|
24
|
+
import { ToolbarSeparator } from './types';
|
|
25
|
+
import { default as UndoRedoButton } from './tiptap-ui/UndoRedoButton';
|
|
26
|
+
import { UploadFn } from './types';
|
|
11
27
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
28
|
+
export { BuiltinToolbarItem }
|
|
29
|
+
|
|
30
|
+
export { CodeBlockButton }
|
|
31
|
+
|
|
32
|
+
export { CustomToolbarItem }
|
|
33
|
+
|
|
34
|
+
export { DEFAULT_TOOLBAR_CONFIG }
|
|
18
35
|
|
|
19
36
|
export declare const IconButton: DefineComponent<ExtractPropTypes< {
|
|
20
37
|
icon: {
|
|
@@ -59,19 +76,31 @@ isActive: boolean;
|
|
|
59
76
|
disabled: boolean;
|
|
60
77
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
61
78
|
|
|
79
|
+
export { ImageButton }
|
|
80
|
+
|
|
62
81
|
export declare const ImageWithAlign: Node_2<ImageOptions, any>;
|
|
63
82
|
|
|
64
|
-
export
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
export
|
|
83
|
+
export { ListButton }
|
|
84
|
+
|
|
85
|
+
export { MathButton }
|
|
86
|
+
|
|
87
|
+
export { TableButton }
|
|
88
|
+
|
|
89
|
+
export { TextAlignButton }
|
|
90
|
+
|
|
91
|
+
export { TextStyleButton }
|
|
92
|
+
|
|
93
|
+
export { TiptapEditor }
|
|
94
|
+
|
|
95
|
+
export { ToolbarConfig }
|
|
96
|
+
|
|
97
|
+
export { ToolbarItem }
|
|
98
|
+
|
|
99
|
+
export { ToolbarSeparator }
|
|
100
|
+
|
|
101
|
+
export { UndoRedoButton }
|
|
102
|
+
|
|
103
|
+
export { UploadFn }
|
|
75
104
|
|
|
76
105
|
export { }
|
|
77
106
|
|