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/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
- 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/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
- 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: {
@@ -60,8 +60,9 @@ declare module '@tiptap/core' {
60
60
 
61
61
  declare module '@tiptap/core' {
62
62
  interface Commands<ReturnType> {
63
- excalidraw: {
64
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
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
- drawer: {
73
- setDrawer: (options: any, replace?: any) => ReturnType;
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
- indent: {
192
- /**
193
- * Set the indent attribute
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
- lineHeight: {
208
- setLineHeight: (lineHeight: string) => ReturnType;
209
- unsetLineHeight: () => ReturnType;
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
- excalidraw: {
64
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
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
- drawer: {
73
- setDrawer: (options: any, replace?: any) => ReturnType;
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
- indent: {
192
- /**
193
- * Set the indent attribute
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
- lineHeight: {
208
- setLineHeight: (lineHeight: string) => ReturnType;
209
- unsetLineHeight: () => ReturnType;
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: {