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
@@ -127,8 +127,9 @@ declare module '@tiptap/core' {
127
127
 
128
128
  declare module '@tiptap/core' {
129
129
  interface Commands<ReturnType> {
130
- excalidraw: {
131
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
130
+ drawer: {
131
+ setDrawer: (options: any, replace?: any) => ReturnType;
132
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
132
133
  };
133
134
  }
134
135
  }
@@ -136,9 +137,8 @@ declare module '@tiptap/core' {
136
137
 
137
138
  declare module '@tiptap/core' {
138
139
  interface Commands<ReturnType> {
139
- drawer: {
140
- setDrawer: (options: any, replace?: any) => ReturnType;
141
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
140
+ excalidraw: {
141
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
142
142
  };
143
143
  }
144
144
  }
@@ -162,15 +162,6 @@ declare module '@tiptap/core' {
162
162
  }
163
163
 
164
164
 
165
- declare module '@tiptap/core' {
166
- interface Commands<ReturnType> {
167
- painter: {
168
- setPainter: (marks: Mark[]) => ReturnType;
169
- };
170
- }
171
- }
172
-
173
-
174
165
  declare module '@tiptap/core' {
175
166
  interface Commands<ReturnType> {
176
167
  fontSize: {
@@ -189,6 +180,15 @@ declare module '@tiptap/core' {
189
180
  }
190
181
 
191
182
 
183
+ declare module '@tiptap/core' {
184
+ interface Commands<ReturnType> {
185
+ painter: {
186
+ setPainter: (marks: Mark[]) => ReturnType;
187
+ };
188
+ }
189
+ }
190
+
191
+
192
192
  declare module '@tiptap/core' {
193
193
  interface Commands<ReturnType> {
194
194
  iframe: {
@@ -224,6 +224,22 @@ declare module '@tiptap/core' {
224
224
  }
225
225
 
226
226
 
227
+ declare module '@tiptap/core' {
228
+ interface Commands<ReturnType> {
229
+ indent: {
230
+ /**
231
+ * Set the indent attribute
232
+ */
233
+ indent: () => ReturnType;
234
+ /**
235
+ * Set the outdent attribute
236
+ */
237
+ outdent: () => ReturnType;
238
+ };
239
+ }
240
+ }
241
+
242
+
227
243
  declare module '@tiptap/core' {
228
244
  interface Commands<ReturnType> {
229
245
  imageGifUpload: {
@@ -255,15 +271,9 @@ declare module '@tiptap/core' {
255
271
 
256
272
  declare module '@tiptap/core' {
257
273
  interface Commands<ReturnType> {
258
- indent: {
259
- /**
260
- * Set the indent attribute
261
- */
262
- indent: () => ReturnType;
263
- /**
264
- * Set the outdent attribute
265
- */
266
- outdent: () => ReturnType;
274
+ lineHeight: {
275
+ setLineHeight: (lineHeight: string) => ReturnType;
276
+ unsetLineHeight: () => ReturnType;
267
277
  };
268
278
  }
269
279
  }
@@ -271,9 +281,9 @@ declare module '@tiptap/core' {
271
281
 
272
282
  declare module '@tiptap/core' {
273
283
  interface Commands<ReturnType> {
274
- lineHeight: {
275
- setLineHeight: (lineHeight: string) => ReturnType;
276
- unsetLineHeight: () => ReturnType;
284
+ mermaid: {
285
+ setMermaid: (options: any, replace?: any) => ReturnType;
286
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
277
287
  };
278
288
  }
279
289
  }
@@ -293,26 +303,6 @@ declare module '@tiptap/core' {
293
303
  }
294
304
 
295
305
 
296
- declare module '@tiptap/core' {
297
- interface Commands<ReturnType> {
298
- mermaid: {
299
- setMermaid: (options: any, replace?: any) => ReturnType;
300
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
301
- };
302
- }
303
- }
304
-
305
-
306
- declare module '@tiptap/core' {
307
- interface Commands<ReturnType> {
308
- tableOfContents: {
309
- setTableOfContents: () => ReturnType;
310
- removeTableOfContents: () => ReturnType;
311
- };
312
- }
313
- }
314
-
315
-
316
306
  declare module '@tiptap/core' {
317
307
  interface Commands<ReturnType> {
318
308
  search: {
@@ -336,6 +326,16 @@ declare module '@tiptap/core' {
336
326
  }
337
327
 
338
328
 
329
+ declare module '@tiptap/core' {
330
+ interface Commands<ReturnType> {
331
+ tableOfContents: {
332
+ setTableOfContents: () => ReturnType;
333
+ removeTableOfContents: () => ReturnType;
334
+ };
335
+ }
336
+ }
337
+
338
+
339
339
  declare module '@tiptap/core' {
340
340
  interface Commands<ReturnType> {
341
341
  twitter: {
@@ -127,8 +127,9 @@ declare module '@tiptap/core' {
127
127
 
128
128
  declare module '@tiptap/core' {
129
129
  interface Commands<ReturnType> {
130
- excalidraw: {
131
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
130
+ drawer: {
131
+ setDrawer: (options: any, replace?: any) => ReturnType;
132
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
132
133
  };
133
134
  }
134
135
  }
@@ -136,9 +137,8 @@ declare module '@tiptap/core' {
136
137
 
137
138
  declare module '@tiptap/core' {
138
139
  interface Commands<ReturnType> {
139
- drawer: {
140
- setDrawer: (options: any, replace?: any) => ReturnType;
141
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
140
+ excalidraw: {
141
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
142
142
  };
143
143
  }
144
144
  }
@@ -162,15 +162,6 @@ declare module '@tiptap/core' {
162
162
  }
163
163
 
164
164
 
165
- declare module '@tiptap/core' {
166
- interface Commands<ReturnType> {
167
- painter: {
168
- setPainter: (marks: Mark[]) => ReturnType;
169
- };
170
- }
171
- }
172
-
173
-
174
165
  declare module '@tiptap/core' {
175
166
  interface Commands<ReturnType> {
176
167
  fontSize: {
@@ -189,6 +180,15 @@ declare module '@tiptap/core' {
189
180
  }
190
181
 
191
182
 
183
+ declare module '@tiptap/core' {
184
+ interface Commands<ReturnType> {
185
+ painter: {
186
+ setPainter: (marks: Mark[]) => ReturnType;
187
+ };
188
+ }
189
+ }
190
+
191
+
192
192
  declare module '@tiptap/core' {
193
193
  interface Commands<ReturnType> {
194
194
  iframe: {
@@ -224,6 +224,22 @@ declare module '@tiptap/core' {
224
224
  }
225
225
 
226
226
 
227
+ declare module '@tiptap/core' {
228
+ interface Commands<ReturnType> {
229
+ indent: {
230
+ /**
231
+ * Set the indent attribute
232
+ */
233
+ indent: () => ReturnType;
234
+ /**
235
+ * Set the outdent attribute
236
+ */
237
+ outdent: () => ReturnType;
238
+ };
239
+ }
240
+ }
241
+
242
+
227
243
  declare module '@tiptap/core' {
228
244
  interface Commands<ReturnType> {
229
245
  imageGifUpload: {
@@ -255,15 +271,9 @@ declare module '@tiptap/core' {
255
271
 
256
272
  declare module '@tiptap/core' {
257
273
  interface Commands<ReturnType> {
258
- indent: {
259
- /**
260
- * Set the indent attribute
261
- */
262
- indent: () => ReturnType;
263
- /**
264
- * Set the outdent attribute
265
- */
266
- outdent: () => ReturnType;
274
+ lineHeight: {
275
+ setLineHeight: (lineHeight: string) => ReturnType;
276
+ unsetLineHeight: () => ReturnType;
267
277
  };
268
278
  }
269
279
  }
@@ -271,9 +281,9 @@ declare module '@tiptap/core' {
271
281
 
272
282
  declare module '@tiptap/core' {
273
283
  interface Commands<ReturnType> {
274
- lineHeight: {
275
- setLineHeight: (lineHeight: string) => ReturnType;
276
- unsetLineHeight: () => ReturnType;
284
+ mermaid: {
285
+ setMermaid: (options: any, replace?: any) => ReturnType;
286
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
277
287
  };
278
288
  }
279
289
  }
@@ -293,26 +303,6 @@ declare module '@tiptap/core' {
293
303
  }
294
304
 
295
305
 
296
- declare module '@tiptap/core' {
297
- interface Commands<ReturnType> {
298
- mermaid: {
299
- setMermaid: (options: any, replace?: any) => ReturnType;
300
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
301
- };
302
- }
303
- }
304
-
305
-
306
- declare module '@tiptap/core' {
307
- interface Commands<ReturnType> {
308
- tableOfContents: {
309
- setTableOfContents: () => ReturnType;
310
- removeTableOfContents: () => ReturnType;
311
- };
312
- }
313
- }
314
-
315
-
316
306
  declare module '@tiptap/core' {
317
307
  interface Commands<ReturnType> {
318
308
  search: {
@@ -336,6 +326,16 @@ declare module '@tiptap/core' {
336
326
  }
337
327
 
338
328
 
329
+ declare module '@tiptap/core' {
330
+ interface Commands<ReturnType> {
331
+ tableOfContents: {
332
+ setTableOfContents: () => ReturnType;
333
+ removeTableOfContents: () => ReturnType;
334
+ };
335
+ }
336
+ }
337
+
338
+
339
339
  declare module '@tiptap/core' {
340
340
  interface Commands<ReturnType> {
341
341
  twitter: {
package/lib/Table.d.cts CHANGED
@@ -135,8 +135,9 @@ declare module '@tiptap/core' {
135
135
 
136
136
  declare module '@tiptap/core' {
137
137
  interface Commands<ReturnType> {
138
- excalidraw: {
139
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
138
+ drawer: {
139
+ setDrawer: (options: any, replace?: any) => ReturnType;
140
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
140
141
  };
141
142
  }
142
143
  }
@@ -144,9 +145,8 @@ declare module '@tiptap/core' {
144
145
 
145
146
  declare module '@tiptap/core' {
146
147
  interface Commands<ReturnType> {
147
- drawer: {
148
- setDrawer: (options: any, replace?: any) => ReturnType;
149
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
148
+ excalidraw: {
149
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
150
150
  };
151
151
  }
152
152
  }
@@ -170,15 +170,6 @@ declare module '@tiptap/core' {
170
170
  }
171
171
 
172
172
 
173
- declare module '@tiptap/core' {
174
- interface Commands<ReturnType> {
175
- painter: {
176
- setPainter: (marks: Mark[]) => ReturnType;
177
- };
178
- }
179
- }
180
-
181
-
182
173
  declare module '@tiptap/core' {
183
174
  interface Commands<ReturnType> {
184
175
  fontSize: {
@@ -197,6 +188,15 @@ declare module '@tiptap/core' {
197
188
  }
198
189
 
199
190
 
191
+ declare module '@tiptap/core' {
192
+ interface Commands<ReturnType> {
193
+ painter: {
194
+ setPainter: (marks: Mark[]) => ReturnType;
195
+ };
196
+ }
197
+ }
198
+
199
+
200
200
  declare module '@tiptap/core' {
201
201
  interface Commands<ReturnType> {
202
202
  iframe: {
@@ -232,6 +232,22 @@ declare module '@tiptap/core' {
232
232
  }
233
233
 
234
234
 
235
+ declare module '@tiptap/core' {
236
+ interface Commands<ReturnType> {
237
+ indent: {
238
+ /**
239
+ * Set the indent attribute
240
+ */
241
+ indent: () => ReturnType;
242
+ /**
243
+ * Set the outdent attribute
244
+ */
245
+ outdent: () => ReturnType;
246
+ };
247
+ }
248
+ }
249
+
250
+
235
251
  declare module '@tiptap/core' {
236
252
  interface Commands<ReturnType> {
237
253
  imageGifUpload: {
@@ -263,15 +279,9 @@ declare module '@tiptap/core' {
263
279
 
264
280
  declare module '@tiptap/core' {
265
281
  interface Commands<ReturnType> {
266
- indent: {
267
- /**
268
- * Set the indent attribute
269
- */
270
- indent: () => ReturnType;
271
- /**
272
- * Set the outdent attribute
273
- */
274
- outdent: () => ReturnType;
282
+ lineHeight: {
283
+ setLineHeight: (lineHeight: string) => ReturnType;
284
+ unsetLineHeight: () => ReturnType;
275
285
  };
276
286
  }
277
287
  }
@@ -279,9 +289,9 @@ declare module '@tiptap/core' {
279
289
 
280
290
  declare module '@tiptap/core' {
281
291
  interface Commands<ReturnType> {
282
- lineHeight: {
283
- setLineHeight: (lineHeight: string) => ReturnType;
284
- unsetLineHeight: () => ReturnType;
292
+ mermaid: {
293
+ setMermaid: (options: any, replace?: any) => ReturnType;
294
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
285
295
  };
286
296
  }
287
297
  }
@@ -301,26 +311,6 @@ declare module '@tiptap/core' {
301
311
  }
302
312
 
303
313
 
304
- declare module '@tiptap/core' {
305
- interface Commands<ReturnType> {
306
- mermaid: {
307
- setMermaid: (options: any, replace?: any) => ReturnType;
308
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
309
- };
310
- }
311
- }
312
-
313
-
314
- declare module '@tiptap/core' {
315
- interface Commands<ReturnType> {
316
- tableOfContents: {
317
- setTableOfContents: () => ReturnType;
318
- removeTableOfContents: () => ReturnType;
319
- };
320
- }
321
- }
322
-
323
-
324
314
  declare module '@tiptap/core' {
325
315
  interface Commands<ReturnType> {
326
316
  search: {
@@ -344,6 +334,16 @@ declare module '@tiptap/core' {
344
334
  }
345
335
 
346
336
 
337
+ declare module '@tiptap/core' {
338
+ interface Commands<ReturnType> {
339
+ tableOfContents: {
340
+ setTableOfContents: () => ReturnType;
341
+ removeTableOfContents: () => ReturnType;
342
+ };
343
+ }
344
+ }
345
+
346
+
347
347
  declare module '@tiptap/core' {
348
348
  interface Commands<ReturnType> {
349
349
  twitter: {
package/lib/Table.d.ts CHANGED
@@ -135,8 +135,9 @@ declare module '@tiptap/core' {
135
135
 
136
136
  declare module '@tiptap/core' {
137
137
  interface Commands<ReturnType> {
138
- excalidraw: {
139
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
138
+ drawer: {
139
+ setDrawer: (options: any, replace?: any) => ReturnType;
140
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
140
141
  };
141
142
  }
142
143
  }
@@ -144,9 +145,8 @@ declare module '@tiptap/core' {
144
145
 
145
146
  declare module '@tiptap/core' {
146
147
  interface Commands<ReturnType> {
147
- drawer: {
148
- setDrawer: (options: any, replace?: any) => ReturnType;
149
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
148
+ excalidraw: {
149
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
150
150
  };
151
151
  }
152
152
  }
@@ -170,15 +170,6 @@ declare module '@tiptap/core' {
170
170
  }
171
171
 
172
172
 
173
- declare module '@tiptap/core' {
174
- interface Commands<ReturnType> {
175
- painter: {
176
- setPainter: (marks: Mark[]) => ReturnType;
177
- };
178
- }
179
- }
180
-
181
-
182
173
  declare module '@tiptap/core' {
183
174
  interface Commands<ReturnType> {
184
175
  fontSize: {
@@ -197,6 +188,15 @@ declare module '@tiptap/core' {
197
188
  }
198
189
 
199
190
 
191
+ declare module '@tiptap/core' {
192
+ interface Commands<ReturnType> {
193
+ painter: {
194
+ setPainter: (marks: Mark[]) => ReturnType;
195
+ };
196
+ }
197
+ }
198
+
199
+
200
200
  declare module '@tiptap/core' {
201
201
  interface Commands<ReturnType> {
202
202
  iframe: {
@@ -232,6 +232,22 @@ declare module '@tiptap/core' {
232
232
  }
233
233
 
234
234
 
235
+ declare module '@tiptap/core' {
236
+ interface Commands<ReturnType> {
237
+ indent: {
238
+ /**
239
+ * Set the indent attribute
240
+ */
241
+ indent: () => ReturnType;
242
+ /**
243
+ * Set the outdent attribute
244
+ */
245
+ outdent: () => ReturnType;
246
+ };
247
+ }
248
+ }
249
+
250
+
235
251
  declare module '@tiptap/core' {
236
252
  interface Commands<ReturnType> {
237
253
  imageGifUpload: {
@@ -263,15 +279,9 @@ declare module '@tiptap/core' {
263
279
 
264
280
  declare module '@tiptap/core' {
265
281
  interface Commands<ReturnType> {
266
- indent: {
267
- /**
268
- * Set the indent attribute
269
- */
270
- indent: () => ReturnType;
271
- /**
272
- * Set the outdent attribute
273
- */
274
- outdent: () => ReturnType;
282
+ lineHeight: {
283
+ setLineHeight: (lineHeight: string) => ReturnType;
284
+ unsetLineHeight: () => ReturnType;
275
285
  };
276
286
  }
277
287
  }
@@ -279,9 +289,9 @@ declare module '@tiptap/core' {
279
289
 
280
290
  declare module '@tiptap/core' {
281
291
  interface Commands<ReturnType> {
282
- lineHeight: {
283
- setLineHeight: (lineHeight: string) => ReturnType;
284
- unsetLineHeight: () => ReturnType;
292
+ mermaid: {
293
+ setMermaid: (options: any, replace?: any) => ReturnType;
294
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
285
295
  };
286
296
  }
287
297
  }
@@ -301,26 +311,6 @@ declare module '@tiptap/core' {
301
311
  }
302
312
 
303
313
 
304
- declare module '@tiptap/core' {
305
- interface Commands<ReturnType> {
306
- mermaid: {
307
- setMermaid: (options: any, replace?: any) => ReturnType;
308
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
309
- };
310
- }
311
- }
312
-
313
-
314
- declare module '@tiptap/core' {
315
- interface Commands<ReturnType> {
316
- tableOfContents: {
317
- setTableOfContents: () => ReturnType;
318
- removeTableOfContents: () => ReturnType;
319
- };
320
- }
321
- }
322
-
323
-
324
314
  declare module '@tiptap/core' {
325
315
  interface Commands<ReturnType> {
326
316
  search: {
@@ -344,6 +334,16 @@ declare module '@tiptap/core' {
344
334
  }
345
335
 
346
336
 
337
+ declare module '@tiptap/core' {
338
+ interface Commands<ReturnType> {
339
+ tableOfContents: {
340
+ setTableOfContents: () => ReturnType;
341
+ removeTableOfContents: () => ReturnType;
342
+ };
343
+ }
344
+ }
345
+
346
+
347
347
  declare module '@tiptap/core' {
348
348
  interface Commands<ReturnType> {
349
349
  twitter: {