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/Video.d.cts
CHANGED
|
@@ -147,8 +147,9 @@ declare module '@tiptap/core' {
|
|
|
147
147
|
|
|
148
148
|
declare module '@tiptap/core' {
|
|
149
149
|
interface Commands<ReturnType> {
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
drawer: {
|
|
151
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
152
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
152
153
|
};
|
|
153
154
|
}
|
|
154
155
|
}
|
|
@@ -156,9 +157,8 @@ declare module '@tiptap/core' {
|
|
|
156
157
|
|
|
157
158
|
declare module '@tiptap/core' {
|
|
158
159
|
interface Commands<ReturnType> {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
160
|
+
excalidraw: {
|
|
161
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -182,15 +182,6 @@ declare module '@tiptap/core' {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
declare module '@tiptap/core' {
|
|
186
|
-
interface Commands<ReturnType> {
|
|
187
|
-
painter: {
|
|
188
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
185
|
declare module '@tiptap/core' {
|
|
195
186
|
interface Commands<ReturnType> {
|
|
196
187
|
fontSize: {
|
|
@@ -209,6 +200,15 @@ declare module '@tiptap/core' {
|
|
|
209
200
|
}
|
|
210
201
|
|
|
211
202
|
|
|
203
|
+
declare module '@tiptap/core' {
|
|
204
|
+
interface Commands<ReturnType> {
|
|
205
|
+
painter: {
|
|
206
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
212
|
declare module '@tiptap/core' {
|
|
213
213
|
interface Commands<ReturnType> {
|
|
214
214
|
iframe: {
|
|
@@ -244,6 +244,22 @@ declare module '@tiptap/core' {
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
247
|
+
declare module '@tiptap/core' {
|
|
248
|
+
interface Commands<ReturnType> {
|
|
249
|
+
indent: {
|
|
250
|
+
/**
|
|
251
|
+
* Set the indent attribute
|
|
252
|
+
*/
|
|
253
|
+
indent: () => ReturnType;
|
|
254
|
+
/**
|
|
255
|
+
* Set the outdent attribute
|
|
256
|
+
*/
|
|
257
|
+
outdent: () => ReturnType;
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
|
|
247
263
|
declare module '@tiptap/core' {
|
|
248
264
|
interface Commands<ReturnType> {
|
|
249
265
|
imageGifUpload: {
|
|
@@ -275,15 +291,9 @@ declare module '@tiptap/core' {
|
|
|
275
291
|
|
|
276
292
|
declare module '@tiptap/core' {
|
|
277
293
|
interface Commands<ReturnType> {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
*/
|
|
282
|
-
indent: () => ReturnType;
|
|
283
|
-
/**
|
|
284
|
-
* Set the outdent attribute
|
|
285
|
-
*/
|
|
286
|
-
outdent: () => ReturnType;
|
|
294
|
+
lineHeight: {
|
|
295
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
296
|
+
unsetLineHeight: () => ReturnType;
|
|
287
297
|
};
|
|
288
298
|
}
|
|
289
299
|
}
|
|
@@ -291,9 +301,9 @@ declare module '@tiptap/core' {
|
|
|
291
301
|
|
|
292
302
|
declare module '@tiptap/core' {
|
|
293
303
|
interface Commands<ReturnType> {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
304
|
+
mermaid: {
|
|
305
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
306
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
297
307
|
};
|
|
298
308
|
}
|
|
299
309
|
}
|
|
@@ -313,26 +323,6 @@ declare module '@tiptap/core' {
|
|
|
313
323
|
}
|
|
314
324
|
|
|
315
325
|
|
|
316
|
-
declare module '@tiptap/core' {
|
|
317
|
-
interface Commands<ReturnType> {
|
|
318
|
-
mermaid: {
|
|
319
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
320
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
declare module '@tiptap/core' {
|
|
327
|
-
interface Commands<ReturnType> {
|
|
328
|
-
tableOfContents: {
|
|
329
|
-
setTableOfContents: () => ReturnType;
|
|
330
|
-
removeTableOfContents: () => ReturnType;
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
336
326
|
declare module '@tiptap/core' {
|
|
337
327
|
interface Commands<ReturnType> {
|
|
338
328
|
search: {
|
|
@@ -356,6 +346,16 @@ declare module '@tiptap/core' {
|
|
|
356
346
|
}
|
|
357
347
|
|
|
358
348
|
|
|
349
|
+
declare module '@tiptap/core' {
|
|
350
|
+
interface Commands<ReturnType> {
|
|
351
|
+
tableOfContents: {
|
|
352
|
+
setTableOfContents: () => ReturnType;
|
|
353
|
+
removeTableOfContents: () => ReturnType;
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
|
|
359
359
|
declare module '@tiptap/core' {
|
|
360
360
|
interface Commands<ReturnType> {
|
|
361
361
|
twitter: {
|
package/lib/Video.d.ts
CHANGED
|
@@ -147,8 +147,9 @@ declare module '@tiptap/core' {
|
|
|
147
147
|
|
|
148
148
|
declare module '@tiptap/core' {
|
|
149
149
|
interface Commands<ReturnType> {
|
|
150
|
-
|
|
151
|
-
|
|
150
|
+
drawer: {
|
|
151
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
152
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
152
153
|
};
|
|
153
154
|
}
|
|
154
155
|
}
|
|
@@ -156,9 +157,8 @@ declare module '@tiptap/core' {
|
|
|
156
157
|
|
|
157
158
|
declare module '@tiptap/core' {
|
|
158
159
|
interface Commands<ReturnType> {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
160
|
+
excalidraw: {
|
|
161
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
162
162
|
};
|
|
163
163
|
}
|
|
164
164
|
}
|
|
@@ -182,15 +182,6 @@ declare module '@tiptap/core' {
|
|
|
182
182
|
}
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
declare module '@tiptap/core' {
|
|
186
|
-
interface Commands<ReturnType> {
|
|
187
|
-
painter: {
|
|
188
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
189
|
-
};
|
|
190
|
-
}
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
|
|
194
185
|
declare module '@tiptap/core' {
|
|
195
186
|
interface Commands<ReturnType> {
|
|
196
187
|
fontSize: {
|
|
@@ -209,6 +200,15 @@ declare module '@tiptap/core' {
|
|
|
209
200
|
}
|
|
210
201
|
|
|
211
202
|
|
|
203
|
+
declare module '@tiptap/core' {
|
|
204
|
+
interface Commands<ReturnType> {
|
|
205
|
+
painter: {
|
|
206
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
|
|
212
212
|
declare module '@tiptap/core' {
|
|
213
213
|
interface Commands<ReturnType> {
|
|
214
214
|
iframe: {
|
|
@@ -244,6 +244,22 @@ declare module '@tiptap/core' {
|
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
247
|
+
declare module '@tiptap/core' {
|
|
248
|
+
interface Commands<ReturnType> {
|
|
249
|
+
indent: {
|
|
250
|
+
/**
|
|
251
|
+
* Set the indent attribute
|
|
252
|
+
*/
|
|
253
|
+
indent: () => ReturnType;
|
|
254
|
+
/**
|
|
255
|
+
* Set the outdent attribute
|
|
256
|
+
*/
|
|
257
|
+
outdent: () => ReturnType;
|
|
258
|
+
};
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
|
|
247
263
|
declare module '@tiptap/core' {
|
|
248
264
|
interface Commands<ReturnType> {
|
|
249
265
|
imageGifUpload: {
|
|
@@ -275,15 +291,9 @@ declare module '@tiptap/core' {
|
|
|
275
291
|
|
|
276
292
|
declare module '@tiptap/core' {
|
|
277
293
|
interface Commands<ReturnType> {
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
*/
|
|
282
|
-
indent: () => ReturnType;
|
|
283
|
-
/**
|
|
284
|
-
* Set the outdent attribute
|
|
285
|
-
*/
|
|
286
|
-
outdent: () => ReturnType;
|
|
294
|
+
lineHeight: {
|
|
295
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
296
|
+
unsetLineHeight: () => ReturnType;
|
|
287
297
|
};
|
|
288
298
|
}
|
|
289
299
|
}
|
|
@@ -291,9 +301,9 @@ declare module '@tiptap/core' {
|
|
|
291
301
|
|
|
292
302
|
declare module '@tiptap/core' {
|
|
293
303
|
interface Commands<ReturnType> {
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
304
|
+
mermaid: {
|
|
305
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
306
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
297
307
|
};
|
|
298
308
|
}
|
|
299
309
|
}
|
|
@@ -313,26 +323,6 @@ declare module '@tiptap/core' {
|
|
|
313
323
|
}
|
|
314
324
|
|
|
315
325
|
|
|
316
|
-
declare module '@tiptap/core' {
|
|
317
|
-
interface Commands<ReturnType> {
|
|
318
|
-
mermaid: {
|
|
319
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
320
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
declare module '@tiptap/core' {
|
|
327
|
-
interface Commands<ReturnType> {
|
|
328
|
-
tableOfContents: {
|
|
329
|
-
setTableOfContents: () => ReturnType;
|
|
330
|
-
removeTableOfContents: () => ReturnType;
|
|
331
|
-
};
|
|
332
|
-
}
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
|
|
336
326
|
declare module '@tiptap/core' {
|
|
337
327
|
interface Commands<ReturnType> {
|
|
338
328
|
search: {
|
|
@@ -356,6 +346,16 @@ declare module '@tiptap/core' {
|
|
|
356
346
|
}
|
|
357
347
|
|
|
358
348
|
|
|
349
|
+
declare module '@tiptap/core' {
|
|
350
|
+
interface Commands<ReturnType> {
|
|
351
|
+
tableOfContents: {
|
|
352
|
+
setTableOfContents: () => ReturnType;
|
|
353
|
+
removeTableOfContents: () => ReturnType;
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
|
|
359
359
|
declare module '@tiptap/core' {
|
|
360
360
|
interface Commands<ReturnType> {
|
|
361
361
|
twitter: {
|
package/lib/bubble-extra.d.cts
CHANGED
|
@@ -61,8 +61,9 @@ declare module '@tiptap/core' {
|
|
|
61
61
|
|
|
62
62
|
declare module '@tiptap/core' {
|
|
63
63
|
interface Commands<ReturnType> {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
drawer: {
|
|
65
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
66
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
66
67
|
};
|
|
67
68
|
}
|
|
68
69
|
}
|
|
@@ -70,9 +71,8 @@ declare module '@tiptap/core' {
|
|
|
70
71
|
|
|
71
72
|
declare module '@tiptap/core' {
|
|
72
73
|
interface Commands<ReturnType> {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
74
|
+
excalidraw: {
|
|
75
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -96,15 +96,6 @@ declare module '@tiptap/core' {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
declare module '@tiptap/core' {
|
|
100
|
-
interface Commands<ReturnType> {
|
|
101
|
-
painter: {
|
|
102
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
99
|
declare module '@tiptap/core' {
|
|
109
100
|
interface Commands<ReturnType> {
|
|
110
101
|
fontSize: {
|
|
@@ -123,6 +114,15 @@ declare module '@tiptap/core' {
|
|
|
123
114
|
}
|
|
124
115
|
|
|
125
116
|
|
|
117
|
+
declare module '@tiptap/core' {
|
|
118
|
+
interface Commands<ReturnType> {
|
|
119
|
+
painter: {
|
|
120
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
126
|
declare module '@tiptap/core' {
|
|
127
127
|
interface Commands<ReturnType> {
|
|
128
128
|
iframe: {
|
|
@@ -158,6 +158,22 @@ declare module '@tiptap/core' {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
|
|
161
|
+
declare module '@tiptap/core' {
|
|
162
|
+
interface Commands<ReturnType> {
|
|
163
|
+
indent: {
|
|
164
|
+
/**
|
|
165
|
+
* Set the indent attribute
|
|
166
|
+
*/
|
|
167
|
+
indent: () => ReturnType;
|
|
168
|
+
/**
|
|
169
|
+
* Set the outdent attribute
|
|
170
|
+
*/
|
|
171
|
+
outdent: () => ReturnType;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
161
177
|
declare module '@tiptap/core' {
|
|
162
178
|
interface Commands<ReturnType> {
|
|
163
179
|
imageGifUpload: {
|
|
@@ -189,15 +205,9 @@ declare module '@tiptap/core' {
|
|
|
189
205
|
|
|
190
206
|
declare module '@tiptap/core' {
|
|
191
207
|
interface Commands<ReturnType> {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
*/
|
|
196
|
-
indent: () => ReturnType;
|
|
197
|
-
/**
|
|
198
|
-
* Set the outdent attribute
|
|
199
|
-
*/
|
|
200
|
-
outdent: () => ReturnType;
|
|
208
|
+
lineHeight: {
|
|
209
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
210
|
+
unsetLineHeight: () => ReturnType;
|
|
201
211
|
};
|
|
202
212
|
}
|
|
203
213
|
}
|
|
@@ -205,9 +215,9 @@ declare module '@tiptap/core' {
|
|
|
205
215
|
|
|
206
216
|
declare module '@tiptap/core' {
|
|
207
217
|
interface Commands<ReturnType> {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
218
|
+
mermaid: {
|
|
219
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
220
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
211
221
|
};
|
|
212
222
|
}
|
|
213
223
|
}
|
|
@@ -227,26 +237,6 @@ declare module '@tiptap/core' {
|
|
|
227
237
|
}
|
|
228
238
|
|
|
229
239
|
|
|
230
|
-
declare module '@tiptap/core' {
|
|
231
|
-
interface Commands<ReturnType> {
|
|
232
|
-
mermaid: {
|
|
233
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
234
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
declare module '@tiptap/core' {
|
|
241
|
-
interface Commands<ReturnType> {
|
|
242
|
-
tableOfContents: {
|
|
243
|
-
setTableOfContents: () => ReturnType;
|
|
244
|
-
removeTableOfContents: () => ReturnType;
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
250
240
|
declare module '@tiptap/core' {
|
|
251
241
|
interface Commands<ReturnType> {
|
|
252
242
|
search: {
|
|
@@ -270,6 +260,16 @@ declare module '@tiptap/core' {
|
|
|
270
260
|
}
|
|
271
261
|
|
|
272
262
|
|
|
263
|
+
declare module '@tiptap/core' {
|
|
264
|
+
interface Commands<ReturnType> {
|
|
265
|
+
tableOfContents: {
|
|
266
|
+
setTableOfContents: () => ReturnType;
|
|
267
|
+
removeTableOfContents: () => ReturnType;
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
273
|
declare module '@tiptap/core' {
|
|
274
274
|
interface Commands<ReturnType> {
|
|
275
275
|
twitter: {
|
package/lib/bubble-extra.d.ts
CHANGED
|
@@ -61,8 +61,9 @@ declare module '@tiptap/core' {
|
|
|
61
61
|
|
|
62
62
|
declare module '@tiptap/core' {
|
|
63
63
|
interface Commands<ReturnType> {
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
drawer: {
|
|
65
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
66
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
66
67
|
};
|
|
67
68
|
}
|
|
68
69
|
}
|
|
@@ -70,9 +71,8 @@ declare module '@tiptap/core' {
|
|
|
70
71
|
|
|
71
72
|
declare module '@tiptap/core' {
|
|
72
73
|
interface Commands<ReturnType> {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
74
|
+
excalidraw: {
|
|
75
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
76
76
|
};
|
|
77
77
|
}
|
|
78
78
|
}
|
|
@@ -96,15 +96,6 @@ declare module '@tiptap/core' {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
|
|
99
|
-
declare module '@tiptap/core' {
|
|
100
|
-
interface Commands<ReturnType> {
|
|
101
|
-
painter: {
|
|
102
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
|
|
108
99
|
declare module '@tiptap/core' {
|
|
109
100
|
interface Commands<ReturnType> {
|
|
110
101
|
fontSize: {
|
|
@@ -123,6 +114,15 @@ declare module '@tiptap/core' {
|
|
|
123
114
|
}
|
|
124
115
|
|
|
125
116
|
|
|
117
|
+
declare module '@tiptap/core' {
|
|
118
|
+
interface Commands<ReturnType> {
|
|
119
|
+
painter: {
|
|
120
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
|
|
126
126
|
declare module '@tiptap/core' {
|
|
127
127
|
interface Commands<ReturnType> {
|
|
128
128
|
iframe: {
|
|
@@ -158,6 +158,22 @@ declare module '@tiptap/core' {
|
|
|
158
158
|
}
|
|
159
159
|
|
|
160
160
|
|
|
161
|
+
declare module '@tiptap/core' {
|
|
162
|
+
interface Commands<ReturnType> {
|
|
163
|
+
indent: {
|
|
164
|
+
/**
|
|
165
|
+
* Set the indent attribute
|
|
166
|
+
*/
|
|
167
|
+
indent: () => ReturnType;
|
|
168
|
+
/**
|
|
169
|
+
* Set the outdent attribute
|
|
170
|
+
*/
|
|
171
|
+
outdent: () => ReturnType;
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
161
177
|
declare module '@tiptap/core' {
|
|
162
178
|
interface Commands<ReturnType> {
|
|
163
179
|
imageGifUpload: {
|
|
@@ -189,15 +205,9 @@ declare module '@tiptap/core' {
|
|
|
189
205
|
|
|
190
206
|
declare module '@tiptap/core' {
|
|
191
207
|
interface Commands<ReturnType> {
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
*/
|
|
196
|
-
indent: () => ReturnType;
|
|
197
|
-
/**
|
|
198
|
-
* Set the outdent attribute
|
|
199
|
-
*/
|
|
200
|
-
outdent: () => ReturnType;
|
|
208
|
+
lineHeight: {
|
|
209
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
210
|
+
unsetLineHeight: () => ReturnType;
|
|
201
211
|
};
|
|
202
212
|
}
|
|
203
213
|
}
|
|
@@ -205,9 +215,9 @@ declare module '@tiptap/core' {
|
|
|
205
215
|
|
|
206
216
|
declare module '@tiptap/core' {
|
|
207
217
|
interface Commands<ReturnType> {
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
218
|
+
mermaid: {
|
|
219
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
220
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
211
221
|
};
|
|
212
222
|
}
|
|
213
223
|
}
|
|
@@ -227,26 +237,6 @@ declare module '@tiptap/core' {
|
|
|
227
237
|
}
|
|
228
238
|
|
|
229
239
|
|
|
230
|
-
declare module '@tiptap/core' {
|
|
231
|
-
interface Commands<ReturnType> {
|
|
232
|
-
mermaid: {
|
|
233
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
234
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
235
|
-
};
|
|
236
|
-
}
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
declare module '@tiptap/core' {
|
|
241
|
-
interface Commands<ReturnType> {
|
|
242
|
-
tableOfContents: {
|
|
243
|
-
setTableOfContents: () => ReturnType;
|
|
244
|
-
removeTableOfContents: () => ReturnType;
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
250
240
|
declare module '@tiptap/core' {
|
|
251
241
|
interface Commands<ReturnType> {
|
|
252
242
|
search: {
|
|
@@ -270,6 +260,16 @@ declare module '@tiptap/core' {
|
|
|
270
260
|
}
|
|
271
261
|
|
|
272
262
|
|
|
263
|
+
declare module '@tiptap/core' {
|
|
264
|
+
interface Commands<ReturnType> {
|
|
265
|
+
tableOfContents: {
|
|
266
|
+
setTableOfContents: () => ReturnType;
|
|
267
|
+
removeTableOfContents: () => ReturnType;
|
|
268
|
+
};
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
273
|
declare module '@tiptap/core' {
|
|
274
274
|
interface Commands<ReturnType> {
|
|
275
275
|
twitter: {
|