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
@@ -112,8 +112,9 @@ declare module '@tiptap/core' {
112
112
 
113
113
  declare module '@tiptap/core' {
114
114
  interface Commands<ReturnType> {
115
- excalidraw: {
116
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
115
+ drawer: {
116
+ setDrawer: (options: any, replace?: any) => ReturnType;
117
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
117
118
  };
118
119
  }
119
120
  }
@@ -121,9 +122,8 @@ declare module '@tiptap/core' {
121
122
 
122
123
  declare module '@tiptap/core' {
123
124
  interface Commands<ReturnType> {
124
- drawer: {
125
- setDrawer: (options: any, replace?: any) => ReturnType;
126
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
125
+ excalidraw: {
126
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
127
127
  };
128
128
  }
129
129
  }
@@ -147,15 +147,6 @@ declare module '@tiptap/core' {
147
147
  }
148
148
 
149
149
 
150
- declare module '@tiptap/core' {
151
- interface Commands<ReturnType> {
152
- painter: {
153
- setPainter: (marks: Mark[]) => ReturnType;
154
- };
155
- }
156
- }
157
-
158
-
159
150
  declare module '@tiptap/core' {
160
151
  interface Commands<ReturnType> {
161
152
  fontSize: {
@@ -174,6 +165,15 @@ declare module '@tiptap/core' {
174
165
  }
175
166
 
176
167
 
168
+ declare module '@tiptap/core' {
169
+ interface Commands<ReturnType> {
170
+ painter: {
171
+ setPainter: (marks: Mark[]) => ReturnType;
172
+ };
173
+ }
174
+ }
175
+
176
+
177
177
  declare module '@tiptap/core' {
178
178
  interface Commands<ReturnType> {
179
179
  iframe: {
@@ -209,6 +209,22 @@ declare module '@tiptap/core' {
209
209
  }
210
210
 
211
211
 
212
+ declare module '@tiptap/core' {
213
+ interface Commands<ReturnType> {
214
+ indent: {
215
+ /**
216
+ * Set the indent attribute
217
+ */
218
+ indent: () => ReturnType;
219
+ /**
220
+ * Set the outdent attribute
221
+ */
222
+ outdent: () => ReturnType;
223
+ };
224
+ }
225
+ }
226
+
227
+
212
228
  declare module '@tiptap/core' {
213
229
  interface Commands<ReturnType> {
214
230
  imageGifUpload: {
@@ -240,15 +256,9 @@ declare module '@tiptap/core' {
240
256
 
241
257
  declare module '@tiptap/core' {
242
258
  interface Commands<ReturnType> {
243
- indent: {
244
- /**
245
- * Set the indent attribute
246
- */
247
- indent: () => ReturnType;
248
- /**
249
- * Set the outdent attribute
250
- */
251
- outdent: () => ReturnType;
259
+ lineHeight: {
260
+ setLineHeight: (lineHeight: string) => ReturnType;
261
+ unsetLineHeight: () => ReturnType;
252
262
  };
253
263
  }
254
264
  }
@@ -256,9 +266,9 @@ declare module '@tiptap/core' {
256
266
 
257
267
  declare module '@tiptap/core' {
258
268
  interface Commands<ReturnType> {
259
- lineHeight: {
260
- setLineHeight: (lineHeight: string) => ReturnType;
261
- unsetLineHeight: () => ReturnType;
269
+ mermaid: {
270
+ setMermaid: (options: any, replace?: any) => ReturnType;
271
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
262
272
  };
263
273
  }
264
274
  }
@@ -278,26 +288,6 @@ declare module '@tiptap/core' {
278
288
  }
279
289
 
280
290
 
281
- declare module '@tiptap/core' {
282
- interface Commands<ReturnType> {
283
- mermaid: {
284
- setMermaid: (options: any, replace?: any) => ReturnType;
285
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
286
- };
287
- }
288
- }
289
-
290
-
291
- declare module '@tiptap/core' {
292
- interface Commands<ReturnType> {
293
- tableOfContents: {
294
- setTableOfContents: () => ReturnType;
295
- removeTableOfContents: () => ReturnType;
296
- };
297
- }
298
- }
299
-
300
-
301
291
  declare module '@tiptap/core' {
302
292
  interface Commands<ReturnType> {
303
293
  search: {
@@ -321,6 +311,16 @@ declare module '@tiptap/core' {
321
311
  }
322
312
 
323
313
 
314
+ declare module '@tiptap/core' {
315
+ interface Commands<ReturnType> {
316
+ tableOfContents: {
317
+ setTableOfContents: () => ReturnType;
318
+ removeTableOfContents: () => ReturnType;
319
+ };
320
+ }
321
+ }
322
+
323
+
324
324
  declare module '@tiptap/core' {
325
325
  interface Commands<ReturnType> {
326
326
  twitter: {
@@ -112,8 +112,9 @@ declare module '@tiptap/core' {
112
112
 
113
113
  declare module '@tiptap/core' {
114
114
  interface Commands<ReturnType> {
115
- excalidraw: {
116
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
115
+ drawer: {
116
+ setDrawer: (options: any, replace?: any) => ReturnType;
117
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
117
118
  };
118
119
  }
119
120
  }
@@ -121,9 +122,8 @@ declare module '@tiptap/core' {
121
122
 
122
123
  declare module '@tiptap/core' {
123
124
  interface Commands<ReturnType> {
124
- drawer: {
125
- setDrawer: (options: any, replace?: any) => ReturnType;
126
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
125
+ excalidraw: {
126
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
127
127
  };
128
128
  }
129
129
  }
@@ -147,15 +147,6 @@ declare module '@tiptap/core' {
147
147
  }
148
148
 
149
149
 
150
- declare module '@tiptap/core' {
151
- interface Commands<ReturnType> {
152
- painter: {
153
- setPainter: (marks: Mark[]) => ReturnType;
154
- };
155
- }
156
- }
157
-
158
-
159
150
  declare module '@tiptap/core' {
160
151
  interface Commands<ReturnType> {
161
152
  fontSize: {
@@ -174,6 +165,15 @@ declare module '@tiptap/core' {
174
165
  }
175
166
 
176
167
 
168
+ declare module '@tiptap/core' {
169
+ interface Commands<ReturnType> {
170
+ painter: {
171
+ setPainter: (marks: Mark[]) => ReturnType;
172
+ };
173
+ }
174
+ }
175
+
176
+
177
177
  declare module '@tiptap/core' {
178
178
  interface Commands<ReturnType> {
179
179
  iframe: {
@@ -209,6 +209,22 @@ declare module '@tiptap/core' {
209
209
  }
210
210
 
211
211
 
212
+ declare module '@tiptap/core' {
213
+ interface Commands<ReturnType> {
214
+ indent: {
215
+ /**
216
+ * Set the indent attribute
217
+ */
218
+ indent: () => ReturnType;
219
+ /**
220
+ * Set the outdent attribute
221
+ */
222
+ outdent: () => ReturnType;
223
+ };
224
+ }
225
+ }
226
+
227
+
212
228
  declare module '@tiptap/core' {
213
229
  interface Commands<ReturnType> {
214
230
  imageGifUpload: {
@@ -240,15 +256,9 @@ declare module '@tiptap/core' {
240
256
 
241
257
  declare module '@tiptap/core' {
242
258
  interface Commands<ReturnType> {
243
- indent: {
244
- /**
245
- * Set the indent attribute
246
- */
247
- indent: () => ReturnType;
248
- /**
249
- * Set the outdent attribute
250
- */
251
- outdent: () => ReturnType;
259
+ lineHeight: {
260
+ setLineHeight: (lineHeight: string) => ReturnType;
261
+ unsetLineHeight: () => ReturnType;
252
262
  };
253
263
  }
254
264
  }
@@ -256,9 +266,9 @@ declare module '@tiptap/core' {
256
266
 
257
267
  declare module '@tiptap/core' {
258
268
  interface Commands<ReturnType> {
259
- lineHeight: {
260
- setLineHeight: (lineHeight: string) => ReturnType;
261
- unsetLineHeight: () => ReturnType;
269
+ mermaid: {
270
+ setMermaid: (options: any, replace?: any) => ReturnType;
271
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
262
272
  };
263
273
  }
264
274
  }
@@ -278,26 +288,6 @@ declare module '@tiptap/core' {
278
288
  }
279
289
 
280
290
 
281
- declare module '@tiptap/core' {
282
- interface Commands<ReturnType> {
283
- mermaid: {
284
- setMermaid: (options: any, replace?: any) => ReturnType;
285
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
286
- };
287
- }
288
- }
289
-
290
-
291
- declare module '@tiptap/core' {
292
- interface Commands<ReturnType> {
293
- tableOfContents: {
294
- setTableOfContents: () => ReturnType;
295
- removeTableOfContents: () => ReturnType;
296
- };
297
- }
298
- }
299
-
300
-
301
291
  declare module '@tiptap/core' {
302
292
  interface Commands<ReturnType> {
303
293
  search: {
@@ -321,6 +311,16 @@ declare module '@tiptap/core' {
321
311
  }
322
312
 
323
313
 
314
+ declare module '@tiptap/core' {
315
+ interface Commands<ReturnType> {
316
+ tableOfContents: {
317
+ setTableOfContents: () => ReturnType;
318
+ removeTableOfContents: () => ReturnType;
319
+ };
320
+ }
321
+ }
322
+
323
+
324
324
  declare module '@tiptap/core' {
325
325
  interface Commands<ReturnType> {
326
326
  twitter: {
package/lib/Iframe.d.cts CHANGED
@@ -44,8 +44,9 @@ declare module '@tiptap/core' {
44
44
 
45
45
  declare module '@tiptap/core' {
46
46
  interface Commands<ReturnType> {
47
- excalidraw: {
48
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
47
+ drawer: {
48
+ setDrawer: (options: any, replace?: any) => ReturnType;
49
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
49
50
  };
50
51
  }
51
52
  }
@@ -53,9 +54,8 @@ declare module '@tiptap/core' {
53
54
 
54
55
  declare module '@tiptap/core' {
55
56
  interface Commands<ReturnType> {
56
- drawer: {
57
- setDrawer: (options: any, replace?: any) => ReturnType;
58
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
57
+ excalidraw: {
58
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
59
59
  };
60
60
  }
61
61
  }
@@ -79,15 +79,6 @@ declare module '@tiptap/core' {
79
79
  }
80
80
 
81
81
 
82
- declare module '@tiptap/core' {
83
- interface Commands<ReturnType> {
84
- painter: {
85
- setPainter: (marks: Mark[]) => ReturnType;
86
- };
87
- }
88
- }
89
-
90
-
91
82
  declare module '@tiptap/core' {
92
83
  interface Commands<ReturnType> {
93
84
  fontSize: {
@@ -106,6 +97,15 @@ declare module '@tiptap/core' {
106
97
  }
107
98
 
108
99
 
100
+ declare module '@tiptap/core' {
101
+ interface Commands<ReturnType> {
102
+ painter: {
103
+ setPainter: (marks: Mark[]) => ReturnType;
104
+ };
105
+ }
106
+ }
107
+
108
+
109
109
  declare module '@tiptap/core' {
110
110
  interface Commands<ReturnType> {
111
111
  iframe: {
@@ -141,6 +141,22 @@ declare module '@tiptap/core' {
141
141
  }
142
142
 
143
143
 
144
+ declare module '@tiptap/core' {
145
+ interface Commands<ReturnType> {
146
+ indent: {
147
+ /**
148
+ * Set the indent attribute
149
+ */
150
+ indent: () => ReturnType;
151
+ /**
152
+ * Set the outdent attribute
153
+ */
154
+ outdent: () => ReturnType;
155
+ };
156
+ }
157
+ }
158
+
159
+
144
160
  declare module '@tiptap/core' {
145
161
  interface Commands<ReturnType> {
146
162
  imageGifUpload: {
@@ -172,15 +188,9 @@ declare module '@tiptap/core' {
172
188
 
173
189
  declare module '@tiptap/core' {
174
190
  interface Commands<ReturnType> {
175
- indent: {
176
- /**
177
- * Set the indent attribute
178
- */
179
- indent: () => ReturnType;
180
- /**
181
- * Set the outdent attribute
182
- */
183
- outdent: () => ReturnType;
191
+ lineHeight: {
192
+ setLineHeight: (lineHeight: string) => ReturnType;
193
+ unsetLineHeight: () => ReturnType;
184
194
  };
185
195
  }
186
196
  }
@@ -188,9 +198,9 @@ declare module '@tiptap/core' {
188
198
 
189
199
  declare module '@tiptap/core' {
190
200
  interface Commands<ReturnType> {
191
- lineHeight: {
192
- setLineHeight: (lineHeight: string) => ReturnType;
193
- unsetLineHeight: () => ReturnType;
201
+ mermaid: {
202
+ setMermaid: (options: any, replace?: any) => ReturnType;
203
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
194
204
  };
195
205
  }
196
206
  }
@@ -210,26 +220,6 @@ declare module '@tiptap/core' {
210
220
  }
211
221
 
212
222
 
213
- declare module '@tiptap/core' {
214
- interface Commands<ReturnType> {
215
- mermaid: {
216
- setMermaid: (options: any, replace?: any) => ReturnType;
217
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
218
- };
219
- }
220
- }
221
-
222
-
223
- declare module '@tiptap/core' {
224
- interface Commands<ReturnType> {
225
- tableOfContents: {
226
- setTableOfContents: () => ReturnType;
227
- removeTableOfContents: () => ReturnType;
228
- };
229
- }
230
- }
231
-
232
-
233
223
  declare module '@tiptap/core' {
234
224
  interface Commands<ReturnType> {
235
225
  search: {
@@ -253,6 +243,16 @@ declare module '@tiptap/core' {
253
243
  }
254
244
 
255
245
 
246
+ declare module '@tiptap/core' {
247
+ interface Commands<ReturnType> {
248
+ tableOfContents: {
249
+ setTableOfContents: () => ReturnType;
250
+ removeTableOfContents: () => ReturnType;
251
+ };
252
+ }
253
+ }
254
+
255
+
256
256
  declare module '@tiptap/core' {
257
257
  interface Commands<ReturnType> {
258
258
  twitter: {
package/lib/Iframe.d.ts CHANGED
@@ -44,8 +44,9 @@ declare module '@tiptap/core' {
44
44
 
45
45
  declare module '@tiptap/core' {
46
46
  interface Commands<ReturnType> {
47
- excalidraw: {
48
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
47
+ drawer: {
48
+ setDrawer: (options: any, replace?: any) => ReturnType;
49
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
49
50
  };
50
51
  }
51
52
  }
@@ -53,9 +54,8 @@ declare module '@tiptap/core' {
53
54
 
54
55
  declare module '@tiptap/core' {
55
56
  interface Commands<ReturnType> {
56
- drawer: {
57
- setDrawer: (options: any, replace?: any) => ReturnType;
58
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
57
+ excalidraw: {
58
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
59
59
  };
60
60
  }
61
61
  }
@@ -79,15 +79,6 @@ declare module '@tiptap/core' {
79
79
  }
80
80
 
81
81
 
82
- declare module '@tiptap/core' {
83
- interface Commands<ReturnType> {
84
- painter: {
85
- setPainter: (marks: Mark[]) => ReturnType;
86
- };
87
- }
88
- }
89
-
90
-
91
82
  declare module '@tiptap/core' {
92
83
  interface Commands<ReturnType> {
93
84
  fontSize: {
@@ -106,6 +97,15 @@ declare module '@tiptap/core' {
106
97
  }
107
98
 
108
99
 
100
+ declare module '@tiptap/core' {
101
+ interface Commands<ReturnType> {
102
+ painter: {
103
+ setPainter: (marks: Mark[]) => ReturnType;
104
+ };
105
+ }
106
+ }
107
+
108
+
109
109
  declare module '@tiptap/core' {
110
110
  interface Commands<ReturnType> {
111
111
  iframe: {
@@ -141,6 +141,22 @@ declare module '@tiptap/core' {
141
141
  }
142
142
 
143
143
 
144
+ declare module '@tiptap/core' {
145
+ interface Commands<ReturnType> {
146
+ indent: {
147
+ /**
148
+ * Set the indent attribute
149
+ */
150
+ indent: () => ReturnType;
151
+ /**
152
+ * Set the outdent attribute
153
+ */
154
+ outdent: () => ReturnType;
155
+ };
156
+ }
157
+ }
158
+
159
+
144
160
  declare module '@tiptap/core' {
145
161
  interface Commands<ReturnType> {
146
162
  imageGifUpload: {
@@ -172,15 +188,9 @@ declare module '@tiptap/core' {
172
188
 
173
189
  declare module '@tiptap/core' {
174
190
  interface Commands<ReturnType> {
175
- indent: {
176
- /**
177
- * Set the indent attribute
178
- */
179
- indent: () => ReturnType;
180
- /**
181
- * Set the outdent attribute
182
- */
183
- outdent: () => ReturnType;
191
+ lineHeight: {
192
+ setLineHeight: (lineHeight: string) => ReturnType;
193
+ unsetLineHeight: () => ReturnType;
184
194
  };
185
195
  }
186
196
  }
@@ -188,9 +198,9 @@ declare module '@tiptap/core' {
188
198
 
189
199
  declare module '@tiptap/core' {
190
200
  interface Commands<ReturnType> {
191
- lineHeight: {
192
- setLineHeight: (lineHeight: string) => ReturnType;
193
- unsetLineHeight: () => ReturnType;
201
+ mermaid: {
202
+ setMermaid: (options: any, replace?: any) => ReturnType;
203
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
194
204
  };
195
205
  }
196
206
  }
@@ -210,26 +220,6 @@ declare module '@tiptap/core' {
210
220
  }
211
221
 
212
222
 
213
- declare module '@tiptap/core' {
214
- interface Commands<ReturnType> {
215
- mermaid: {
216
- setMermaid: (options: any, replace?: any) => ReturnType;
217
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
218
- };
219
- }
220
- }
221
-
222
-
223
- declare module '@tiptap/core' {
224
- interface Commands<ReturnType> {
225
- tableOfContents: {
226
- setTableOfContents: () => ReturnType;
227
- removeTableOfContents: () => ReturnType;
228
- };
229
- }
230
- }
231
-
232
-
233
223
  declare module '@tiptap/core' {
234
224
  interface Commands<ReturnType> {
235
225
  search: {
@@ -253,6 +243,16 @@ declare module '@tiptap/core' {
253
243
  }
254
244
 
255
245
 
246
+ declare module '@tiptap/core' {
247
+ interface Commands<ReturnType> {
248
+ tableOfContents: {
249
+ setTableOfContents: () => ReturnType;
250
+ removeTableOfContents: () => ReturnType;
251
+ };
252
+ }
253
+ }
254
+
255
+
256
256
  declare module '@tiptap/core' {
257
257
  interface Commands<ReturnType> {
258
258
  twitter: {