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
@@ -116,8 +116,9 @@ declare module '@tiptap/core' {
116
116
 
117
117
  declare module '@tiptap/core' {
118
118
  interface Commands<ReturnType> {
119
- excalidraw: {
120
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
119
+ drawer: {
120
+ setDrawer: (options: any, replace?: any) => ReturnType;
121
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
121
122
  };
122
123
  }
123
124
  }
@@ -125,9 +126,8 @@ declare module '@tiptap/core' {
125
126
 
126
127
  declare module '@tiptap/core' {
127
128
  interface Commands<ReturnType> {
128
- drawer: {
129
- setDrawer: (options: any, replace?: any) => ReturnType;
130
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
129
+ excalidraw: {
130
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
131
131
  };
132
132
  }
133
133
  }
@@ -151,15 +151,6 @@ declare module '@tiptap/core' {
151
151
  }
152
152
 
153
153
 
154
- declare module '@tiptap/core' {
155
- interface Commands<ReturnType> {
156
- painter: {
157
- setPainter: (marks: Mark[]) => ReturnType;
158
- };
159
- }
160
- }
161
-
162
-
163
154
  declare module '@tiptap/core' {
164
155
  interface Commands<ReturnType> {
165
156
  fontSize: {
@@ -178,6 +169,15 @@ declare module '@tiptap/core' {
178
169
  }
179
170
 
180
171
 
172
+ declare module '@tiptap/core' {
173
+ interface Commands<ReturnType> {
174
+ painter: {
175
+ setPainter: (marks: Mark[]) => ReturnType;
176
+ };
177
+ }
178
+ }
179
+
180
+
181
181
  declare module '@tiptap/core' {
182
182
  interface Commands<ReturnType> {
183
183
  iframe: {
@@ -213,6 +213,22 @@ declare module '@tiptap/core' {
213
213
  }
214
214
 
215
215
 
216
+ declare module '@tiptap/core' {
217
+ interface Commands<ReturnType> {
218
+ indent: {
219
+ /**
220
+ * Set the indent attribute
221
+ */
222
+ indent: () => ReturnType;
223
+ /**
224
+ * Set the outdent attribute
225
+ */
226
+ outdent: () => ReturnType;
227
+ };
228
+ }
229
+ }
230
+
231
+
216
232
  declare module '@tiptap/core' {
217
233
  interface Commands<ReturnType> {
218
234
  imageGifUpload: {
@@ -244,15 +260,9 @@ declare module '@tiptap/core' {
244
260
 
245
261
  declare module '@tiptap/core' {
246
262
  interface Commands<ReturnType> {
247
- indent: {
248
- /**
249
- * Set the indent attribute
250
- */
251
- indent: () => ReturnType;
252
- /**
253
- * Set the outdent attribute
254
- */
255
- outdent: () => ReturnType;
263
+ lineHeight: {
264
+ setLineHeight: (lineHeight: string) => ReturnType;
265
+ unsetLineHeight: () => ReturnType;
256
266
  };
257
267
  }
258
268
  }
@@ -260,9 +270,9 @@ declare module '@tiptap/core' {
260
270
 
261
271
  declare module '@tiptap/core' {
262
272
  interface Commands<ReturnType> {
263
- lineHeight: {
264
- setLineHeight: (lineHeight: string) => ReturnType;
265
- unsetLineHeight: () => ReturnType;
273
+ mermaid: {
274
+ setMermaid: (options: any, replace?: any) => ReturnType;
275
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
266
276
  };
267
277
  }
268
278
  }
@@ -282,26 +292,6 @@ declare module '@tiptap/core' {
282
292
  }
283
293
 
284
294
 
285
- declare module '@tiptap/core' {
286
- interface Commands<ReturnType> {
287
- mermaid: {
288
- setMermaid: (options: any, replace?: any) => ReturnType;
289
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
290
- };
291
- }
292
- }
293
-
294
-
295
- declare module '@tiptap/core' {
296
- interface Commands<ReturnType> {
297
- tableOfContents: {
298
- setTableOfContents: () => ReturnType;
299
- removeTableOfContents: () => ReturnType;
300
- };
301
- }
302
- }
303
-
304
-
305
295
  declare module '@tiptap/core' {
306
296
  interface Commands<ReturnType> {
307
297
  search: {
@@ -325,6 +315,16 @@ declare module '@tiptap/core' {
325
315
  }
326
316
 
327
317
 
318
+ declare module '@tiptap/core' {
319
+ interface Commands<ReturnType> {
320
+ tableOfContents: {
321
+ setTableOfContents: () => ReturnType;
322
+ removeTableOfContents: () => ReturnType;
323
+ };
324
+ }
325
+ }
326
+
327
+
328
328
  declare module '@tiptap/core' {
329
329
  interface Commands<ReturnType> {
330
330
  twitter: {
@@ -116,8 +116,9 @@ declare module '@tiptap/core' {
116
116
 
117
117
  declare module '@tiptap/core' {
118
118
  interface Commands<ReturnType> {
119
- excalidraw: {
120
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
119
+ drawer: {
120
+ setDrawer: (options: any, replace?: any) => ReturnType;
121
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
121
122
  };
122
123
  }
123
124
  }
@@ -125,9 +126,8 @@ declare module '@tiptap/core' {
125
126
 
126
127
  declare module '@tiptap/core' {
127
128
  interface Commands<ReturnType> {
128
- drawer: {
129
- setDrawer: (options: any, replace?: any) => ReturnType;
130
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
129
+ excalidraw: {
130
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
131
131
  };
132
132
  }
133
133
  }
@@ -151,15 +151,6 @@ declare module '@tiptap/core' {
151
151
  }
152
152
 
153
153
 
154
- declare module '@tiptap/core' {
155
- interface Commands<ReturnType> {
156
- painter: {
157
- setPainter: (marks: Mark[]) => ReturnType;
158
- };
159
- }
160
- }
161
-
162
-
163
154
  declare module '@tiptap/core' {
164
155
  interface Commands<ReturnType> {
165
156
  fontSize: {
@@ -178,6 +169,15 @@ declare module '@tiptap/core' {
178
169
  }
179
170
 
180
171
 
172
+ declare module '@tiptap/core' {
173
+ interface Commands<ReturnType> {
174
+ painter: {
175
+ setPainter: (marks: Mark[]) => ReturnType;
176
+ };
177
+ }
178
+ }
179
+
180
+
181
181
  declare module '@tiptap/core' {
182
182
  interface Commands<ReturnType> {
183
183
  iframe: {
@@ -213,6 +213,22 @@ declare module '@tiptap/core' {
213
213
  }
214
214
 
215
215
 
216
+ declare module '@tiptap/core' {
217
+ interface Commands<ReturnType> {
218
+ indent: {
219
+ /**
220
+ * Set the indent attribute
221
+ */
222
+ indent: () => ReturnType;
223
+ /**
224
+ * Set the outdent attribute
225
+ */
226
+ outdent: () => ReturnType;
227
+ };
228
+ }
229
+ }
230
+
231
+
216
232
  declare module '@tiptap/core' {
217
233
  interface Commands<ReturnType> {
218
234
  imageGifUpload: {
@@ -244,15 +260,9 @@ declare module '@tiptap/core' {
244
260
 
245
261
  declare module '@tiptap/core' {
246
262
  interface Commands<ReturnType> {
247
- indent: {
248
- /**
249
- * Set the indent attribute
250
- */
251
- indent: () => ReturnType;
252
- /**
253
- * Set the outdent attribute
254
- */
255
- outdent: () => ReturnType;
263
+ lineHeight: {
264
+ setLineHeight: (lineHeight: string) => ReturnType;
265
+ unsetLineHeight: () => ReturnType;
256
266
  };
257
267
  }
258
268
  }
@@ -260,9 +270,9 @@ declare module '@tiptap/core' {
260
270
 
261
271
  declare module '@tiptap/core' {
262
272
  interface Commands<ReturnType> {
263
- lineHeight: {
264
- setLineHeight: (lineHeight: string) => ReturnType;
265
- unsetLineHeight: () => ReturnType;
273
+ mermaid: {
274
+ setMermaid: (options: any, replace?: any) => ReturnType;
275
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
266
276
  };
267
277
  }
268
278
  }
@@ -282,26 +292,6 @@ declare module '@tiptap/core' {
282
292
  }
283
293
 
284
294
 
285
- declare module '@tiptap/core' {
286
- interface Commands<ReturnType> {
287
- mermaid: {
288
- setMermaid: (options: any, replace?: any) => ReturnType;
289
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
290
- };
291
- }
292
- }
293
-
294
-
295
- declare module '@tiptap/core' {
296
- interface Commands<ReturnType> {
297
- tableOfContents: {
298
- setTableOfContents: () => ReturnType;
299
- removeTableOfContents: () => ReturnType;
300
- };
301
- }
302
- }
303
-
304
-
305
295
  declare module '@tiptap/core' {
306
296
  interface Commands<ReturnType> {
307
297
  search: {
@@ -325,6 +315,16 @@ declare module '@tiptap/core' {
325
315
  }
326
316
 
327
317
 
318
+ declare module '@tiptap/core' {
319
+ interface Commands<ReturnType> {
320
+ tableOfContents: {
321
+ setTableOfContents: () => ReturnType;
322
+ removeTableOfContents: () => ReturnType;
323
+ };
324
+ }
325
+ }
326
+
327
+
328
328
  declare module '@tiptap/core' {
329
329
  interface Commands<ReturnType> {
330
330
  twitter: {
package/lib/Link.d.cts CHANGED
@@ -114,8 +114,9 @@ declare module '@tiptap/core' {
114
114
 
115
115
  declare module '@tiptap/core' {
116
116
  interface Commands<ReturnType> {
117
- excalidraw: {
118
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
117
+ drawer: {
118
+ setDrawer: (options: any, replace?: any) => ReturnType;
119
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
119
120
  };
120
121
  }
121
122
  }
@@ -123,9 +124,8 @@ declare module '@tiptap/core' {
123
124
 
124
125
  declare module '@tiptap/core' {
125
126
  interface Commands<ReturnType> {
126
- drawer: {
127
- setDrawer: (options: any, replace?: any) => ReturnType;
128
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
127
+ excalidraw: {
128
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
129
129
  };
130
130
  }
131
131
  }
@@ -149,15 +149,6 @@ declare module '@tiptap/core' {
149
149
  }
150
150
 
151
151
 
152
- declare module '@tiptap/core' {
153
- interface Commands<ReturnType> {
154
- painter: {
155
- setPainter: (marks: Mark[]) => ReturnType;
156
- };
157
- }
158
- }
159
-
160
-
161
152
  declare module '@tiptap/core' {
162
153
  interface Commands<ReturnType> {
163
154
  fontSize: {
@@ -176,6 +167,15 @@ declare module '@tiptap/core' {
176
167
  }
177
168
 
178
169
 
170
+ declare module '@tiptap/core' {
171
+ interface Commands<ReturnType> {
172
+ painter: {
173
+ setPainter: (marks: Mark[]) => ReturnType;
174
+ };
175
+ }
176
+ }
177
+
178
+
179
179
  declare module '@tiptap/core' {
180
180
  interface Commands<ReturnType> {
181
181
  iframe: {
@@ -211,6 +211,22 @@ declare module '@tiptap/core' {
211
211
  }
212
212
 
213
213
 
214
+ declare module '@tiptap/core' {
215
+ interface Commands<ReturnType> {
216
+ indent: {
217
+ /**
218
+ * Set the indent attribute
219
+ */
220
+ indent: () => ReturnType;
221
+ /**
222
+ * Set the outdent attribute
223
+ */
224
+ outdent: () => ReturnType;
225
+ };
226
+ }
227
+ }
228
+
229
+
214
230
  declare module '@tiptap/core' {
215
231
  interface Commands<ReturnType> {
216
232
  imageGifUpload: {
@@ -242,15 +258,9 @@ declare module '@tiptap/core' {
242
258
 
243
259
  declare module '@tiptap/core' {
244
260
  interface Commands<ReturnType> {
245
- indent: {
246
- /**
247
- * Set the indent attribute
248
- */
249
- indent: () => ReturnType;
250
- /**
251
- * Set the outdent attribute
252
- */
253
- outdent: () => ReturnType;
261
+ lineHeight: {
262
+ setLineHeight: (lineHeight: string) => ReturnType;
263
+ unsetLineHeight: () => ReturnType;
254
264
  };
255
265
  }
256
266
  }
@@ -258,9 +268,9 @@ declare module '@tiptap/core' {
258
268
 
259
269
  declare module '@tiptap/core' {
260
270
  interface Commands<ReturnType> {
261
- lineHeight: {
262
- setLineHeight: (lineHeight: string) => ReturnType;
263
- unsetLineHeight: () => ReturnType;
271
+ mermaid: {
272
+ setMermaid: (options: any, replace?: any) => ReturnType;
273
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
264
274
  };
265
275
  }
266
276
  }
@@ -280,26 +290,6 @@ declare module '@tiptap/core' {
280
290
  }
281
291
 
282
292
 
283
- declare module '@tiptap/core' {
284
- interface Commands<ReturnType> {
285
- mermaid: {
286
- setMermaid: (options: any, replace?: any) => ReturnType;
287
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
288
- };
289
- }
290
- }
291
-
292
-
293
- declare module '@tiptap/core' {
294
- interface Commands<ReturnType> {
295
- tableOfContents: {
296
- setTableOfContents: () => ReturnType;
297
- removeTableOfContents: () => ReturnType;
298
- };
299
- }
300
- }
301
-
302
-
303
293
  declare module '@tiptap/core' {
304
294
  interface Commands<ReturnType> {
305
295
  search: {
@@ -323,6 +313,16 @@ declare module '@tiptap/core' {
323
313
  }
324
314
 
325
315
 
316
+ declare module '@tiptap/core' {
317
+ interface Commands<ReturnType> {
318
+ tableOfContents: {
319
+ setTableOfContents: () => ReturnType;
320
+ removeTableOfContents: () => ReturnType;
321
+ };
322
+ }
323
+ }
324
+
325
+
326
326
  declare module '@tiptap/core' {
327
327
  interface Commands<ReturnType> {
328
328
  twitter: {
package/lib/Link.d.ts CHANGED
@@ -114,8 +114,9 @@ declare module '@tiptap/core' {
114
114
 
115
115
  declare module '@tiptap/core' {
116
116
  interface Commands<ReturnType> {
117
- excalidraw: {
118
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
117
+ drawer: {
118
+ setDrawer: (options: any, replace?: any) => ReturnType;
119
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
119
120
  };
120
121
  }
121
122
  }
@@ -123,9 +124,8 @@ declare module '@tiptap/core' {
123
124
 
124
125
  declare module '@tiptap/core' {
125
126
  interface Commands<ReturnType> {
126
- drawer: {
127
- setDrawer: (options: any, replace?: any) => ReturnType;
128
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
127
+ excalidraw: {
128
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
129
129
  };
130
130
  }
131
131
  }
@@ -149,15 +149,6 @@ declare module '@tiptap/core' {
149
149
  }
150
150
 
151
151
 
152
- declare module '@tiptap/core' {
153
- interface Commands<ReturnType> {
154
- painter: {
155
- setPainter: (marks: Mark[]) => ReturnType;
156
- };
157
- }
158
- }
159
-
160
-
161
152
  declare module '@tiptap/core' {
162
153
  interface Commands<ReturnType> {
163
154
  fontSize: {
@@ -176,6 +167,15 @@ declare module '@tiptap/core' {
176
167
  }
177
168
 
178
169
 
170
+ declare module '@tiptap/core' {
171
+ interface Commands<ReturnType> {
172
+ painter: {
173
+ setPainter: (marks: Mark[]) => ReturnType;
174
+ };
175
+ }
176
+ }
177
+
178
+
179
179
  declare module '@tiptap/core' {
180
180
  interface Commands<ReturnType> {
181
181
  iframe: {
@@ -211,6 +211,22 @@ declare module '@tiptap/core' {
211
211
  }
212
212
 
213
213
 
214
+ declare module '@tiptap/core' {
215
+ interface Commands<ReturnType> {
216
+ indent: {
217
+ /**
218
+ * Set the indent attribute
219
+ */
220
+ indent: () => ReturnType;
221
+ /**
222
+ * Set the outdent attribute
223
+ */
224
+ outdent: () => ReturnType;
225
+ };
226
+ }
227
+ }
228
+
229
+
214
230
  declare module '@tiptap/core' {
215
231
  interface Commands<ReturnType> {
216
232
  imageGifUpload: {
@@ -242,15 +258,9 @@ declare module '@tiptap/core' {
242
258
 
243
259
  declare module '@tiptap/core' {
244
260
  interface Commands<ReturnType> {
245
- indent: {
246
- /**
247
- * Set the indent attribute
248
- */
249
- indent: () => ReturnType;
250
- /**
251
- * Set the outdent attribute
252
- */
253
- outdent: () => ReturnType;
261
+ lineHeight: {
262
+ setLineHeight: (lineHeight: string) => ReturnType;
263
+ unsetLineHeight: () => ReturnType;
254
264
  };
255
265
  }
256
266
  }
@@ -258,9 +268,9 @@ declare module '@tiptap/core' {
258
268
 
259
269
  declare module '@tiptap/core' {
260
270
  interface Commands<ReturnType> {
261
- lineHeight: {
262
- setLineHeight: (lineHeight: string) => ReturnType;
263
- unsetLineHeight: () => ReturnType;
271
+ mermaid: {
272
+ setMermaid: (options: any, replace?: any) => ReturnType;
273
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
264
274
  };
265
275
  }
266
276
  }
@@ -280,26 +290,6 @@ declare module '@tiptap/core' {
280
290
  }
281
291
 
282
292
 
283
- declare module '@tiptap/core' {
284
- interface Commands<ReturnType> {
285
- mermaid: {
286
- setMermaid: (options: any, replace?: any) => ReturnType;
287
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
288
- };
289
- }
290
- }
291
-
292
-
293
- declare module '@tiptap/core' {
294
- interface Commands<ReturnType> {
295
- tableOfContents: {
296
- setTableOfContents: () => ReturnType;
297
- removeTableOfContents: () => ReturnType;
298
- };
299
- }
300
- }
301
-
302
-
303
293
  declare module '@tiptap/core' {
304
294
  interface Commands<ReturnType> {
305
295
  search: {
@@ -323,6 +313,16 @@ declare module '@tiptap/core' {
323
313
  }
324
314
 
325
315
 
316
+ declare module '@tiptap/core' {
317
+ interface Commands<ReturnType> {
318
+ tableOfContents: {
319
+ setTableOfContents: () => ReturnType;
320
+ removeTableOfContents: () => ReturnType;
321
+ };
322
+ }
323
+ }
324
+
325
+
326
326
  declare module '@tiptap/core' {
327
327
  interface Commands<ReturnType> {
328
328
  twitter: {