reactjs-tiptap-editor 0.4.0 → 0.4.1
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/lib/Attachment.d.cts +46 -46
- package/lib/Attachment.d.ts +46 -46
- package/lib/BaseKit.d.cts +46 -46
- package/lib/BaseKit.d.ts +46 -46
- package/lib/Blockquote.d.cts +46 -46
- package/lib/Blockquote.d.ts +46 -46
- package/lib/Bold.d.cts +46 -46
- package/lib/Bold.d.ts +46 -46
- package/lib/BulletList.d.cts +46 -46
- package/lib/BulletList.d.ts +46 -46
- package/lib/Clear.d.cts +46 -46
- package/lib/Clear.d.ts +46 -46
- package/lib/Code.d.cts +46 -46
- package/lib/Code.d.ts +46 -46
- package/lib/CodeBlock.d.cts +46 -46
- package/lib/CodeBlock.d.ts +46 -46
- package/lib/CodeView.d.cts +46 -46
- package/lib/CodeView.d.ts +46 -46
- package/lib/Color.d.cts +46 -46
- package/lib/Color.d.ts +46 -46
- package/lib/Document.d.cts +46 -46
- package/lib/Document.d.ts +46 -46
- package/lib/Drawer.d.cts +46 -46
- package/lib/Drawer.d.ts +46 -46
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +46 -46
- package/lib/Emoji.d.ts +46 -46
- package/lib/Emoji.js +2 -2
- package/lib/Excalidraw.d.cts +46 -46
- package/lib/Excalidraw.d.ts +46 -46
- package/lib/ExportPdf.d.cts +46 -46
- package/lib/ExportPdf.d.ts +46 -46
- package/lib/ExportWord.d.cts +46 -46
- package/lib/ExportWord.d.ts +46 -46
- package/lib/FontFamily.d.cts +46 -46
- package/lib/FontFamily.d.ts +46 -46
- package/lib/FontSize.d.cts +46 -46
- package/lib/FontSize.d.ts +46 -46
- package/lib/FormatPainter.d.cts +46 -46
- package/lib/FormatPainter.d.ts +46 -46
- package/lib/Heading.d.cts +46 -46
- package/lib/Heading.d.ts +46 -46
- package/lib/Highlight.d.cts +46 -46
- package/lib/Highlight.d.ts +46 -46
- package/lib/History.d.cts +46 -46
- package/lib/History.d.ts +46 -46
- package/lib/HorizontalRule.d.cts +46 -46
- package/lib/HorizontalRule.d.ts +46 -46
- package/lib/Iframe.d.cts +46 -46
- package/lib/Iframe.d.ts +46 -46
- package/lib/Image.d.cts +46 -46
- package/lib/Image.d.ts +46 -46
- package/lib/ImageGif.d.cts +46 -46
- package/lib/ImageGif.d.ts +46 -46
- package/lib/ImportWord.d.cts +46 -46
- package/lib/ImportWord.d.ts +46 -46
- package/lib/Indent.d.cts +46 -46
- package/lib/Indent.d.ts +46 -46
- package/lib/Italic.d.cts +46 -46
- package/lib/Italic.d.ts +46 -46
- package/lib/Katex.d.cts +46 -46
- package/lib/Katex.d.ts +46 -46
- package/lib/LineHeight.d.cts +46 -46
- package/lib/LineHeight.d.ts +46 -46
- package/lib/Link.d.cts +46 -46
- package/lib/Link.d.ts +46 -46
- package/lib/ListItem.d.cts +46 -46
- package/lib/ListItem.d.ts +46 -46
- package/lib/Mention.d.cts +46 -46
- package/lib/Mention.d.ts +46 -46
- package/lib/Mermaid.d.cts +46 -46
- package/lib/Mermaid.d.ts +46 -46
- package/lib/MoreMark.d.cts +46 -46
- package/lib/MoreMark.d.ts +46 -46
- package/lib/MultiColumn.d.cts +46 -46
- package/lib/MultiColumn.d.ts +46 -46
- package/lib/OrderedList.d.cts +46 -46
- package/lib/OrderedList.d.ts +46 -46
- package/lib/SearchAndReplace.d.cts +46 -46
- package/lib/SearchAndReplace.d.ts +46 -46
- package/lib/Selection.d.cts +46 -46
- package/lib/Selection.d.ts +46 -46
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +46 -46
- package/lib/SlashCommand.d.ts +46 -46
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.d.cts +46 -46
- package/lib/Strike.d.ts +46 -46
- package/lib/SubAndSuperScript.d.cts +46 -46
- package/lib/SubAndSuperScript.d.ts +46 -46
- package/lib/Table.d.cts +46 -46
- package/lib/Table.d.ts +46 -46
- package/lib/TableOfContent.d.cts +46 -46
- package/lib/TableOfContent.d.ts +46 -46
- package/lib/TaskList.d.cts +46 -46
- package/lib/TaskList.d.ts +46 -46
- package/lib/TextAlign.d.cts +46 -46
- package/lib/TextAlign.d.ts +46 -46
- package/lib/TextBubble.d.cts +46 -46
- package/lib/TextBubble.d.ts +46 -46
- package/lib/TextDirection.d.cts +46 -46
- package/lib/TextDirection.d.ts +46 -46
- package/lib/TextUnderline.d.cts +46 -46
- package/lib/TextUnderline.d.ts +46 -46
- package/lib/TrailingNode.d.cts +46 -46
- package/lib/TrailingNode.d.ts +46 -46
- package/lib/Twitter.d.cts +46 -46
- package/lib/Twitter.d.ts +46 -46
- package/lib/Video.d.cts +46 -46
- package/lib/Video.d.ts +46 -46
- package/lib/bubble-extra.d.cts +46 -46
- package/lib/bubble-extra.d.ts +46 -46
- package/lib/index.d.cts +46 -46
- package/lib/index.d.ts +46 -46
- package/lib/locale-bundle.d.cts +46 -46
- package/lib/locale-bundle.d.ts +46 -46
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/TrailingNode.d.cts
CHANGED
|
@@ -47,8 +47,9 @@ declare module '@tiptap/core' {
|
|
|
47
47
|
|
|
48
48
|
declare module '@tiptap/core' {
|
|
49
49
|
interface Commands<ReturnType> {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
drawer: {
|
|
51
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
52
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -56,9 +57,8 @@ declare module '@tiptap/core' {
|
|
|
56
57
|
|
|
57
58
|
declare module '@tiptap/core' {
|
|
58
59
|
interface Commands<ReturnType> {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
60
|
+
excalidraw: {
|
|
61
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -82,15 +82,6 @@ declare module '@tiptap/core' {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
declare module '@tiptap/core' {
|
|
86
|
-
interface Commands<ReturnType> {
|
|
87
|
-
painter: {
|
|
88
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
85
|
declare module '@tiptap/core' {
|
|
95
86
|
interface Commands<ReturnType> {
|
|
96
87
|
fontSize: {
|
|
@@ -109,6 +100,15 @@ declare module '@tiptap/core' {
|
|
|
109
100
|
}
|
|
110
101
|
|
|
111
102
|
|
|
103
|
+
declare module '@tiptap/core' {
|
|
104
|
+
interface Commands<ReturnType> {
|
|
105
|
+
painter: {
|
|
106
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
112
|
declare module '@tiptap/core' {
|
|
113
113
|
interface Commands<ReturnType> {
|
|
114
114
|
iframe: {
|
|
@@ -144,6 +144,22 @@ declare module '@tiptap/core' {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
declare module '@tiptap/core' {
|
|
148
|
+
interface Commands<ReturnType> {
|
|
149
|
+
indent: {
|
|
150
|
+
/**
|
|
151
|
+
* Set the indent attribute
|
|
152
|
+
*/
|
|
153
|
+
indent: () => ReturnType;
|
|
154
|
+
/**
|
|
155
|
+
* Set the outdent attribute
|
|
156
|
+
*/
|
|
157
|
+
outdent: () => ReturnType;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
147
163
|
declare module '@tiptap/core' {
|
|
148
164
|
interface Commands<ReturnType> {
|
|
149
165
|
imageGifUpload: {
|
|
@@ -175,15 +191,9 @@ declare module '@tiptap/core' {
|
|
|
175
191
|
|
|
176
192
|
declare module '@tiptap/core' {
|
|
177
193
|
interface Commands<ReturnType> {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
*/
|
|
182
|
-
indent: () => ReturnType;
|
|
183
|
-
/**
|
|
184
|
-
* Set the outdent attribute
|
|
185
|
-
*/
|
|
186
|
-
outdent: () => ReturnType;
|
|
194
|
+
lineHeight: {
|
|
195
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
196
|
+
unsetLineHeight: () => ReturnType;
|
|
187
197
|
};
|
|
188
198
|
}
|
|
189
199
|
}
|
|
@@ -191,9 +201,9 @@ declare module '@tiptap/core' {
|
|
|
191
201
|
|
|
192
202
|
declare module '@tiptap/core' {
|
|
193
203
|
interface Commands<ReturnType> {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
204
|
+
mermaid: {
|
|
205
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
206
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
197
207
|
};
|
|
198
208
|
}
|
|
199
209
|
}
|
|
@@ -213,26 +223,6 @@ declare module '@tiptap/core' {
|
|
|
213
223
|
}
|
|
214
224
|
|
|
215
225
|
|
|
216
|
-
declare module '@tiptap/core' {
|
|
217
|
-
interface Commands<ReturnType> {
|
|
218
|
-
mermaid: {
|
|
219
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
220
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
declare module '@tiptap/core' {
|
|
227
|
-
interface Commands<ReturnType> {
|
|
228
|
-
tableOfContents: {
|
|
229
|
-
setTableOfContents: () => ReturnType;
|
|
230
|
-
removeTableOfContents: () => ReturnType;
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
226
|
declare module '@tiptap/core' {
|
|
237
227
|
interface Commands<ReturnType> {
|
|
238
228
|
search: {
|
|
@@ -256,6 +246,16 @@ declare module '@tiptap/core' {
|
|
|
256
246
|
}
|
|
257
247
|
|
|
258
248
|
|
|
249
|
+
declare module '@tiptap/core' {
|
|
250
|
+
interface Commands<ReturnType> {
|
|
251
|
+
tableOfContents: {
|
|
252
|
+
setTableOfContents: () => ReturnType;
|
|
253
|
+
removeTableOfContents: () => ReturnType;
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
259
|
declare module '@tiptap/core' {
|
|
260
260
|
interface Commands<ReturnType> {
|
|
261
261
|
twitter: {
|
package/lib/TrailingNode.d.ts
CHANGED
|
@@ -47,8 +47,9 @@ declare module '@tiptap/core' {
|
|
|
47
47
|
|
|
48
48
|
declare module '@tiptap/core' {
|
|
49
49
|
interface Commands<ReturnType> {
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
drawer: {
|
|
51
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
52
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
52
53
|
};
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -56,9 +57,8 @@ declare module '@tiptap/core' {
|
|
|
56
57
|
|
|
57
58
|
declare module '@tiptap/core' {
|
|
58
59
|
interface Commands<ReturnType> {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
60
|
+
excalidraw: {
|
|
61
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
}
|
|
@@ -82,15 +82,6 @@ declare module '@tiptap/core' {
|
|
|
82
82
|
}
|
|
83
83
|
|
|
84
84
|
|
|
85
|
-
declare module '@tiptap/core' {
|
|
86
|
-
interface Commands<ReturnType> {
|
|
87
|
-
painter: {
|
|
88
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
89
|
-
};
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
|
|
94
85
|
declare module '@tiptap/core' {
|
|
95
86
|
interface Commands<ReturnType> {
|
|
96
87
|
fontSize: {
|
|
@@ -109,6 +100,15 @@ declare module '@tiptap/core' {
|
|
|
109
100
|
}
|
|
110
101
|
|
|
111
102
|
|
|
103
|
+
declare module '@tiptap/core' {
|
|
104
|
+
interface Commands<ReturnType> {
|
|
105
|
+
painter: {
|
|
106
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
|
|
112
112
|
declare module '@tiptap/core' {
|
|
113
113
|
interface Commands<ReturnType> {
|
|
114
114
|
iframe: {
|
|
@@ -144,6 +144,22 @@ declare module '@tiptap/core' {
|
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
|
|
147
|
+
declare module '@tiptap/core' {
|
|
148
|
+
interface Commands<ReturnType> {
|
|
149
|
+
indent: {
|
|
150
|
+
/**
|
|
151
|
+
* Set the indent attribute
|
|
152
|
+
*/
|
|
153
|
+
indent: () => ReturnType;
|
|
154
|
+
/**
|
|
155
|
+
* Set the outdent attribute
|
|
156
|
+
*/
|
|
157
|
+
outdent: () => ReturnType;
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
147
163
|
declare module '@tiptap/core' {
|
|
148
164
|
interface Commands<ReturnType> {
|
|
149
165
|
imageGifUpload: {
|
|
@@ -175,15 +191,9 @@ declare module '@tiptap/core' {
|
|
|
175
191
|
|
|
176
192
|
declare module '@tiptap/core' {
|
|
177
193
|
interface Commands<ReturnType> {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
*/
|
|
182
|
-
indent: () => ReturnType;
|
|
183
|
-
/**
|
|
184
|
-
* Set the outdent attribute
|
|
185
|
-
*/
|
|
186
|
-
outdent: () => ReturnType;
|
|
194
|
+
lineHeight: {
|
|
195
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
196
|
+
unsetLineHeight: () => ReturnType;
|
|
187
197
|
};
|
|
188
198
|
}
|
|
189
199
|
}
|
|
@@ -191,9 +201,9 @@ declare module '@tiptap/core' {
|
|
|
191
201
|
|
|
192
202
|
declare module '@tiptap/core' {
|
|
193
203
|
interface Commands<ReturnType> {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
204
|
+
mermaid: {
|
|
205
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
206
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
197
207
|
};
|
|
198
208
|
}
|
|
199
209
|
}
|
|
@@ -213,26 +223,6 @@ declare module '@tiptap/core' {
|
|
|
213
223
|
}
|
|
214
224
|
|
|
215
225
|
|
|
216
|
-
declare module '@tiptap/core' {
|
|
217
|
-
interface Commands<ReturnType> {
|
|
218
|
-
mermaid: {
|
|
219
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
220
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
221
|
-
};
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
declare module '@tiptap/core' {
|
|
227
|
-
interface Commands<ReturnType> {
|
|
228
|
-
tableOfContents: {
|
|
229
|
-
setTableOfContents: () => ReturnType;
|
|
230
|
-
removeTableOfContents: () => ReturnType;
|
|
231
|
-
};
|
|
232
|
-
}
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
226
|
declare module '@tiptap/core' {
|
|
237
227
|
interface Commands<ReturnType> {
|
|
238
228
|
search: {
|
|
@@ -256,6 +246,16 @@ declare module '@tiptap/core' {
|
|
|
256
246
|
}
|
|
257
247
|
|
|
258
248
|
|
|
249
|
+
declare module '@tiptap/core' {
|
|
250
|
+
interface Commands<ReturnType> {
|
|
251
|
+
tableOfContents: {
|
|
252
|
+
setTableOfContents: () => ReturnType;
|
|
253
|
+
removeTableOfContents: () => ReturnType;
|
|
254
|
+
};
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
|
|
259
259
|
declare module '@tiptap/core' {
|
|
260
260
|
interface Commands<ReturnType> {
|
|
261
261
|
twitter: {
|
package/lib/Twitter.d.cts
CHANGED
|
@@ -62,8 +62,9 @@ declare module '@tiptap/core' {
|
|
|
62
62
|
|
|
63
63
|
declare module '@tiptap/core' {
|
|
64
64
|
interface Commands<ReturnType> {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
drawer: {
|
|
66
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
67
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
67
68
|
};
|
|
68
69
|
}
|
|
69
70
|
}
|
|
@@ -71,9 +72,8 @@ declare module '@tiptap/core' {
|
|
|
71
72
|
|
|
72
73
|
declare module '@tiptap/core' {
|
|
73
74
|
interface Commands<ReturnType> {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
75
|
+
excalidraw: {
|
|
76
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -97,15 +97,6 @@ declare module '@tiptap/core' {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
declare module '@tiptap/core' {
|
|
101
|
-
interface Commands<ReturnType> {
|
|
102
|
-
painter: {
|
|
103
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
100
|
declare module '@tiptap/core' {
|
|
110
101
|
interface Commands<ReturnType> {
|
|
111
102
|
fontSize: {
|
|
@@ -124,6 +115,15 @@ declare module '@tiptap/core' {
|
|
|
124
115
|
}
|
|
125
116
|
|
|
126
117
|
|
|
118
|
+
declare module '@tiptap/core' {
|
|
119
|
+
interface Commands<ReturnType> {
|
|
120
|
+
painter: {
|
|
121
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
127
|
declare module '@tiptap/core' {
|
|
128
128
|
interface Commands<ReturnType> {
|
|
129
129
|
iframe: {
|
|
@@ -159,6 +159,22 @@ declare module '@tiptap/core' {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
|
|
162
|
+
declare module '@tiptap/core' {
|
|
163
|
+
interface Commands<ReturnType> {
|
|
164
|
+
indent: {
|
|
165
|
+
/**
|
|
166
|
+
* Set the indent attribute
|
|
167
|
+
*/
|
|
168
|
+
indent: () => ReturnType;
|
|
169
|
+
/**
|
|
170
|
+
* Set the outdent attribute
|
|
171
|
+
*/
|
|
172
|
+
outdent: () => ReturnType;
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
162
178
|
declare module '@tiptap/core' {
|
|
163
179
|
interface Commands<ReturnType> {
|
|
164
180
|
imageGifUpload: {
|
|
@@ -190,15 +206,9 @@ declare module '@tiptap/core' {
|
|
|
190
206
|
|
|
191
207
|
declare module '@tiptap/core' {
|
|
192
208
|
interface Commands<ReturnType> {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
*/
|
|
197
|
-
indent: () => ReturnType;
|
|
198
|
-
/**
|
|
199
|
-
* Set the outdent attribute
|
|
200
|
-
*/
|
|
201
|
-
outdent: () => ReturnType;
|
|
209
|
+
lineHeight: {
|
|
210
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
211
|
+
unsetLineHeight: () => ReturnType;
|
|
202
212
|
};
|
|
203
213
|
}
|
|
204
214
|
}
|
|
@@ -206,9 +216,9 @@ declare module '@tiptap/core' {
|
|
|
206
216
|
|
|
207
217
|
declare module '@tiptap/core' {
|
|
208
218
|
interface Commands<ReturnType> {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
219
|
+
mermaid: {
|
|
220
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
221
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
212
222
|
};
|
|
213
223
|
}
|
|
214
224
|
}
|
|
@@ -228,26 +238,6 @@ declare module '@tiptap/core' {
|
|
|
228
238
|
}
|
|
229
239
|
|
|
230
240
|
|
|
231
|
-
declare module '@tiptap/core' {
|
|
232
|
-
interface Commands<ReturnType> {
|
|
233
|
-
mermaid: {
|
|
234
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
235
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
declare module '@tiptap/core' {
|
|
242
|
-
interface Commands<ReturnType> {
|
|
243
|
-
tableOfContents: {
|
|
244
|
-
setTableOfContents: () => ReturnType;
|
|
245
|
-
removeTableOfContents: () => ReturnType;
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
241
|
declare module '@tiptap/core' {
|
|
252
242
|
interface Commands<ReturnType> {
|
|
253
243
|
search: {
|
|
@@ -271,6 +261,16 @@ declare module '@tiptap/core' {
|
|
|
271
261
|
}
|
|
272
262
|
|
|
273
263
|
|
|
264
|
+
declare module '@tiptap/core' {
|
|
265
|
+
interface Commands<ReturnType> {
|
|
266
|
+
tableOfContents: {
|
|
267
|
+
setTableOfContents: () => ReturnType;
|
|
268
|
+
removeTableOfContents: () => ReturnType;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
274
274
|
declare module '@tiptap/core' {
|
|
275
275
|
interface Commands<ReturnType> {
|
|
276
276
|
twitter: {
|
package/lib/Twitter.d.ts
CHANGED
|
@@ -62,8 +62,9 @@ declare module '@tiptap/core' {
|
|
|
62
62
|
|
|
63
63
|
declare module '@tiptap/core' {
|
|
64
64
|
interface Commands<ReturnType> {
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
drawer: {
|
|
66
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
67
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
67
68
|
};
|
|
68
69
|
}
|
|
69
70
|
}
|
|
@@ -71,9 +72,8 @@ declare module '@tiptap/core' {
|
|
|
71
72
|
|
|
72
73
|
declare module '@tiptap/core' {
|
|
73
74
|
interface Commands<ReturnType> {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
75
|
+
excalidraw: {
|
|
76
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
}
|
|
@@ -97,15 +97,6 @@ declare module '@tiptap/core' {
|
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
|
|
100
|
-
declare module '@tiptap/core' {
|
|
101
|
-
interface Commands<ReturnType> {
|
|
102
|
-
painter: {
|
|
103
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
104
|
-
};
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
|
|
109
100
|
declare module '@tiptap/core' {
|
|
110
101
|
interface Commands<ReturnType> {
|
|
111
102
|
fontSize: {
|
|
@@ -124,6 +115,15 @@ declare module '@tiptap/core' {
|
|
|
124
115
|
}
|
|
125
116
|
|
|
126
117
|
|
|
118
|
+
declare module '@tiptap/core' {
|
|
119
|
+
interface Commands<ReturnType> {
|
|
120
|
+
painter: {
|
|
121
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
127
|
declare module '@tiptap/core' {
|
|
128
128
|
interface Commands<ReturnType> {
|
|
129
129
|
iframe: {
|
|
@@ -159,6 +159,22 @@ declare module '@tiptap/core' {
|
|
|
159
159
|
}
|
|
160
160
|
|
|
161
161
|
|
|
162
|
+
declare module '@tiptap/core' {
|
|
163
|
+
interface Commands<ReturnType> {
|
|
164
|
+
indent: {
|
|
165
|
+
/**
|
|
166
|
+
* Set the indent attribute
|
|
167
|
+
*/
|
|
168
|
+
indent: () => ReturnType;
|
|
169
|
+
/**
|
|
170
|
+
* Set the outdent attribute
|
|
171
|
+
*/
|
|
172
|
+
outdent: () => ReturnType;
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
|
|
162
178
|
declare module '@tiptap/core' {
|
|
163
179
|
interface Commands<ReturnType> {
|
|
164
180
|
imageGifUpload: {
|
|
@@ -190,15 +206,9 @@ declare module '@tiptap/core' {
|
|
|
190
206
|
|
|
191
207
|
declare module '@tiptap/core' {
|
|
192
208
|
interface Commands<ReturnType> {
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
*/
|
|
197
|
-
indent: () => ReturnType;
|
|
198
|
-
/**
|
|
199
|
-
* Set the outdent attribute
|
|
200
|
-
*/
|
|
201
|
-
outdent: () => ReturnType;
|
|
209
|
+
lineHeight: {
|
|
210
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
211
|
+
unsetLineHeight: () => ReturnType;
|
|
202
212
|
};
|
|
203
213
|
}
|
|
204
214
|
}
|
|
@@ -206,9 +216,9 @@ declare module '@tiptap/core' {
|
|
|
206
216
|
|
|
207
217
|
declare module '@tiptap/core' {
|
|
208
218
|
interface Commands<ReturnType> {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
219
|
+
mermaid: {
|
|
220
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
221
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
212
222
|
};
|
|
213
223
|
}
|
|
214
224
|
}
|
|
@@ -228,26 +238,6 @@ declare module '@tiptap/core' {
|
|
|
228
238
|
}
|
|
229
239
|
|
|
230
240
|
|
|
231
|
-
declare module '@tiptap/core' {
|
|
232
|
-
interface Commands<ReturnType> {
|
|
233
|
-
mermaid: {
|
|
234
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
235
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
declare module '@tiptap/core' {
|
|
242
|
-
interface Commands<ReturnType> {
|
|
243
|
-
tableOfContents: {
|
|
244
|
-
setTableOfContents: () => ReturnType;
|
|
245
|
-
removeTableOfContents: () => ReturnType;
|
|
246
|
-
};
|
|
247
|
-
}
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
|
|
251
241
|
declare module '@tiptap/core' {
|
|
252
242
|
interface Commands<ReturnType> {
|
|
253
243
|
search: {
|
|
@@ -271,6 +261,16 @@ declare module '@tiptap/core' {
|
|
|
271
261
|
}
|
|
272
262
|
|
|
273
263
|
|
|
264
|
+
declare module '@tiptap/core' {
|
|
265
|
+
interface Commands<ReturnType> {
|
|
266
|
+
tableOfContents: {
|
|
267
|
+
setTableOfContents: () => ReturnType;
|
|
268
|
+
removeTableOfContents: () => ReturnType;
|
|
269
|
+
};
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
|
|
274
274
|
declare module '@tiptap/core' {
|
|
275
275
|
interface Commands<ReturnType> {
|
|
276
276
|
twitter: {
|