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.
Files changed (118) hide show
  1. package/lib/Attachment.d.cts +46 -46
  2. package/lib/Attachment.d.ts +46 -46
  3. package/lib/BaseKit.d.cts +46 -46
  4. package/lib/BaseKit.d.ts +46 -46
  5. package/lib/Blockquote.d.cts +46 -46
  6. package/lib/Blockquote.d.ts +46 -46
  7. package/lib/Bold.d.cts +46 -46
  8. package/lib/Bold.d.ts +46 -46
  9. package/lib/BulletList.d.cts +46 -46
  10. package/lib/BulletList.d.ts +46 -46
  11. package/lib/Clear.d.cts +46 -46
  12. package/lib/Clear.d.ts +46 -46
  13. package/lib/Code.d.cts +46 -46
  14. package/lib/Code.d.ts +46 -46
  15. package/lib/CodeBlock.d.cts +46 -46
  16. package/lib/CodeBlock.d.ts +46 -46
  17. package/lib/CodeView.d.cts +46 -46
  18. package/lib/CodeView.d.ts +46 -46
  19. package/lib/Color.d.cts +46 -46
  20. package/lib/Color.d.ts +46 -46
  21. package/lib/Document.d.cts +46 -46
  22. package/lib/Document.d.ts +46 -46
  23. package/lib/Drawer.d.cts +46 -46
  24. package/lib/Drawer.d.ts +46 -46
  25. package/lib/Emoji.cjs +1 -1
  26. package/lib/Emoji.d.cts +46 -46
  27. package/lib/Emoji.d.ts +46 -46
  28. package/lib/Emoji.js +2 -2
  29. package/lib/Excalidraw.d.cts +46 -46
  30. package/lib/Excalidraw.d.ts +46 -46
  31. package/lib/ExportPdf.d.cts +46 -46
  32. package/lib/ExportPdf.d.ts +46 -46
  33. package/lib/ExportWord.d.cts +46 -46
  34. package/lib/ExportWord.d.ts +46 -46
  35. package/lib/FontFamily.d.cts +46 -46
  36. package/lib/FontFamily.d.ts +46 -46
  37. package/lib/FontSize.d.cts +46 -46
  38. package/lib/FontSize.d.ts +46 -46
  39. package/lib/FormatPainter.d.cts +46 -46
  40. package/lib/FormatPainter.d.ts +46 -46
  41. package/lib/Heading.d.cts +46 -46
  42. package/lib/Heading.d.ts +46 -46
  43. package/lib/Highlight.d.cts +46 -46
  44. package/lib/Highlight.d.ts +46 -46
  45. package/lib/History.d.cts +46 -46
  46. package/lib/History.d.ts +46 -46
  47. package/lib/HorizontalRule.d.cts +46 -46
  48. package/lib/HorizontalRule.d.ts +46 -46
  49. package/lib/Iframe.d.cts +46 -46
  50. package/lib/Iframe.d.ts +46 -46
  51. package/lib/Image.d.cts +46 -46
  52. package/lib/Image.d.ts +46 -46
  53. package/lib/ImageGif.d.cts +46 -46
  54. package/lib/ImageGif.d.ts +46 -46
  55. package/lib/ImportWord.d.cts +46 -46
  56. package/lib/ImportWord.d.ts +46 -46
  57. package/lib/Indent.d.cts +46 -46
  58. package/lib/Indent.d.ts +46 -46
  59. package/lib/Italic.d.cts +46 -46
  60. package/lib/Italic.d.ts +46 -46
  61. package/lib/Katex.d.cts +46 -46
  62. package/lib/Katex.d.ts +46 -46
  63. package/lib/LineHeight.d.cts +46 -46
  64. package/lib/LineHeight.d.ts +46 -46
  65. package/lib/Link.d.cts +46 -46
  66. package/lib/Link.d.ts +46 -46
  67. package/lib/ListItem.d.cts +46 -46
  68. package/lib/ListItem.d.ts +46 -46
  69. package/lib/Mention.d.cts +46 -46
  70. package/lib/Mention.d.ts +46 -46
  71. package/lib/Mermaid.d.cts +46 -46
  72. package/lib/Mermaid.d.ts +46 -46
  73. package/lib/MoreMark.d.cts +46 -46
  74. package/lib/MoreMark.d.ts +46 -46
  75. package/lib/MultiColumn.d.cts +46 -46
  76. package/lib/MultiColumn.d.ts +46 -46
  77. package/lib/OrderedList.d.cts +46 -46
  78. package/lib/OrderedList.d.ts +46 -46
  79. package/lib/SearchAndReplace.d.cts +46 -46
  80. package/lib/SearchAndReplace.d.ts +46 -46
  81. package/lib/Selection.d.cts +46 -46
  82. package/lib/Selection.d.ts +46 -46
  83. package/lib/SlashCommand.cjs +1 -1
  84. package/lib/SlashCommand.d.cts +46 -46
  85. package/lib/SlashCommand.d.ts +46 -46
  86. package/lib/SlashCommand.js +2 -2
  87. package/lib/Strike.d.cts +46 -46
  88. package/lib/Strike.d.ts +46 -46
  89. package/lib/SubAndSuperScript.d.cts +46 -46
  90. package/lib/SubAndSuperScript.d.ts +46 -46
  91. package/lib/Table.d.cts +46 -46
  92. package/lib/Table.d.ts +46 -46
  93. package/lib/TableOfContent.d.cts +46 -46
  94. package/lib/TableOfContent.d.ts +46 -46
  95. package/lib/TaskList.d.cts +46 -46
  96. package/lib/TaskList.d.ts +46 -46
  97. package/lib/TextAlign.d.cts +46 -46
  98. package/lib/TextAlign.d.ts +46 -46
  99. package/lib/TextBubble.d.cts +46 -46
  100. package/lib/TextBubble.d.ts +46 -46
  101. package/lib/TextDirection.d.cts +46 -46
  102. package/lib/TextDirection.d.ts +46 -46
  103. package/lib/TextUnderline.d.cts +46 -46
  104. package/lib/TextUnderline.d.ts +46 -46
  105. package/lib/TrailingNode.d.cts +46 -46
  106. package/lib/TrailingNode.d.ts +46 -46
  107. package/lib/Twitter.d.cts +46 -46
  108. package/lib/Twitter.d.ts +46 -46
  109. package/lib/Video.d.cts +46 -46
  110. package/lib/Video.d.ts +46 -46
  111. package/lib/bubble-extra.d.cts +46 -46
  112. package/lib/bubble-extra.d.ts +46 -46
  113. package/lib/index.d.cts +46 -46
  114. package/lib/index.d.ts +46 -46
  115. package/lib/locale-bundle.d.cts +46 -46
  116. package/lib/locale-bundle.d.ts +46 -46
  117. package/lib/style.css +1 -1
  118. package/package.json +1 -1
@@ -113,8 +113,9 @@ declare module '@tiptap/core' {
113
113
 
114
114
  declare module '@tiptap/core' {
115
115
  interface Commands<ReturnType> {
116
- excalidraw: {
117
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
116
+ drawer: {
117
+ setDrawer: (options: any, replace?: any) => ReturnType;
118
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
118
119
  };
119
120
  }
120
121
  }
@@ -122,9 +123,8 @@ declare module '@tiptap/core' {
122
123
 
123
124
  declare module '@tiptap/core' {
124
125
  interface Commands<ReturnType> {
125
- drawer: {
126
- setDrawer: (options: any, replace?: any) => ReturnType;
127
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
126
+ excalidraw: {
127
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
128
128
  };
129
129
  }
130
130
  }
@@ -148,15 +148,6 @@ declare module '@tiptap/core' {
148
148
  }
149
149
 
150
150
 
151
- declare module '@tiptap/core' {
152
- interface Commands<ReturnType> {
153
- painter: {
154
- setPainter: (marks: Mark[]) => ReturnType;
155
- };
156
- }
157
- }
158
-
159
-
160
151
  declare module '@tiptap/core' {
161
152
  interface Commands<ReturnType> {
162
153
  fontSize: {
@@ -175,6 +166,15 @@ declare module '@tiptap/core' {
175
166
  }
176
167
 
177
168
 
169
+ declare module '@tiptap/core' {
170
+ interface Commands<ReturnType> {
171
+ painter: {
172
+ setPainter: (marks: Mark[]) => ReturnType;
173
+ };
174
+ }
175
+ }
176
+
177
+
178
178
  declare module '@tiptap/core' {
179
179
  interface Commands<ReturnType> {
180
180
  iframe: {
@@ -210,6 +210,22 @@ declare module '@tiptap/core' {
210
210
  }
211
211
 
212
212
 
213
+ declare module '@tiptap/core' {
214
+ interface Commands<ReturnType> {
215
+ indent: {
216
+ /**
217
+ * Set the indent attribute
218
+ */
219
+ indent: () => ReturnType;
220
+ /**
221
+ * Set the outdent attribute
222
+ */
223
+ outdent: () => ReturnType;
224
+ };
225
+ }
226
+ }
227
+
228
+
213
229
  declare module '@tiptap/core' {
214
230
  interface Commands<ReturnType> {
215
231
  imageGifUpload: {
@@ -241,15 +257,9 @@ declare module '@tiptap/core' {
241
257
 
242
258
  declare module '@tiptap/core' {
243
259
  interface Commands<ReturnType> {
244
- indent: {
245
- /**
246
- * Set the indent attribute
247
- */
248
- indent: () => ReturnType;
249
- /**
250
- * Set the outdent attribute
251
- */
252
- outdent: () => ReturnType;
260
+ lineHeight: {
261
+ setLineHeight: (lineHeight: string) => ReturnType;
262
+ unsetLineHeight: () => ReturnType;
253
263
  };
254
264
  }
255
265
  }
@@ -257,9 +267,9 @@ declare module '@tiptap/core' {
257
267
 
258
268
  declare module '@tiptap/core' {
259
269
  interface Commands<ReturnType> {
260
- lineHeight: {
261
- setLineHeight: (lineHeight: string) => ReturnType;
262
- unsetLineHeight: () => ReturnType;
270
+ mermaid: {
271
+ setMermaid: (options: any, replace?: any) => ReturnType;
272
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
263
273
  };
264
274
  }
265
275
  }
@@ -279,26 +289,6 @@ declare module '@tiptap/core' {
279
289
  }
280
290
 
281
291
 
282
- declare module '@tiptap/core' {
283
- interface Commands<ReturnType> {
284
- mermaid: {
285
- setMermaid: (options: any, replace?: any) => ReturnType;
286
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
287
- };
288
- }
289
- }
290
-
291
-
292
- declare module '@tiptap/core' {
293
- interface Commands<ReturnType> {
294
- tableOfContents: {
295
- setTableOfContents: () => ReturnType;
296
- removeTableOfContents: () => ReturnType;
297
- };
298
- }
299
- }
300
-
301
-
302
292
  declare module '@tiptap/core' {
303
293
  interface Commands<ReturnType> {
304
294
  search: {
@@ -322,6 +312,16 @@ declare module '@tiptap/core' {
322
312
  }
323
313
 
324
314
 
315
+ declare module '@tiptap/core' {
316
+ interface Commands<ReturnType> {
317
+ tableOfContents: {
318
+ setTableOfContents: () => ReturnType;
319
+ removeTableOfContents: () => ReturnType;
320
+ };
321
+ }
322
+ }
323
+
324
+
325
325
  declare module '@tiptap/core' {
326
326
  interface Commands<ReturnType> {
327
327
  twitter: {
@@ -113,8 +113,9 @@ declare module '@tiptap/core' {
113
113
 
114
114
  declare module '@tiptap/core' {
115
115
  interface Commands<ReturnType> {
116
- excalidraw: {
117
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
116
+ drawer: {
117
+ setDrawer: (options: any, replace?: any) => ReturnType;
118
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
118
119
  };
119
120
  }
120
121
  }
@@ -122,9 +123,8 @@ declare module '@tiptap/core' {
122
123
 
123
124
  declare module '@tiptap/core' {
124
125
  interface Commands<ReturnType> {
125
- drawer: {
126
- setDrawer: (options: any, replace?: any) => ReturnType;
127
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
126
+ excalidraw: {
127
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
128
128
  };
129
129
  }
130
130
  }
@@ -148,15 +148,6 @@ declare module '@tiptap/core' {
148
148
  }
149
149
 
150
150
 
151
- declare module '@tiptap/core' {
152
- interface Commands<ReturnType> {
153
- painter: {
154
- setPainter: (marks: Mark[]) => ReturnType;
155
- };
156
- }
157
- }
158
-
159
-
160
151
  declare module '@tiptap/core' {
161
152
  interface Commands<ReturnType> {
162
153
  fontSize: {
@@ -175,6 +166,15 @@ declare module '@tiptap/core' {
175
166
  }
176
167
 
177
168
 
169
+ declare module '@tiptap/core' {
170
+ interface Commands<ReturnType> {
171
+ painter: {
172
+ setPainter: (marks: Mark[]) => ReturnType;
173
+ };
174
+ }
175
+ }
176
+
177
+
178
178
  declare module '@tiptap/core' {
179
179
  interface Commands<ReturnType> {
180
180
  iframe: {
@@ -210,6 +210,22 @@ declare module '@tiptap/core' {
210
210
  }
211
211
 
212
212
 
213
+ declare module '@tiptap/core' {
214
+ interface Commands<ReturnType> {
215
+ indent: {
216
+ /**
217
+ * Set the indent attribute
218
+ */
219
+ indent: () => ReturnType;
220
+ /**
221
+ * Set the outdent attribute
222
+ */
223
+ outdent: () => ReturnType;
224
+ };
225
+ }
226
+ }
227
+
228
+
213
229
  declare module '@tiptap/core' {
214
230
  interface Commands<ReturnType> {
215
231
  imageGifUpload: {
@@ -241,15 +257,9 @@ declare module '@tiptap/core' {
241
257
 
242
258
  declare module '@tiptap/core' {
243
259
  interface Commands<ReturnType> {
244
- indent: {
245
- /**
246
- * Set the indent attribute
247
- */
248
- indent: () => ReturnType;
249
- /**
250
- * Set the outdent attribute
251
- */
252
- outdent: () => ReturnType;
260
+ lineHeight: {
261
+ setLineHeight: (lineHeight: string) => ReturnType;
262
+ unsetLineHeight: () => ReturnType;
253
263
  };
254
264
  }
255
265
  }
@@ -257,9 +267,9 @@ declare module '@tiptap/core' {
257
267
 
258
268
  declare module '@tiptap/core' {
259
269
  interface Commands<ReturnType> {
260
- lineHeight: {
261
- setLineHeight: (lineHeight: string) => ReturnType;
262
- unsetLineHeight: () => ReturnType;
270
+ mermaid: {
271
+ setMermaid: (options: any, replace?: any) => ReturnType;
272
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
263
273
  };
264
274
  }
265
275
  }
@@ -279,26 +289,6 @@ declare module '@tiptap/core' {
279
289
  }
280
290
 
281
291
 
282
- declare module '@tiptap/core' {
283
- interface Commands<ReturnType> {
284
- mermaid: {
285
- setMermaid: (options: any, replace?: any) => ReturnType;
286
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
287
- };
288
- }
289
- }
290
-
291
-
292
- declare module '@tiptap/core' {
293
- interface Commands<ReturnType> {
294
- tableOfContents: {
295
- setTableOfContents: () => ReturnType;
296
- removeTableOfContents: () => ReturnType;
297
- };
298
- }
299
- }
300
-
301
-
302
292
  declare module '@tiptap/core' {
303
293
  interface Commands<ReturnType> {
304
294
  search: {
@@ -322,6 +312,16 @@ declare module '@tiptap/core' {
322
312
  }
323
313
 
324
314
 
315
+ declare module '@tiptap/core' {
316
+ interface Commands<ReturnType> {
317
+ tableOfContents: {
318
+ setTableOfContents: () => ReturnType;
319
+ removeTableOfContents: () => ReturnType;
320
+ };
321
+ }
322
+ }
323
+
324
+
325
325
  declare module '@tiptap/core' {
326
326
  interface Commands<ReturnType> {
327
327
  twitter: {
package/lib/BaseKit.d.cts CHANGED
@@ -231,8 +231,9 @@ declare module '@tiptap/core' {
231
231
 
232
232
  declare module '@tiptap/core' {
233
233
  interface Commands<ReturnType> {
234
- excalidraw: {
235
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
234
+ drawer: {
235
+ setDrawer: (options: any, replace?: any) => ReturnType;
236
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
236
237
  };
237
238
  }
238
239
  }
@@ -240,9 +241,8 @@ declare module '@tiptap/core' {
240
241
 
241
242
  declare module '@tiptap/core' {
242
243
  interface Commands<ReturnType> {
243
- drawer: {
244
- setDrawer: (options: any, replace?: any) => ReturnType;
245
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
244
+ excalidraw: {
245
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
246
246
  };
247
247
  }
248
248
  }
@@ -266,15 +266,6 @@ declare module '@tiptap/core' {
266
266
  }
267
267
 
268
268
 
269
- declare module '@tiptap/core' {
270
- interface Commands<ReturnType> {
271
- painter: {
272
- setPainter: (marks: Mark[]) => ReturnType;
273
- };
274
- }
275
- }
276
-
277
-
278
269
  declare module '@tiptap/core' {
279
270
  interface Commands<ReturnType> {
280
271
  fontSize: {
@@ -293,6 +284,15 @@ declare module '@tiptap/core' {
293
284
  }
294
285
 
295
286
 
287
+ declare module '@tiptap/core' {
288
+ interface Commands<ReturnType> {
289
+ painter: {
290
+ setPainter: (marks: Mark[]) => ReturnType;
291
+ };
292
+ }
293
+ }
294
+
295
+
296
296
  declare module '@tiptap/core' {
297
297
  interface Commands<ReturnType> {
298
298
  iframe: {
@@ -328,6 +328,22 @@ declare module '@tiptap/core' {
328
328
  }
329
329
 
330
330
 
331
+ declare module '@tiptap/core' {
332
+ interface Commands<ReturnType> {
333
+ indent: {
334
+ /**
335
+ * Set the indent attribute
336
+ */
337
+ indent: () => ReturnType;
338
+ /**
339
+ * Set the outdent attribute
340
+ */
341
+ outdent: () => ReturnType;
342
+ };
343
+ }
344
+ }
345
+
346
+
331
347
  declare module '@tiptap/core' {
332
348
  interface Commands<ReturnType> {
333
349
  imageGifUpload: {
@@ -359,15 +375,9 @@ declare module '@tiptap/core' {
359
375
 
360
376
  declare module '@tiptap/core' {
361
377
  interface Commands<ReturnType> {
362
- indent: {
363
- /**
364
- * Set the indent attribute
365
- */
366
- indent: () => ReturnType;
367
- /**
368
- * Set the outdent attribute
369
- */
370
- outdent: () => ReturnType;
378
+ lineHeight: {
379
+ setLineHeight: (lineHeight: string) => ReturnType;
380
+ unsetLineHeight: () => ReturnType;
371
381
  };
372
382
  }
373
383
  }
@@ -375,9 +385,9 @@ declare module '@tiptap/core' {
375
385
 
376
386
  declare module '@tiptap/core' {
377
387
  interface Commands<ReturnType> {
378
- lineHeight: {
379
- setLineHeight: (lineHeight: string) => ReturnType;
380
- unsetLineHeight: () => ReturnType;
388
+ mermaid: {
389
+ setMermaid: (options: any, replace?: any) => ReturnType;
390
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
381
391
  };
382
392
  }
383
393
  }
@@ -397,26 +407,6 @@ declare module '@tiptap/core' {
397
407
  }
398
408
 
399
409
 
400
- declare module '@tiptap/core' {
401
- interface Commands<ReturnType> {
402
- mermaid: {
403
- setMermaid: (options: any, replace?: any) => ReturnType;
404
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
405
- };
406
- }
407
- }
408
-
409
-
410
- declare module '@tiptap/core' {
411
- interface Commands<ReturnType> {
412
- tableOfContents: {
413
- setTableOfContents: () => ReturnType;
414
- removeTableOfContents: () => ReturnType;
415
- };
416
- }
417
- }
418
-
419
-
420
410
  declare module '@tiptap/core' {
421
411
  interface Commands<ReturnType> {
422
412
  search: {
@@ -440,6 +430,16 @@ declare module '@tiptap/core' {
440
430
  }
441
431
 
442
432
 
433
+ declare module '@tiptap/core' {
434
+ interface Commands<ReturnType> {
435
+ tableOfContents: {
436
+ setTableOfContents: () => ReturnType;
437
+ removeTableOfContents: () => ReturnType;
438
+ };
439
+ }
440
+ }
441
+
442
+
443
443
  declare module '@tiptap/core' {
444
444
  interface Commands<ReturnType> {
445
445
  twitter: {
package/lib/BaseKit.d.ts CHANGED
@@ -231,8 +231,9 @@ declare module '@tiptap/core' {
231
231
 
232
232
  declare module '@tiptap/core' {
233
233
  interface Commands<ReturnType> {
234
- excalidraw: {
235
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
234
+ drawer: {
235
+ setDrawer: (options: any, replace?: any) => ReturnType;
236
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
236
237
  };
237
238
  }
238
239
  }
@@ -240,9 +241,8 @@ declare module '@tiptap/core' {
240
241
 
241
242
  declare module '@tiptap/core' {
242
243
  interface Commands<ReturnType> {
243
- drawer: {
244
- setDrawer: (options: any, replace?: any) => ReturnType;
245
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
244
+ excalidraw: {
245
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
246
246
  };
247
247
  }
248
248
  }
@@ -266,15 +266,6 @@ declare module '@tiptap/core' {
266
266
  }
267
267
 
268
268
 
269
- declare module '@tiptap/core' {
270
- interface Commands<ReturnType> {
271
- painter: {
272
- setPainter: (marks: Mark[]) => ReturnType;
273
- };
274
- }
275
- }
276
-
277
-
278
269
  declare module '@tiptap/core' {
279
270
  interface Commands<ReturnType> {
280
271
  fontSize: {
@@ -293,6 +284,15 @@ declare module '@tiptap/core' {
293
284
  }
294
285
 
295
286
 
287
+ declare module '@tiptap/core' {
288
+ interface Commands<ReturnType> {
289
+ painter: {
290
+ setPainter: (marks: Mark[]) => ReturnType;
291
+ };
292
+ }
293
+ }
294
+
295
+
296
296
  declare module '@tiptap/core' {
297
297
  interface Commands<ReturnType> {
298
298
  iframe: {
@@ -328,6 +328,22 @@ declare module '@tiptap/core' {
328
328
  }
329
329
 
330
330
 
331
+ declare module '@tiptap/core' {
332
+ interface Commands<ReturnType> {
333
+ indent: {
334
+ /**
335
+ * Set the indent attribute
336
+ */
337
+ indent: () => ReturnType;
338
+ /**
339
+ * Set the outdent attribute
340
+ */
341
+ outdent: () => ReturnType;
342
+ };
343
+ }
344
+ }
345
+
346
+
331
347
  declare module '@tiptap/core' {
332
348
  interface Commands<ReturnType> {
333
349
  imageGifUpload: {
@@ -359,15 +375,9 @@ declare module '@tiptap/core' {
359
375
 
360
376
  declare module '@tiptap/core' {
361
377
  interface Commands<ReturnType> {
362
- indent: {
363
- /**
364
- * Set the indent attribute
365
- */
366
- indent: () => ReturnType;
367
- /**
368
- * Set the outdent attribute
369
- */
370
- outdent: () => ReturnType;
378
+ lineHeight: {
379
+ setLineHeight: (lineHeight: string) => ReturnType;
380
+ unsetLineHeight: () => ReturnType;
371
381
  };
372
382
  }
373
383
  }
@@ -375,9 +385,9 @@ declare module '@tiptap/core' {
375
385
 
376
386
  declare module '@tiptap/core' {
377
387
  interface Commands<ReturnType> {
378
- lineHeight: {
379
- setLineHeight: (lineHeight: string) => ReturnType;
380
- unsetLineHeight: () => ReturnType;
388
+ mermaid: {
389
+ setMermaid: (options: any, replace?: any) => ReturnType;
390
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
381
391
  };
382
392
  }
383
393
  }
@@ -397,26 +407,6 @@ declare module '@tiptap/core' {
397
407
  }
398
408
 
399
409
 
400
- declare module '@tiptap/core' {
401
- interface Commands<ReturnType> {
402
- mermaid: {
403
- setMermaid: (options: any, replace?: any) => ReturnType;
404
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
405
- };
406
- }
407
- }
408
-
409
-
410
- declare module '@tiptap/core' {
411
- interface Commands<ReturnType> {
412
- tableOfContents: {
413
- setTableOfContents: () => ReturnType;
414
- removeTableOfContents: () => ReturnType;
415
- };
416
- }
417
- }
418
-
419
-
420
410
  declare module '@tiptap/core' {
421
411
  interface Commands<ReturnType> {
422
412
  search: {
@@ -440,6 +430,16 @@ declare module '@tiptap/core' {
440
430
  }
441
431
 
442
432
 
433
+ declare module '@tiptap/core' {
434
+ interface Commands<ReturnType> {
435
+ tableOfContents: {
436
+ setTableOfContents: () => ReturnType;
437
+ removeTableOfContents: () => ReturnType;
438
+ };
439
+ }
440
+ }
441
+
442
+
443
443
  declare module '@tiptap/core' {
444
444
  interface Commands<ReturnType> {
445
445
  twitter: {