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
@@ -41,8 +41,9 @@ declare module '@tiptap/core' {
41
41
 
42
42
  declare module '@tiptap/core' {
43
43
  interface Commands<ReturnType> {
44
- excalidraw: {
45
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
44
+ drawer: {
45
+ setDrawer: (options: any, replace?: any) => ReturnType;
46
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
46
47
  };
47
48
  }
48
49
  }
@@ -50,9 +51,8 @@ declare module '@tiptap/core' {
50
51
 
51
52
  declare module '@tiptap/core' {
52
53
  interface Commands<ReturnType> {
53
- drawer: {
54
- setDrawer: (options: any, replace?: any) => ReturnType;
55
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
54
+ excalidraw: {
55
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
56
56
  };
57
57
  }
58
58
  }
@@ -76,15 +76,6 @@ declare module '@tiptap/core' {
76
76
  }
77
77
 
78
78
 
79
- declare module '@tiptap/core' {
80
- interface Commands<ReturnType> {
81
- painter: {
82
- setPainter: (marks: Mark[]) => ReturnType;
83
- };
84
- }
85
- }
86
-
87
-
88
79
  declare module '@tiptap/core' {
89
80
  interface Commands<ReturnType> {
90
81
  fontSize: {
@@ -103,6 +94,15 @@ declare module '@tiptap/core' {
103
94
  }
104
95
 
105
96
 
97
+ declare module '@tiptap/core' {
98
+ interface Commands<ReturnType> {
99
+ painter: {
100
+ setPainter: (marks: Mark[]) => ReturnType;
101
+ };
102
+ }
103
+ }
104
+
105
+
106
106
  declare module '@tiptap/core' {
107
107
  interface Commands<ReturnType> {
108
108
  iframe: {
@@ -138,6 +138,22 @@ declare module '@tiptap/core' {
138
138
  }
139
139
 
140
140
 
141
+ declare module '@tiptap/core' {
142
+ interface Commands<ReturnType> {
143
+ indent: {
144
+ /**
145
+ * Set the indent attribute
146
+ */
147
+ indent: () => ReturnType;
148
+ /**
149
+ * Set the outdent attribute
150
+ */
151
+ outdent: () => ReturnType;
152
+ };
153
+ }
154
+ }
155
+
156
+
141
157
  declare module '@tiptap/core' {
142
158
  interface Commands<ReturnType> {
143
159
  imageGifUpload: {
@@ -169,15 +185,9 @@ declare module '@tiptap/core' {
169
185
 
170
186
  declare module '@tiptap/core' {
171
187
  interface Commands<ReturnType> {
172
- indent: {
173
- /**
174
- * Set the indent attribute
175
- */
176
- indent: () => ReturnType;
177
- /**
178
- * Set the outdent attribute
179
- */
180
- outdent: () => ReturnType;
188
+ lineHeight: {
189
+ setLineHeight: (lineHeight: string) => ReturnType;
190
+ unsetLineHeight: () => ReturnType;
181
191
  };
182
192
  }
183
193
  }
@@ -185,9 +195,9 @@ declare module '@tiptap/core' {
185
195
 
186
196
  declare module '@tiptap/core' {
187
197
  interface Commands<ReturnType> {
188
- lineHeight: {
189
- setLineHeight: (lineHeight: string) => ReturnType;
190
- unsetLineHeight: () => ReturnType;
198
+ mermaid: {
199
+ setMermaid: (options: any, replace?: any) => ReturnType;
200
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
191
201
  };
192
202
  }
193
203
  }
@@ -207,26 +217,6 @@ declare module '@tiptap/core' {
207
217
  }
208
218
 
209
219
 
210
- declare module '@tiptap/core' {
211
- interface Commands<ReturnType> {
212
- mermaid: {
213
- setMermaid: (options: any, replace?: any) => ReturnType;
214
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
215
- };
216
- }
217
- }
218
-
219
-
220
- declare module '@tiptap/core' {
221
- interface Commands<ReturnType> {
222
- tableOfContents: {
223
- setTableOfContents: () => ReturnType;
224
- removeTableOfContents: () => ReturnType;
225
- };
226
- }
227
- }
228
-
229
-
230
220
  declare module '@tiptap/core' {
231
221
  interface Commands<ReturnType> {
232
222
  search: {
@@ -250,6 +240,16 @@ declare module '@tiptap/core' {
250
240
  }
251
241
 
252
242
 
243
+ declare module '@tiptap/core' {
244
+ interface Commands<ReturnType> {
245
+ tableOfContents: {
246
+ setTableOfContents: () => ReturnType;
247
+ removeTableOfContents: () => ReturnType;
248
+ };
249
+ }
250
+ }
251
+
252
+
253
253
  declare module '@tiptap/core' {
254
254
  interface Commands<ReturnType> {
255
255
  twitter: {
@@ -41,8 +41,9 @@ declare module '@tiptap/core' {
41
41
 
42
42
  declare module '@tiptap/core' {
43
43
  interface Commands<ReturnType> {
44
- excalidraw: {
45
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
44
+ drawer: {
45
+ setDrawer: (options: any, replace?: any) => ReturnType;
46
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
46
47
  };
47
48
  }
48
49
  }
@@ -50,9 +51,8 @@ declare module '@tiptap/core' {
50
51
 
51
52
  declare module '@tiptap/core' {
52
53
  interface Commands<ReturnType> {
53
- drawer: {
54
- setDrawer: (options: any, replace?: any) => ReturnType;
55
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
54
+ excalidraw: {
55
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
56
56
  };
57
57
  }
58
58
  }
@@ -76,15 +76,6 @@ declare module '@tiptap/core' {
76
76
  }
77
77
 
78
78
 
79
- declare module '@tiptap/core' {
80
- interface Commands<ReturnType> {
81
- painter: {
82
- setPainter: (marks: Mark[]) => ReturnType;
83
- };
84
- }
85
- }
86
-
87
-
88
79
  declare module '@tiptap/core' {
89
80
  interface Commands<ReturnType> {
90
81
  fontSize: {
@@ -103,6 +94,15 @@ declare module '@tiptap/core' {
103
94
  }
104
95
 
105
96
 
97
+ declare module '@tiptap/core' {
98
+ interface Commands<ReturnType> {
99
+ painter: {
100
+ setPainter: (marks: Mark[]) => ReturnType;
101
+ };
102
+ }
103
+ }
104
+
105
+
106
106
  declare module '@tiptap/core' {
107
107
  interface Commands<ReturnType> {
108
108
  iframe: {
@@ -138,6 +138,22 @@ declare module '@tiptap/core' {
138
138
  }
139
139
 
140
140
 
141
+ declare module '@tiptap/core' {
142
+ interface Commands<ReturnType> {
143
+ indent: {
144
+ /**
145
+ * Set the indent attribute
146
+ */
147
+ indent: () => ReturnType;
148
+ /**
149
+ * Set the outdent attribute
150
+ */
151
+ outdent: () => ReturnType;
152
+ };
153
+ }
154
+ }
155
+
156
+
141
157
  declare module '@tiptap/core' {
142
158
  interface Commands<ReturnType> {
143
159
  imageGifUpload: {
@@ -169,15 +185,9 @@ declare module '@tiptap/core' {
169
185
 
170
186
  declare module '@tiptap/core' {
171
187
  interface Commands<ReturnType> {
172
- indent: {
173
- /**
174
- * Set the indent attribute
175
- */
176
- indent: () => ReturnType;
177
- /**
178
- * Set the outdent attribute
179
- */
180
- outdent: () => ReturnType;
188
+ lineHeight: {
189
+ setLineHeight: (lineHeight: string) => ReturnType;
190
+ unsetLineHeight: () => ReturnType;
181
191
  };
182
192
  }
183
193
  }
@@ -185,9 +195,9 @@ declare module '@tiptap/core' {
185
195
 
186
196
  declare module '@tiptap/core' {
187
197
  interface Commands<ReturnType> {
188
- lineHeight: {
189
- setLineHeight: (lineHeight: string) => ReturnType;
190
- unsetLineHeight: () => ReturnType;
198
+ mermaid: {
199
+ setMermaid: (options: any, replace?: any) => ReturnType;
200
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
191
201
  };
192
202
  }
193
203
  }
@@ -207,26 +217,6 @@ declare module '@tiptap/core' {
207
217
  }
208
218
 
209
219
 
210
- declare module '@tiptap/core' {
211
- interface Commands<ReturnType> {
212
- mermaid: {
213
- setMermaid: (options: any, replace?: any) => ReturnType;
214
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
215
- };
216
- }
217
- }
218
-
219
-
220
- declare module '@tiptap/core' {
221
- interface Commands<ReturnType> {
222
- tableOfContents: {
223
- setTableOfContents: () => ReturnType;
224
- removeTableOfContents: () => ReturnType;
225
- };
226
- }
227
- }
228
-
229
-
230
220
  declare module '@tiptap/core' {
231
221
  interface Commands<ReturnType> {
232
222
  search: {
@@ -250,6 +240,16 @@ declare module '@tiptap/core' {
250
240
  }
251
241
 
252
242
 
243
+ declare module '@tiptap/core' {
244
+ interface Commands<ReturnType> {
245
+ tableOfContents: {
246
+ setTableOfContents: () => ReturnType;
247
+ removeTableOfContents: () => ReturnType;
248
+ };
249
+ }
250
+ }
251
+
252
+
253
253
  declare module '@tiptap/core' {
254
254
  interface Commands<ReturnType> {
255
255
  twitter: {
@@ -118,8 +118,9 @@ declare module '@tiptap/core' {
118
118
 
119
119
  declare module '@tiptap/core' {
120
120
  interface Commands<ReturnType> {
121
- excalidraw: {
122
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
121
+ drawer: {
122
+ setDrawer: (options: any, replace?: any) => ReturnType;
123
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
123
124
  };
124
125
  }
125
126
  }
@@ -127,9 +128,8 @@ declare module '@tiptap/core' {
127
128
 
128
129
  declare module '@tiptap/core' {
129
130
  interface Commands<ReturnType> {
130
- drawer: {
131
- setDrawer: (options: any, replace?: any) => ReturnType;
132
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
131
+ excalidraw: {
132
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
133
133
  };
134
134
  }
135
135
  }
@@ -153,15 +153,6 @@ declare module '@tiptap/core' {
153
153
  }
154
154
 
155
155
 
156
- declare module '@tiptap/core' {
157
- interface Commands<ReturnType> {
158
- painter: {
159
- setPainter: (marks: Mark[]) => ReturnType;
160
- };
161
- }
162
- }
163
-
164
-
165
156
  declare module '@tiptap/core' {
166
157
  interface Commands<ReturnType> {
167
158
  fontSize: {
@@ -180,6 +171,15 @@ declare module '@tiptap/core' {
180
171
  }
181
172
 
182
173
 
174
+ declare module '@tiptap/core' {
175
+ interface Commands<ReturnType> {
176
+ painter: {
177
+ setPainter: (marks: Mark[]) => ReturnType;
178
+ };
179
+ }
180
+ }
181
+
182
+
183
183
  declare module '@tiptap/core' {
184
184
  interface Commands<ReturnType> {
185
185
  iframe: {
@@ -215,6 +215,22 @@ declare module '@tiptap/core' {
215
215
  }
216
216
 
217
217
 
218
+ declare module '@tiptap/core' {
219
+ interface Commands<ReturnType> {
220
+ indent: {
221
+ /**
222
+ * Set the indent attribute
223
+ */
224
+ indent: () => ReturnType;
225
+ /**
226
+ * Set the outdent attribute
227
+ */
228
+ outdent: () => ReturnType;
229
+ };
230
+ }
231
+ }
232
+
233
+
218
234
  declare module '@tiptap/core' {
219
235
  interface Commands<ReturnType> {
220
236
  imageGifUpload: {
@@ -246,15 +262,9 @@ declare module '@tiptap/core' {
246
262
 
247
263
  declare module '@tiptap/core' {
248
264
  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;
265
+ lineHeight: {
266
+ setLineHeight: (lineHeight: string) => ReturnType;
267
+ unsetLineHeight: () => ReturnType;
258
268
  };
259
269
  }
260
270
  }
@@ -262,9 +272,9 @@ declare module '@tiptap/core' {
262
272
 
263
273
  declare module '@tiptap/core' {
264
274
  interface Commands<ReturnType> {
265
- lineHeight: {
266
- setLineHeight: (lineHeight: string) => ReturnType;
267
- unsetLineHeight: () => ReturnType;
275
+ mermaid: {
276
+ setMermaid: (options: any, replace?: any) => ReturnType;
277
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
268
278
  };
269
279
  }
270
280
  }
@@ -284,26 +294,6 @@ declare module '@tiptap/core' {
284
294
  }
285
295
 
286
296
 
287
- declare module '@tiptap/core' {
288
- interface Commands<ReturnType> {
289
- mermaid: {
290
- setMermaid: (options: any, replace?: any) => ReturnType;
291
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
292
- };
293
- }
294
- }
295
-
296
-
297
- declare module '@tiptap/core' {
298
- interface Commands<ReturnType> {
299
- tableOfContents: {
300
- setTableOfContents: () => ReturnType;
301
- removeTableOfContents: () => ReturnType;
302
- };
303
- }
304
- }
305
-
306
-
307
297
  declare module '@tiptap/core' {
308
298
  interface Commands<ReturnType> {
309
299
  search: {
@@ -327,6 +317,16 @@ declare module '@tiptap/core' {
327
317
  }
328
318
 
329
319
 
320
+ declare module '@tiptap/core' {
321
+ interface Commands<ReturnType> {
322
+ tableOfContents: {
323
+ setTableOfContents: () => ReturnType;
324
+ removeTableOfContents: () => ReturnType;
325
+ };
326
+ }
327
+ }
328
+
329
+
330
330
  declare module '@tiptap/core' {
331
331
  interface Commands<ReturnType> {
332
332
  twitter: {
package/lib/TaskList.d.ts CHANGED
@@ -118,8 +118,9 @@ declare module '@tiptap/core' {
118
118
 
119
119
  declare module '@tiptap/core' {
120
120
  interface Commands<ReturnType> {
121
- excalidraw: {
122
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
121
+ drawer: {
122
+ setDrawer: (options: any, replace?: any) => ReturnType;
123
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
123
124
  };
124
125
  }
125
126
  }
@@ -127,9 +128,8 @@ declare module '@tiptap/core' {
127
128
 
128
129
  declare module '@tiptap/core' {
129
130
  interface Commands<ReturnType> {
130
- drawer: {
131
- setDrawer: (options: any, replace?: any) => ReturnType;
132
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
131
+ excalidraw: {
132
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
133
133
  };
134
134
  }
135
135
  }
@@ -153,15 +153,6 @@ declare module '@tiptap/core' {
153
153
  }
154
154
 
155
155
 
156
- declare module '@tiptap/core' {
157
- interface Commands<ReturnType> {
158
- painter: {
159
- setPainter: (marks: Mark[]) => ReturnType;
160
- };
161
- }
162
- }
163
-
164
-
165
156
  declare module '@tiptap/core' {
166
157
  interface Commands<ReturnType> {
167
158
  fontSize: {
@@ -180,6 +171,15 @@ declare module '@tiptap/core' {
180
171
  }
181
172
 
182
173
 
174
+ declare module '@tiptap/core' {
175
+ interface Commands<ReturnType> {
176
+ painter: {
177
+ setPainter: (marks: Mark[]) => ReturnType;
178
+ };
179
+ }
180
+ }
181
+
182
+
183
183
  declare module '@tiptap/core' {
184
184
  interface Commands<ReturnType> {
185
185
  iframe: {
@@ -215,6 +215,22 @@ declare module '@tiptap/core' {
215
215
  }
216
216
 
217
217
 
218
+ declare module '@tiptap/core' {
219
+ interface Commands<ReturnType> {
220
+ indent: {
221
+ /**
222
+ * Set the indent attribute
223
+ */
224
+ indent: () => ReturnType;
225
+ /**
226
+ * Set the outdent attribute
227
+ */
228
+ outdent: () => ReturnType;
229
+ };
230
+ }
231
+ }
232
+
233
+
218
234
  declare module '@tiptap/core' {
219
235
  interface Commands<ReturnType> {
220
236
  imageGifUpload: {
@@ -246,15 +262,9 @@ declare module '@tiptap/core' {
246
262
 
247
263
  declare module '@tiptap/core' {
248
264
  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;
265
+ lineHeight: {
266
+ setLineHeight: (lineHeight: string) => ReturnType;
267
+ unsetLineHeight: () => ReturnType;
258
268
  };
259
269
  }
260
270
  }
@@ -262,9 +272,9 @@ declare module '@tiptap/core' {
262
272
 
263
273
  declare module '@tiptap/core' {
264
274
  interface Commands<ReturnType> {
265
- lineHeight: {
266
- setLineHeight: (lineHeight: string) => ReturnType;
267
- unsetLineHeight: () => ReturnType;
275
+ mermaid: {
276
+ setMermaid: (options: any, replace?: any) => ReturnType;
277
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
268
278
  };
269
279
  }
270
280
  }
@@ -284,26 +294,6 @@ declare module '@tiptap/core' {
284
294
  }
285
295
 
286
296
 
287
- declare module '@tiptap/core' {
288
- interface Commands<ReturnType> {
289
- mermaid: {
290
- setMermaid: (options: any, replace?: any) => ReturnType;
291
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
292
- };
293
- }
294
- }
295
-
296
-
297
- declare module '@tiptap/core' {
298
- interface Commands<ReturnType> {
299
- tableOfContents: {
300
- setTableOfContents: () => ReturnType;
301
- removeTableOfContents: () => ReturnType;
302
- };
303
- }
304
- }
305
-
306
-
307
297
  declare module '@tiptap/core' {
308
298
  interface Commands<ReturnType> {
309
299
  search: {
@@ -327,6 +317,16 @@ declare module '@tiptap/core' {
327
317
  }
328
318
 
329
319
 
320
+ declare module '@tiptap/core' {
321
+ interface Commands<ReturnType> {
322
+ tableOfContents: {
323
+ setTableOfContents: () => ReturnType;
324
+ removeTableOfContents: () => ReturnType;
325
+ };
326
+ }
327
+ }
328
+
329
+
330
330
  declare module '@tiptap/core' {
331
331
  interface Commands<ReturnType> {
332
332
  twitter: {