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