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
@@ -47,8 +47,9 @@ declare module '@tiptap/core' {
47
47
 
48
48
  declare module '@tiptap/core' {
49
49
  interface Commands<ReturnType> {
50
- excalidraw: {
51
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
50
+ drawer: {
51
+ setDrawer: (options: any, replace?: any) => ReturnType;
52
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
52
53
  };
53
54
  }
54
55
  }
@@ -56,9 +57,8 @@ declare module '@tiptap/core' {
56
57
 
57
58
  declare module '@tiptap/core' {
58
59
  interface Commands<ReturnType> {
59
- drawer: {
60
- setDrawer: (options: any, replace?: any) => ReturnType;
61
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
60
+ excalidraw: {
61
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
62
62
  };
63
63
  }
64
64
  }
@@ -82,15 +82,6 @@ declare module '@tiptap/core' {
82
82
  }
83
83
 
84
84
 
85
- declare module '@tiptap/core' {
86
- interface Commands<ReturnType> {
87
- painter: {
88
- setPainter: (marks: Mark[]) => ReturnType;
89
- };
90
- }
91
- }
92
-
93
-
94
85
  declare module '@tiptap/core' {
95
86
  interface Commands<ReturnType> {
96
87
  fontSize: {
@@ -109,6 +100,15 @@ declare module '@tiptap/core' {
109
100
  }
110
101
 
111
102
 
103
+ declare module '@tiptap/core' {
104
+ interface Commands<ReturnType> {
105
+ painter: {
106
+ setPainter: (marks: Mark[]) => ReturnType;
107
+ };
108
+ }
109
+ }
110
+
111
+
112
112
  declare module '@tiptap/core' {
113
113
  interface Commands<ReturnType> {
114
114
  iframe: {
@@ -144,6 +144,22 @@ declare module '@tiptap/core' {
144
144
  }
145
145
 
146
146
 
147
+ declare module '@tiptap/core' {
148
+ interface Commands<ReturnType> {
149
+ indent: {
150
+ /**
151
+ * Set the indent attribute
152
+ */
153
+ indent: () => ReturnType;
154
+ /**
155
+ * Set the outdent attribute
156
+ */
157
+ outdent: () => ReturnType;
158
+ };
159
+ }
160
+ }
161
+
162
+
147
163
  declare module '@tiptap/core' {
148
164
  interface Commands<ReturnType> {
149
165
  imageGifUpload: {
@@ -175,15 +191,9 @@ declare module '@tiptap/core' {
175
191
 
176
192
  declare module '@tiptap/core' {
177
193
  interface Commands<ReturnType> {
178
- indent: {
179
- /**
180
- * Set the indent attribute
181
- */
182
- indent: () => ReturnType;
183
- /**
184
- * Set the outdent attribute
185
- */
186
- outdent: () => ReturnType;
194
+ lineHeight: {
195
+ setLineHeight: (lineHeight: string) => ReturnType;
196
+ unsetLineHeight: () => ReturnType;
187
197
  };
188
198
  }
189
199
  }
@@ -191,9 +201,9 @@ declare module '@tiptap/core' {
191
201
 
192
202
  declare module '@tiptap/core' {
193
203
  interface Commands<ReturnType> {
194
- lineHeight: {
195
- setLineHeight: (lineHeight: string) => ReturnType;
196
- unsetLineHeight: () => ReturnType;
204
+ mermaid: {
205
+ setMermaid: (options: any, replace?: any) => ReturnType;
206
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
197
207
  };
198
208
  }
199
209
  }
@@ -213,26 +223,6 @@ declare module '@tiptap/core' {
213
223
  }
214
224
 
215
225
 
216
- declare module '@tiptap/core' {
217
- interface Commands<ReturnType> {
218
- mermaid: {
219
- setMermaid: (options: any, replace?: any) => ReturnType;
220
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
221
- };
222
- }
223
- }
224
-
225
-
226
- declare module '@tiptap/core' {
227
- interface Commands<ReturnType> {
228
- tableOfContents: {
229
- setTableOfContents: () => ReturnType;
230
- removeTableOfContents: () => ReturnType;
231
- };
232
- }
233
- }
234
-
235
-
236
226
  declare module '@tiptap/core' {
237
227
  interface Commands<ReturnType> {
238
228
  search: {
@@ -256,6 +246,16 @@ declare module '@tiptap/core' {
256
246
  }
257
247
 
258
248
 
249
+ declare module '@tiptap/core' {
250
+ interface Commands<ReturnType> {
251
+ tableOfContents: {
252
+ setTableOfContents: () => ReturnType;
253
+ removeTableOfContents: () => ReturnType;
254
+ };
255
+ }
256
+ }
257
+
258
+
259
259
  declare module '@tiptap/core' {
260
260
  interface Commands<ReturnType> {
261
261
  twitter: {
@@ -47,8 +47,9 @@ declare module '@tiptap/core' {
47
47
 
48
48
  declare module '@tiptap/core' {
49
49
  interface Commands<ReturnType> {
50
- excalidraw: {
51
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
50
+ drawer: {
51
+ setDrawer: (options: any, replace?: any) => ReturnType;
52
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
52
53
  };
53
54
  }
54
55
  }
@@ -56,9 +57,8 @@ declare module '@tiptap/core' {
56
57
 
57
58
  declare module '@tiptap/core' {
58
59
  interface Commands<ReturnType> {
59
- drawer: {
60
- setDrawer: (options: any, replace?: any) => ReturnType;
61
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
60
+ excalidraw: {
61
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
62
62
  };
63
63
  }
64
64
  }
@@ -82,15 +82,6 @@ declare module '@tiptap/core' {
82
82
  }
83
83
 
84
84
 
85
- declare module '@tiptap/core' {
86
- interface Commands<ReturnType> {
87
- painter: {
88
- setPainter: (marks: Mark[]) => ReturnType;
89
- };
90
- }
91
- }
92
-
93
-
94
85
  declare module '@tiptap/core' {
95
86
  interface Commands<ReturnType> {
96
87
  fontSize: {
@@ -109,6 +100,15 @@ declare module '@tiptap/core' {
109
100
  }
110
101
 
111
102
 
103
+ declare module '@tiptap/core' {
104
+ interface Commands<ReturnType> {
105
+ painter: {
106
+ setPainter: (marks: Mark[]) => ReturnType;
107
+ };
108
+ }
109
+ }
110
+
111
+
112
112
  declare module '@tiptap/core' {
113
113
  interface Commands<ReturnType> {
114
114
  iframe: {
@@ -144,6 +144,22 @@ declare module '@tiptap/core' {
144
144
  }
145
145
 
146
146
 
147
+ declare module '@tiptap/core' {
148
+ interface Commands<ReturnType> {
149
+ indent: {
150
+ /**
151
+ * Set the indent attribute
152
+ */
153
+ indent: () => ReturnType;
154
+ /**
155
+ * Set the outdent attribute
156
+ */
157
+ outdent: () => ReturnType;
158
+ };
159
+ }
160
+ }
161
+
162
+
147
163
  declare module '@tiptap/core' {
148
164
  interface Commands<ReturnType> {
149
165
  imageGifUpload: {
@@ -175,15 +191,9 @@ declare module '@tiptap/core' {
175
191
 
176
192
  declare module '@tiptap/core' {
177
193
  interface Commands<ReturnType> {
178
- indent: {
179
- /**
180
- * Set the indent attribute
181
- */
182
- indent: () => ReturnType;
183
- /**
184
- * Set the outdent attribute
185
- */
186
- outdent: () => ReturnType;
194
+ lineHeight: {
195
+ setLineHeight: (lineHeight: string) => ReturnType;
196
+ unsetLineHeight: () => ReturnType;
187
197
  };
188
198
  }
189
199
  }
@@ -191,9 +201,9 @@ declare module '@tiptap/core' {
191
201
 
192
202
  declare module '@tiptap/core' {
193
203
  interface Commands<ReturnType> {
194
- lineHeight: {
195
- setLineHeight: (lineHeight: string) => ReturnType;
196
- unsetLineHeight: () => ReturnType;
204
+ mermaid: {
205
+ setMermaid: (options: any, replace?: any) => ReturnType;
206
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
197
207
  };
198
208
  }
199
209
  }
@@ -213,26 +223,6 @@ declare module '@tiptap/core' {
213
223
  }
214
224
 
215
225
 
216
- declare module '@tiptap/core' {
217
- interface Commands<ReturnType> {
218
- mermaid: {
219
- setMermaid: (options: any, replace?: any) => ReturnType;
220
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
221
- };
222
- }
223
- }
224
-
225
-
226
- declare module '@tiptap/core' {
227
- interface Commands<ReturnType> {
228
- tableOfContents: {
229
- setTableOfContents: () => ReturnType;
230
- removeTableOfContents: () => ReturnType;
231
- };
232
- }
233
- }
234
-
235
-
236
226
  declare module '@tiptap/core' {
237
227
  interface Commands<ReturnType> {
238
228
  search: {
@@ -256,6 +246,16 @@ declare module '@tiptap/core' {
256
246
  }
257
247
 
258
248
 
249
+ declare module '@tiptap/core' {
250
+ interface Commands<ReturnType> {
251
+ tableOfContents: {
252
+ setTableOfContents: () => ReturnType;
253
+ removeTableOfContents: () => ReturnType;
254
+ };
255
+ }
256
+ }
257
+
258
+
259
259
  declare module '@tiptap/core' {
260
260
  interface Commands<ReturnType> {
261
261
  twitter: {
package/lib/Twitter.d.cts CHANGED
@@ -62,8 +62,9 @@ declare module '@tiptap/core' {
62
62
 
63
63
  declare module '@tiptap/core' {
64
64
  interface Commands<ReturnType> {
65
- excalidraw: {
66
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
65
+ drawer: {
66
+ setDrawer: (options: any, replace?: any) => ReturnType;
67
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
67
68
  };
68
69
  }
69
70
  }
@@ -71,9 +72,8 @@ declare module '@tiptap/core' {
71
72
 
72
73
  declare module '@tiptap/core' {
73
74
  interface Commands<ReturnType> {
74
- drawer: {
75
- setDrawer: (options: any, replace?: any) => ReturnType;
76
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
75
+ excalidraw: {
76
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
77
77
  };
78
78
  }
79
79
  }
@@ -97,15 +97,6 @@ declare module '@tiptap/core' {
97
97
  }
98
98
 
99
99
 
100
- declare module '@tiptap/core' {
101
- interface Commands<ReturnType> {
102
- painter: {
103
- setPainter: (marks: Mark[]) => ReturnType;
104
- };
105
- }
106
- }
107
-
108
-
109
100
  declare module '@tiptap/core' {
110
101
  interface Commands<ReturnType> {
111
102
  fontSize: {
@@ -124,6 +115,15 @@ declare module '@tiptap/core' {
124
115
  }
125
116
 
126
117
 
118
+ declare module '@tiptap/core' {
119
+ interface Commands<ReturnType> {
120
+ painter: {
121
+ setPainter: (marks: Mark[]) => ReturnType;
122
+ };
123
+ }
124
+ }
125
+
126
+
127
127
  declare module '@tiptap/core' {
128
128
  interface Commands<ReturnType> {
129
129
  iframe: {
@@ -159,6 +159,22 @@ declare module '@tiptap/core' {
159
159
  }
160
160
 
161
161
 
162
+ declare module '@tiptap/core' {
163
+ interface Commands<ReturnType> {
164
+ indent: {
165
+ /**
166
+ * Set the indent attribute
167
+ */
168
+ indent: () => ReturnType;
169
+ /**
170
+ * Set the outdent attribute
171
+ */
172
+ outdent: () => ReturnType;
173
+ };
174
+ }
175
+ }
176
+
177
+
162
178
  declare module '@tiptap/core' {
163
179
  interface Commands<ReturnType> {
164
180
  imageGifUpload: {
@@ -190,15 +206,9 @@ declare module '@tiptap/core' {
190
206
 
191
207
  declare module '@tiptap/core' {
192
208
  interface Commands<ReturnType> {
193
- indent: {
194
- /**
195
- * Set the indent attribute
196
- */
197
- indent: () => ReturnType;
198
- /**
199
- * Set the outdent attribute
200
- */
201
- outdent: () => ReturnType;
209
+ lineHeight: {
210
+ setLineHeight: (lineHeight: string) => ReturnType;
211
+ unsetLineHeight: () => ReturnType;
202
212
  };
203
213
  }
204
214
  }
@@ -206,9 +216,9 @@ declare module '@tiptap/core' {
206
216
 
207
217
  declare module '@tiptap/core' {
208
218
  interface Commands<ReturnType> {
209
- lineHeight: {
210
- setLineHeight: (lineHeight: string) => ReturnType;
211
- unsetLineHeight: () => ReturnType;
219
+ mermaid: {
220
+ setMermaid: (options: any, replace?: any) => ReturnType;
221
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
212
222
  };
213
223
  }
214
224
  }
@@ -228,26 +238,6 @@ declare module '@tiptap/core' {
228
238
  }
229
239
 
230
240
 
231
- declare module '@tiptap/core' {
232
- interface Commands<ReturnType> {
233
- mermaid: {
234
- setMermaid: (options: any, replace?: any) => ReturnType;
235
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
236
- };
237
- }
238
- }
239
-
240
-
241
- declare module '@tiptap/core' {
242
- interface Commands<ReturnType> {
243
- tableOfContents: {
244
- setTableOfContents: () => ReturnType;
245
- removeTableOfContents: () => ReturnType;
246
- };
247
- }
248
- }
249
-
250
-
251
241
  declare module '@tiptap/core' {
252
242
  interface Commands<ReturnType> {
253
243
  search: {
@@ -271,6 +261,16 @@ declare module '@tiptap/core' {
271
261
  }
272
262
 
273
263
 
264
+ declare module '@tiptap/core' {
265
+ interface Commands<ReturnType> {
266
+ tableOfContents: {
267
+ setTableOfContents: () => ReturnType;
268
+ removeTableOfContents: () => ReturnType;
269
+ };
270
+ }
271
+ }
272
+
273
+
274
274
  declare module '@tiptap/core' {
275
275
  interface Commands<ReturnType> {
276
276
  twitter: {
package/lib/Twitter.d.ts CHANGED
@@ -62,8 +62,9 @@ declare module '@tiptap/core' {
62
62
 
63
63
  declare module '@tiptap/core' {
64
64
  interface Commands<ReturnType> {
65
- excalidraw: {
66
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
65
+ drawer: {
66
+ setDrawer: (options: any, replace?: any) => ReturnType;
67
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
67
68
  };
68
69
  }
69
70
  }
@@ -71,9 +72,8 @@ declare module '@tiptap/core' {
71
72
 
72
73
  declare module '@tiptap/core' {
73
74
  interface Commands<ReturnType> {
74
- drawer: {
75
- setDrawer: (options: any, replace?: any) => ReturnType;
76
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
75
+ excalidraw: {
76
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
77
77
  };
78
78
  }
79
79
  }
@@ -97,15 +97,6 @@ declare module '@tiptap/core' {
97
97
  }
98
98
 
99
99
 
100
- declare module '@tiptap/core' {
101
- interface Commands<ReturnType> {
102
- painter: {
103
- setPainter: (marks: Mark[]) => ReturnType;
104
- };
105
- }
106
- }
107
-
108
-
109
100
  declare module '@tiptap/core' {
110
101
  interface Commands<ReturnType> {
111
102
  fontSize: {
@@ -124,6 +115,15 @@ declare module '@tiptap/core' {
124
115
  }
125
116
 
126
117
 
118
+ declare module '@tiptap/core' {
119
+ interface Commands<ReturnType> {
120
+ painter: {
121
+ setPainter: (marks: Mark[]) => ReturnType;
122
+ };
123
+ }
124
+ }
125
+
126
+
127
127
  declare module '@tiptap/core' {
128
128
  interface Commands<ReturnType> {
129
129
  iframe: {
@@ -159,6 +159,22 @@ declare module '@tiptap/core' {
159
159
  }
160
160
 
161
161
 
162
+ declare module '@tiptap/core' {
163
+ interface Commands<ReturnType> {
164
+ indent: {
165
+ /**
166
+ * Set the indent attribute
167
+ */
168
+ indent: () => ReturnType;
169
+ /**
170
+ * Set the outdent attribute
171
+ */
172
+ outdent: () => ReturnType;
173
+ };
174
+ }
175
+ }
176
+
177
+
162
178
  declare module '@tiptap/core' {
163
179
  interface Commands<ReturnType> {
164
180
  imageGifUpload: {
@@ -190,15 +206,9 @@ declare module '@tiptap/core' {
190
206
 
191
207
  declare module '@tiptap/core' {
192
208
  interface Commands<ReturnType> {
193
- indent: {
194
- /**
195
- * Set the indent attribute
196
- */
197
- indent: () => ReturnType;
198
- /**
199
- * Set the outdent attribute
200
- */
201
- outdent: () => ReturnType;
209
+ lineHeight: {
210
+ setLineHeight: (lineHeight: string) => ReturnType;
211
+ unsetLineHeight: () => ReturnType;
202
212
  };
203
213
  }
204
214
  }
@@ -206,9 +216,9 @@ declare module '@tiptap/core' {
206
216
 
207
217
  declare module '@tiptap/core' {
208
218
  interface Commands<ReturnType> {
209
- lineHeight: {
210
- setLineHeight: (lineHeight: string) => ReturnType;
211
- unsetLineHeight: () => ReturnType;
219
+ mermaid: {
220
+ setMermaid: (options: any, replace?: any) => ReturnType;
221
+ setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
212
222
  };
213
223
  }
214
224
  }
@@ -228,26 +238,6 @@ declare module '@tiptap/core' {
228
238
  }
229
239
 
230
240
 
231
- declare module '@tiptap/core' {
232
- interface Commands<ReturnType> {
233
- mermaid: {
234
- setMermaid: (options: any, replace?: any) => ReturnType;
235
- setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
236
- };
237
- }
238
- }
239
-
240
-
241
- declare module '@tiptap/core' {
242
- interface Commands<ReturnType> {
243
- tableOfContents: {
244
- setTableOfContents: () => ReturnType;
245
- removeTableOfContents: () => ReturnType;
246
- };
247
- }
248
- }
249
-
250
-
251
241
  declare module '@tiptap/core' {
252
242
  interface Commands<ReturnType> {
253
243
  search: {
@@ -271,6 +261,16 @@ declare module '@tiptap/core' {
271
261
  }
272
262
 
273
263
 
264
+ declare module '@tiptap/core' {
265
+ interface Commands<ReturnType> {
266
+ tableOfContents: {
267
+ setTableOfContents: () => ReturnType;
268
+ removeTableOfContents: () => ReturnType;
269
+ };
270
+ }
271
+ }
272
+
273
+
274
274
  declare module '@tiptap/core' {
275
275
  interface Commands<ReturnType> {
276
276
  twitter: {