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
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
- excalidraw: {
151
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
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
- drawer: {
160
- setDrawer: (options: any, replace?: any) => ReturnType;
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
- indent: {
279
- /**
280
- * Set the indent attribute
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
- lineHeight: {
295
- setLineHeight: (lineHeight: string) => ReturnType;
296
- unsetLineHeight: () => ReturnType;
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
- excalidraw: {
151
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
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
- drawer: {
160
- setDrawer: (options: any, replace?: any) => ReturnType;
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
- indent: {
279
- /**
280
- * Set the indent attribute
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
- lineHeight: {
295
- setLineHeight: (lineHeight: string) => ReturnType;
296
- unsetLineHeight: () => ReturnType;
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: {
@@ -61,8 +61,9 @@ declare module '@tiptap/core' {
61
61
 
62
62
  declare module '@tiptap/core' {
63
63
  interface Commands<ReturnType> {
64
- excalidraw: {
65
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
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
- drawer: {
74
- setDrawer: (options: any, replace?: any) => ReturnType;
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
- indent: {
193
- /**
194
- * Set the indent attribute
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
- lineHeight: {
209
- setLineHeight: (lineHeight: string) => ReturnType;
210
- unsetLineHeight: () => ReturnType;
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: {
@@ -61,8 +61,9 @@ declare module '@tiptap/core' {
61
61
 
62
62
  declare module '@tiptap/core' {
63
63
  interface Commands<ReturnType> {
64
- excalidraw: {
65
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
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
- drawer: {
74
- setDrawer: (options: any, replace?: any) => ReturnType;
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
- indent: {
193
- /**
194
- * Set the indent attribute
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
- lineHeight: {
209
- setLineHeight: (lineHeight: string) => ReturnType;
210
- unsetLineHeight: () => ReturnType;
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: {