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/Image.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/Image.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/ImageGif.d.cts
CHANGED
|
@@ -60,8 +60,9 @@ declare module '@tiptap/core' {
|
|
|
60
60
|
|
|
61
61
|
declare module '@tiptap/core' {
|
|
62
62
|
interface Commands<ReturnType> {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
drawer: {
|
|
64
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
65
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
}
|
|
@@ -69,9 +70,8 @@ declare module '@tiptap/core' {
|
|
|
69
70
|
|
|
70
71
|
declare module '@tiptap/core' {
|
|
71
72
|
interface Commands<ReturnType> {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
73
|
+
excalidraw: {
|
|
74
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -95,15 +95,6 @@ declare module '@tiptap/core' {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
declare module '@tiptap/core' {
|
|
99
|
-
interface Commands<ReturnType> {
|
|
100
|
-
painter: {
|
|
101
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
98
|
declare module '@tiptap/core' {
|
|
108
99
|
interface Commands<ReturnType> {
|
|
109
100
|
fontSize: {
|
|
@@ -122,6 +113,15 @@ declare module '@tiptap/core' {
|
|
|
122
113
|
}
|
|
123
114
|
|
|
124
115
|
|
|
116
|
+
declare module '@tiptap/core' {
|
|
117
|
+
interface Commands<ReturnType> {
|
|
118
|
+
painter: {
|
|
119
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
125
|
declare module '@tiptap/core' {
|
|
126
126
|
interface Commands<ReturnType> {
|
|
127
127
|
iframe: {
|
|
@@ -157,6 +157,22 @@ declare module '@tiptap/core' {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
|
|
160
|
+
declare module '@tiptap/core' {
|
|
161
|
+
interface Commands<ReturnType> {
|
|
162
|
+
indent: {
|
|
163
|
+
/**
|
|
164
|
+
* Set the indent attribute
|
|
165
|
+
*/
|
|
166
|
+
indent: () => ReturnType;
|
|
167
|
+
/**
|
|
168
|
+
* Set the outdent attribute
|
|
169
|
+
*/
|
|
170
|
+
outdent: () => ReturnType;
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
|
|
160
176
|
declare module '@tiptap/core' {
|
|
161
177
|
interface Commands<ReturnType> {
|
|
162
178
|
imageGifUpload: {
|
|
@@ -188,15 +204,9 @@ declare module '@tiptap/core' {
|
|
|
188
204
|
|
|
189
205
|
declare module '@tiptap/core' {
|
|
190
206
|
interface Commands<ReturnType> {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
*/
|
|
195
|
-
indent: () => ReturnType;
|
|
196
|
-
/**
|
|
197
|
-
* Set the outdent attribute
|
|
198
|
-
*/
|
|
199
|
-
outdent: () => ReturnType;
|
|
207
|
+
lineHeight: {
|
|
208
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
209
|
+
unsetLineHeight: () => ReturnType;
|
|
200
210
|
};
|
|
201
211
|
}
|
|
202
212
|
}
|
|
@@ -204,9 +214,9 @@ declare module '@tiptap/core' {
|
|
|
204
214
|
|
|
205
215
|
declare module '@tiptap/core' {
|
|
206
216
|
interface Commands<ReturnType> {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
217
|
+
mermaid: {
|
|
218
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
219
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
210
220
|
};
|
|
211
221
|
}
|
|
212
222
|
}
|
|
@@ -226,26 +236,6 @@ declare module '@tiptap/core' {
|
|
|
226
236
|
}
|
|
227
237
|
|
|
228
238
|
|
|
229
|
-
declare module '@tiptap/core' {
|
|
230
|
-
interface Commands<ReturnType> {
|
|
231
|
-
mermaid: {
|
|
232
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
233
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
declare module '@tiptap/core' {
|
|
240
|
-
interface Commands<ReturnType> {
|
|
241
|
-
tableOfContents: {
|
|
242
|
-
setTableOfContents: () => ReturnType;
|
|
243
|
-
removeTableOfContents: () => ReturnType;
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
|
|
249
239
|
declare module '@tiptap/core' {
|
|
250
240
|
interface Commands<ReturnType> {
|
|
251
241
|
search: {
|
|
@@ -269,6 +259,16 @@ declare module '@tiptap/core' {
|
|
|
269
259
|
}
|
|
270
260
|
|
|
271
261
|
|
|
262
|
+
declare module '@tiptap/core' {
|
|
263
|
+
interface Commands<ReturnType> {
|
|
264
|
+
tableOfContents: {
|
|
265
|
+
setTableOfContents: () => ReturnType;
|
|
266
|
+
removeTableOfContents: () => ReturnType;
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
272
|
declare module '@tiptap/core' {
|
|
273
273
|
interface Commands<ReturnType> {
|
|
274
274
|
twitter: {
|
package/lib/ImageGif.d.ts
CHANGED
|
@@ -60,8 +60,9 @@ declare module '@tiptap/core' {
|
|
|
60
60
|
|
|
61
61
|
declare module '@tiptap/core' {
|
|
62
62
|
interface Commands<ReturnType> {
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
drawer: {
|
|
64
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
65
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
65
66
|
};
|
|
66
67
|
}
|
|
67
68
|
}
|
|
@@ -69,9 +70,8 @@ declare module '@tiptap/core' {
|
|
|
69
70
|
|
|
70
71
|
declare module '@tiptap/core' {
|
|
71
72
|
interface Commands<ReturnType> {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
73
|
+
excalidraw: {
|
|
74
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
75
75
|
};
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -95,15 +95,6 @@ declare module '@tiptap/core' {
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
|
|
98
|
-
declare module '@tiptap/core' {
|
|
99
|
-
interface Commands<ReturnType> {
|
|
100
|
-
painter: {
|
|
101
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
|
|
107
98
|
declare module '@tiptap/core' {
|
|
108
99
|
interface Commands<ReturnType> {
|
|
109
100
|
fontSize: {
|
|
@@ -122,6 +113,15 @@ declare module '@tiptap/core' {
|
|
|
122
113
|
}
|
|
123
114
|
|
|
124
115
|
|
|
116
|
+
declare module '@tiptap/core' {
|
|
117
|
+
interface Commands<ReturnType> {
|
|
118
|
+
painter: {
|
|
119
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
125
|
declare module '@tiptap/core' {
|
|
126
126
|
interface Commands<ReturnType> {
|
|
127
127
|
iframe: {
|
|
@@ -157,6 +157,22 @@ declare module '@tiptap/core' {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
|
|
160
|
+
declare module '@tiptap/core' {
|
|
161
|
+
interface Commands<ReturnType> {
|
|
162
|
+
indent: {
|
|
163
|
+
/**
|
|
164
|
+
* Set the indent attribute
|
|
165
|
+
*/
|
|
166
|
+
indent: () => ReturnType;
|
|
167
|
+
/**
|
|
168
|
+
* Set the outdent attribute
|
|
169
|
+
*/
|
|
170
|
+
outdent: () => ReturnType;
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
|
|
160
176
|
declare module '@tiptap/core' {
|
|
161
177
|
interface Commands<ReturnType> {
|
|
162
178
|
imageGifUpload: {
|
|
@@ -188,15 +204,9 @@ declare module '@tiptap/core' {
|
|
|
188
204
|
|
|
189
205
|
declare module '@tiptap/core' {
|
|
190
206
|
interface Commands<ReturnType> {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
*/
|
|
195
|
-
indent: () => ReturnType;
|
|
196
|
-
/**
|
|
197
|
-
* Set the outdent attribute
|
|
198
|
-
*/
|
|
199
|
-
outdent: () => ReturnType;
|
|
207
|
+
lineHeight: {
|
|
208
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
209
|
+
unsetLineHeight: () => ReturnType;
|
|
200
210
|
};
|
|
201
211
|
}
|
|
202
212
|
}
|
|
@@ -204,9 +214,9 @@ declare module '@tiptap/core' {
|
|
|
204
214
|
|
|
205
215
|
declare module '@tiptap/core' {
|
|
206
216
|
interface Commands<ReturnType> {
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
217
|
+
mermaid: {
|
|
218
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
219
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
210
220
|
};
|
|
211
221
|
}
|
|
212
222
|
}
|
|
@@ -226,26 +236,6 @@ declare module '@tiptap/core' {
|
|
|
226
236
|
}
|
|
227
237
|
|
|
228
238
|
|
|
229
|
-
declare module '@tiptap/core' {
|
|
230
|
-
interface Commands<ReturnType> {
|
|
231
|
-
mermaid: {
|
|
232
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
233
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
234
|
-
};
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
declare module '@tiptap/core' {
|
|
240
|
-
interface Commands<ReturnType> {
|
|
241
|
-
tableOfContents: {
|
|
242
|
-
setTableOfContents: () => ReturnType;
|
|
243
|
-
removeTableOfContents: () => ReturnType;
|
|
244
|
-
};
|
|
245
|
-
}
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
|
|
249
239
|
declare module '@tiptap/core' {
|
|
250
240
|
interface Commands<ReturnType> {
|
|
251
241
|
search: {
|
|
@@ -269,6 +259,16 @@ declare module '@tiptap/core' {
|
|
|
269
259
|
}
|
|
270
260
|
|
|
271
261
|
|
|
262
|
+
declare module '@tiptap/core' {
|
|
263
|
+
interface Commands<ReturnType> {
|
|
264
|
+
tableOfContents: {
|
|
265
|
+
setTableOfContents: () => ReturnType;
|
|
266
|
+
removeTableOfContents: () => ReturnType;
|
|
267
|
+
};
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
272
|
declare module '@tiptap/core' {
|
|
273
273
|
interface Commands<ReturnType> {
|
|
274
274
|
twitter: {
|