reactjs-tiptap-editor 0.3.9 → 0.3.10

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 +20 -20
  2. package/lib/Attachment.d.ts +20 -20
  3. package/lib/Blockquote.d.cts +20 -20
  4. package/lib/Blockquote.d.ts +20 -20
  5. package/lib/Bold.d.cts +20 -20
  6. package/lib/Bold.d.ts +20 -20
  7. package/lib/BulletList.d.cts +20 -20
  8. package/lib/BulletList.d.ts +20 -20
  9. package/lib/Clear.d.cts +20 -20
  10. package/lib/Clear.d.ts +20 -20
  11. package/lib/Code.d.cts +20 -20
  12. package/lib/Code.d.ts +20 -20
  13. package/lib/CodeBlock.d.cts +20 -20
  14. package/lib/CodeBlock.d.ts +20 -20
  15. package/lib/CodeView.d.cts +20 -20
  16. package/lib/CodeView.d.ts +20 -20
  17. package/lib/Color.d.cts +20 -20
  18. package/lib/Color.d.ts +20 -20
  19. package/lib/Document.d.cts +20 -20
  20. package/lib/Document.d.ts +20 -20
  21. package/lib/Drawer.d.cts +20 -20
  22. package/lib/Drawer.d.ts +20 -20
  23. package/lib/Emoji.d.cts +20 -20
  24. package/lib/Emoji.d.ts +20 -20
  25. package/lib/Excalidraw-Bj3dtbC4.cjs +1 -0
  26. package/lib/{Excalidraw-C3YArGc8.js → Excalidraw-DuV1h_du.js} +40 -36
  27. package/lib/Excalidraw.cjs +1 -1
  28. package/lib/Excalidraw.d.cts +20 -20
  29. package/lib/Excalidraw.d.ts +20 -20
  30. package/lib/Excalidraw.js +1 -1
  31. package/lib/ExportPdf.d.cts +20 -20
  32. package/lib/ExportPdf.d.ts +20 -20
  33. package/lib/ExportWord.d.cts +20 -20
  34. package/lib/ExportWord.d.ts +20 -20
  35. package/lib/FontFamily.d.cts +20 -20
  36. package/lib/FontFamily.d.ts +20 -20
  37. package/lib/FontSize.d.cts +20 -20
  38. package/lib/FontSize.d.ts +20 -20
  39. package/lib/FormatPainter.d.cts +20 -20
  40. package/lib/FormatPainter.d.ts +20 -20
  41. package/lib/Heading.d.cts +20 -20
  42. package/lib/Heading.d.ts +20 -20
  43. package/lib/Highlight.d.cts +20 -20
  44. package/lib/Highlight.d.ts +20 -20
  45. package/lib/History.d.cts +20 -20
  46. package/lib/History.d.ts +20 -20
  47. package/lib/HorizontalRule.d.cts +20 -20
  48. package/lib/HorizontalRule.d.ts +20 -20
  49. package/lib/Iframe.d.cts +20 -20
  50. package/lib/Iframe.d.ts +20 -20
  51. package/lib/Image.d.cts +20 -20
  52. package/lib/Image.d.ts +20 -20
  53. package/lib/ImageGif.d.cts +20 -20
  54. package/lib/ImageGif.d.ts +20 -20
  55. package/lib/ImportWord.d.cts +20 -20
  56. package/lib/ImportWord.d.ts +20 -20
  57. package/lib/Indent.d.cts +20 -20
  58. package/lib/Indent.d.ts +20 -20
  59. package/lib/Italic.d.cts +20 -20
  60. package/lib/Italic.d.ts +20 -20
  61. package/lib/Katex.d.cts +20 -20
  62. package/lib/Katex.d.ts +20 -20
  63. package/lib/LineHeight.d.cts +20 -20
  64. package/lib/LineHeight.d.ts +20 -20
  65. package/lib/Link.d.cts +20 -20
  66. package/lib/Link.d.ts +20 -20
  67. package/lib/ListItem.d.cts +20 -20
  68. package/lib/ListItem.d.ts +20 -20
  69. package/lib/Mention.d.cts +20 -20
  70. package/lib/Mention.d.ts +20 -20
  71. package/lib/Mermaid.d.cts +20 -20
  72. package/lib/Mermaid.d.ts +20 -20
  73. package/lib/MoreMark.d.cts +20 -20
  74. package/lib/MoreMark.d.ts +20 -20
  75. package/lib/MultiColumn.d.cts +20 -20
  76. package/lib/MultiColumn.d.ts +20 -20
  77. package/lib/OrderedList.d.cts +20 -20
  78. package/lib/OrderedList.d.ts +20 -20
  79. package/lib/SearchAndReplace.d.cts +20 -20
  80. package/lib/SearchAndReplace.d.ts +20 -20
  81. package/lib/Selection.d.cts +20 -20
  82. package/lib/Selection.d.ts +20 -20
  83. package/lib/SlashCommand.d.cts +20 -20
  84. package/lib/SlashCommand.d.ts +20 -20
  85. package/lib/Strike.d.cts +20 -20
  86. package/lib/Strike.d.ts +20 -20
  87. package/lib/SubAndSuperScript.d.cts +20 -20
  88. package/lib/SubAndSuperScript.d.ts +20 -20
  89. package/lib/Table.d.cts +20 -20
  90. package/lib/Table.d.ts +20 -20
  91. package/lib/TableOfContent.d.cts +20 -20
  92. package/lib/TableOfContent.d.ts +20 -20
  93. package/lib/TaskList.d.cts +20 -20
  94. package/lib/TaskList.d.ts +20 -20
  95. package/lib/TextAlign.d.cts +20 -20
  96. package/lib/TextAlign.d.ts +20 -20
  97. package/lib/TextBubble.d.cts +20 -20
  98. package/lib/TextBubble.d.ts +20 -20
  99. package/lib/TextDirection.d.cts +20 -20
  100. package/lib/TextDirection.d.ts +20 -20
  101. package/lib/TextUnderline.d.cts +20 -20
  102. package/lib/TextUnderline.d.ts +20 -20
  103. package/lib/TrailingNode.d.cts +20 -20
  104. package/lib/TrailingNode.d.ts +20 -20
  105. package/lib/Twitter.d.cts +20 -20
  106. package/lib/Twitter.d.ts +20 -20
  107. package/lib/Video.d.cts +20 -20
  108. package/lib/Video.d.ts +20 -20
  109. package/lib/bubble-extra.cjs +1 -1
  110. package/lib/bubble-extra.d.cts +20 -20
  111. package/lib/bubble-extra.d.ts +20 -20
  112. package/lib/bubble-extra.js +1 -1
  113. package/lib/index.d.cts +20 -20
  114. package/lib/index.d.ts +20 -20
  115. package/lib/locale-bundle.d.cts +20 -20
  116. package/lib/locale-bundle.d.ts +20 -20
  117. package/package.json +1 -1
  118. package/lib/Excalidraw-DkpPLrTk.cjs +0 -1
package/lib/Italic.d.cts CHANGED
@@ -192,19 +192,19 @@ declare module '@tiptap/core' {
192
192
 
193
193
  declare module '@tiptap/core' {
194
194
  interface Commands<ReturnType> {
195
- imageUpload: {
195
+ imageGifUpload: {
196
196
  /**
197
- * Add an image
197
+ * Add an image gif
198
198
  */
199
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
199
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
200
200
  /**
201
- * Update an image
201
+ * Update an image gif
202
202
  */
203
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
203
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
204
204
  /**
205
205
  * Set image alignment
206
206
  */
207
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
207
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
208
208
  };
209
209
  }
210
210
  }
@@ -212,15 +212,19 @@ declare module '@tiptap/core' {
212
212
 
213
213
  declare module '@tiptap/core' {
214
214
  interface Commands<ReturnType> {
215
- indent: {
215
+ imageUpload: {
216
216
  /**
217
- * Set the indent attribute
217
+ * Add an image
218
218
  */
219
- indent: () => ReturnType;
219
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
220
220
  /**
221
- * Set the outdent attribute
221
+ * Update an image
222
222
  */
223
- outdent: () => ReturnType;
223
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
224
+ /**
225
+ * Set image alignment
226
+ */
227
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
224
228
  };
225
229
  }
226
230
  }
@@ -228,19 +232,15 @@ declare module '@tiptap/core' {
228
232
 
229
233
  declare module '@tiptap/core' {
230
234
  interface Commands<ReturnType> {
231
- imageGifUpload: {
232
- /**
233
- * Add an image gif
234
- */
235
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
235
+ indent: {
236
236
  /**
237
- * Update an image gif
237
+ * Set the indent attribute
238
238
  */
239
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
239
+ indent: () => ReturnType;
240
240
  /**
241
- * Set image alignment
241
+ * Set the outdent attribute
242
242
  */
243
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
243
+ outdent: () => ReturnType;
244
244
  };
245
245
  }
246
246
  }
package/lib/Italic.d.ts CHANGED
@@ -192,19 +192,19 @@ declare module '@tiptap/core' {
192
192
 
193
193
  declare module '@tiptap/core' {
194
194
  interface Commands<ReturnType> {
195
- imageUpload: {
195
+ imageGifUpload: {
196
196
  /**
197
- * Add an image
197
+ * Add an image gif
198
198
  */
199
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
199
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
200
200
  /**
201
- * Update an image
201
+ * Update an image gif
202
202
  */
203
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
203
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
204
204
  /**
205
205
  * Set image alignment
206
206
  */
207
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
207
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
208
208
  };
209
209
  }
210
210
  }
@@ -212,15 +212,19 @@ declare module '@tiptap/core' {
212
212
 
213
213
  declare module '@tiptap/core' {
214
214
  interface Commands<ReturnType> {
215
- indent: {
215
+ imageUpload: {
216
216
  /**
217
- * Set the indent attribute
217
+ * Add an image
218
218
  */
219
- indent: () => ReturnType;
219
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
220
220
  /**
221
- * Set the outdent attribute
221
+ * Update an image
222
222
  */
223
- outdent: () => ReturnType;
223
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
224
+ /**
225
+ * Set image alignment
226
+ */
227
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
224
228
  };
225
229
  }
226
230
  }
@@ -228,19 +232,15 @@ declare module '@tiptap/core' {
228
232
 
229
233
  declare module '@tiptap/core' {
230
234
  interface Commands<ReturnType> {
231
- imageGifUpload: {
232
- /**
233
- * Add an image gif
234
- */
235
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
235
+ indent: {
236
236
  /**
237
- * Update an image gif
237
+ * Set the indent attribute
238
238
  */
239
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
239
+ indent: () => ReturnType;
240
240
  /**
241
- * Set image alignment
241
+ * Set the outdent attribute
242
242
  */
243
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
243
+ outdent: () => ReturnType;
244
244
  };
245
245
  }
246
246
  }
package/lib/Katex.d.cts CHANGED
@@ -128,19 +128,19 @@ declare module '@tiptap/core' {
128
128
 
129
129
  declare module '@tiptap/core' {
130
130
  interface Commands<ReturnType> {
131
- imageUpload: {
131
+ imageGifUpload: {
132
132
  /**
133
- * Add an image
133
+ * Add an image gif
134
134
  */
135
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
135
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
136
136
  /**
137
- * Update an image
137
+ * Update an image gif
138
138
  */
139
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
139
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
140
140
  /**
141
141
  * Set image alignment
142
142
  */
143
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
143
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
144
144
  };
145
145
  }
146
146
  }
@@ -148,15 +148,19 @@ declare module '@tiptap/core' {
148
148
 
149
149
  declare module '@tiptap/core' {
150
150
  interface Commands<ReturnType> {
151
- indent: {
151
+ imageUpload: {
152
152
  /**
153
- * Set the indent attribute
153
+ * Add an image
154
154
  */
155
- indent: () => ReturnType;
155
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
156
156
  /**
157
- * Set the outdent attribute
157
+ * Update an image
158
158
  */
159
- outdent: () => ReturnType;
159
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
160
+ /**
161
+ * Set image alignment
162
+ */
163
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
160
164
  };
161
165
  }
162
166
  }
@@ -164,19 +168,15 @@ declare module '@tiptap/core' {
164
168
 
165
169
  declare module '@tiptap/core' {
166
170
  interface Commands<ReturnType> {
167
- imageGifUpload: {
168
- /**
169
- * Add an image gif
170
- */
171
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
171
+ indent: {
172
172
  /**
173
- * Update an image gif
173
+ * Set the indent attribute
174
174
  */
175
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
175
+ indent: () => ReturnType;
176
176
  /**
177
- * Set image alignment
177
+ * Set the outdent attribute
178
178
  */
179
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
179
+ outdent: () => ReturnType;
180
180
  };
181
181
  }
182
182
  }
package/lib/Katex.d.ts CHANGED
@@ -128,19 +128,19 @@ declare module '@tiptap/core' {
128
128
 
129
129
  declare module '@tiptap/core' {
130
130
  interface Commands<ReturnType> {
131
- imageUpload: {
131
+ imageGifUpload: {
132
132
  /**
133
- * Add an image
133
+ * Add an image gif
134
134
  */
135
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
135
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
136
136
  /**
137
- * Update an image
137
+ * Update an image gif
138
138
  */
139
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
139
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
140
140
  /**
141
141
  * Set image alignment
142
142
  */
143
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
143
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
144
144
  };
145
145
  }
146
146
  }
@@ -148,15 +148,19 @@ declare module '@tiptap/core' {
148
148
 
149
149
  declare module '@tiptap/core' {
150
150
  interface Commands<ReturnType> {
151
- indent: {
151
+ imageUpload: {
152
152
  /**
153
- * Set the indent attribute
153
+ * Add an image
154
154
  */
155
- indent: () => ReturnType;
155
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
156
156
  /**
157
- * Set the outdent attribute
157
+ * Update an image
158
158
  */
159
- outdent: () => ReturnType;
159
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
160
+ /**
161
+ * Set image alignment
162
+ */
163
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
160
164
  };
161
165
  }
162
166
  }
@@ -164,19 +168,15 @@ declare module '@tiptap/core' {
164
168
 
165
169
  declare module '@tiptap/core' {
166
170
  interface Commands<ReturnType> {
167
- imageGifUpload: {
168
- /**
169
- * Add an image gif
170
- */
171
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
171
+ indent: {
172
172
  /**
173
- * Update an image gif
173
+ * Set the indent attribute
174
174
  */
175
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
175
+ indent: () => ReturnType;
176
176
  /**
177
- * Set image alignment
177
+ * Set the outdent attribute
178
178
  */
179
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
179
+ outdent: () => ReturnType;
180
180
  };
181
181
  }
182
182
  }
@@ -196,19 +196,19 @@ declare module '@tiptap/core' {
196
196
 
197
197
  declare module '@tiptap/core' {
198
198
  interface Commands<ReturnType> {
199
- imageUpload: {
199
+ imageGifUpload: {
200
200
  /**
201
- * Add an image
201
+ * Add an image gif
202
202
  */
203
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
203
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
204
204
  /**
205
- * Update an image
205
+ * Update an image gif
206
206
  */
207
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
207
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
208
208
  /**
209
209
  * Set image alignment
210
210
  */
211
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
211
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
212
212
  };
213
213
  }
214
214
  }
@@ -216,15 +216,19 @@ declare module '@tiptap/core' {
216
216
 
217
217
  declare module '@tiptap/core' {
218
218
  interface Commands<ReturnType> {
219
- indent: {
219
+ imageUpload: {
220
220
  /**
221
- * Set the indent attribute
221
+ * Add an image
222
222
  */
223
- indent: () => ReturnType;
223
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
224
224
  /**
225
- * Set the outdent attribute
225
+ * Update an image
226
226
  */
227
- outdent: () => ReturnType;
227
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
228
+ /**
229
+ * Set image alignment
230
+ */
231
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
228
232
  };
229
233
  }
230
234
  }
@@ -232,19 +236,15 @@ declare module '@tiptap/core' {
232
236
 
233
237
  declare module '@tiptap/core' {
234
238
  interface Commands<ReturnType> {
235
- imageGifUpload: {
236
- /**
237
- * Add an image gif
238
- */
239
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
239
+ indent: {
240
240
  /**
241
- * Update an image gif
241
+ * Set the indent attribute
242
242
  */
243
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
243
+ indent: () => ReturnType;
244
244
  /**
245
- * Set image alignment
245
+ * Set the outdent attribute
246
246
  */
247
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
247
+ outdent: () => ReturnType;
248
248
  };
249
249
  }
250
250
  }
@@ -196,19 +196,19 @@ declare module '@tiptap/core' {
196
196
 
197
197
  declare module '@tiptap/core' {
198
198
  interface Commands<ReturnType> {
199
- imageUpload: {
199
+ imageGifUpload: {
200
200
  /**
201
- * Add an image
201
+ * Add an image gif
202
202
  */
203
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
203
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
204
204
  /**
205
- * Update an image
205
+ * Update an image gif
206
206
  */
207
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
207
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
208
208
  /**
209
209
  * Set image alignment
210
210
  */
211
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
211
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
212
212
  };
213
213
  }
214
214
  }
@@ -216,15 +216,19 @@ declare module '@tiptap/core' {
216
216
 
217
217
  declare module '@tiptap/core' {
218
218
  interface Commands<ReturnType> {
219
- indent: {
219
+ imageUpload: {
220
220
  /**
221
- * Set the indent attribute
221
+ * Add an image
222
222
  */
223
- indent: () => ReturnType;
223
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
224
224
  /**
225
- * Set the outdent attribute
225
+ * Update an image
226
226
  */
227
- outdent: () => ReturnType;
227
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
228
+ /**
229
+ * Set image alignment
230
+ */
231
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
228
232
  };
229
233
  }
230
234
  }
@@ -232,19 +236,15 @@ declare module '@tiptap/core' {
232
236
 
233
237
  declare module '@tiptap/core' {
234
238
  interface Commands<ReturnType> {
235
- imageGifUpload: {
236
- /**
237
- * Add an image gif
238
- */
239
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
239
+ indent: {
240
240
  /**
241
- * Update an image gif
241
+ * Set the indent attribute
242
242
  */
243
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
243
+ indent: () => ReturnType;
244
244
  /**
245
- * Set image alignment
245
+ * Set the outdent attribute
246
246
  */
247
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
247
+ outdent: () => ReturnType;
248
248
  };
249
249
  }
250
250
  }
package/lib/Link.d.cts CHANGED
@@ -192,19 +192,19 @@ declare module '@tiptap/core' {
192
192
 
193
193
  declare module '@tiptap/core' {
194
194
  interface Commands<ReturnType> {
195
- imageUpload: {
195
+ imageGifUpload: {
196
196
  /**
197
- * Add an image
197
+ * Add an image gif
198
198
  */
199
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
199
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
200
200
  /**
201
- * Update an image
201
+ * Update an image gif
202
202
  */
203
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
203
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
204
204
  /**
205
205
  * Set image alignment
206
206
  */
207
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
207
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
208
208
  };
209
209
  }
210
210
  }
@@ -212,15 +212,19 @@ declare module '@tiptap/core' {
212
212
 
213
213
  declare module '@tiptap/core' {
214
214
  interface Commands<ReturnType> {
215
- indent: {
215
+ imageUpload: {
216
216
  /**
217
- * Set the indent attribute
217
+ * Add an image
218
218
  */
219
- indent: () => ReturnType;
219
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
220
220
  /**
221
- * Set the outdent attribute
221
+ * Update an image
222
222
  */
223
- outdent: () => ReturnType;
223
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
224
+ /**
225
+ * Set image alignment
226
+ */
227
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
224
228
  };
225
229
  }
226
230
  }
@@ -228,19 +232,15 @@ declare module '@tiptap/core' {
228
232
 
229
233
  declare module '@tiptap/core' {
230
234
  interface Commands<ReturnType> {
231
- imageGifUpload: {
232
- /**
233
- * Add an image gif
234
- */
235
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
235
+ indent: {
236
236
  /**
237
- * Update an image gif
237
+ * Set the indent attribute
238
238
  */
239
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
239
+ indent: () => ReturnType;
240
240
  /**
241
- * Set image alignment
241
+ * Set the outdent attribute
242
242
  */
243
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
243
+ outdent: () => ReturnType;
244
244
  };
245
245
  }
246
246
  }
package/lib/Link.d.ts CHANGED
@@ -192,19 +192,19 @@ declare module '@tiptap/core' {
192
192
 
193
193
  declare module '@tiptap/core' {
194
194
  interface Commands<ReturnType> {
195
- imageUpload: {
195
+ imageGifUpload: {
196
196
  /**
197
- * Add an image
197
+ * Add an image gif
198
198
  */
199
- setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
199
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
200
200
  /**
201
- * Update an image
201
+ * Update an image gif
202
202
  */
203
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
203
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
204
204
  /**
205
205
  * Set image alignment
206
206
  */
207
- setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
207
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
208
208
  };
209
209
  }
210
210
  }
@@ -212,15 +212,19 @@ declare module '@tiptap/core' {
212
212
 
213
213
  declare module '@tiptap/core' {
214
214
  interface Commands<ReturnType> {
215
- indent: {
215
+ imageUpload: {
216
216
  /**
217
- * Set the indent attribute
217
+ * Add an image
218
218
  */
219
- indent: () => ReturnType;
219
+ setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
220
220
  /**
221
- * Set the outdent attribute
221
+ * Update an image
222
222
  */
223
- outdent: () => ReturnType;
223
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
224
+ /**
225
+ * Set image alignment
226
+ */
227
+ setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
224
228
  };
225
229
  }
226
230
  }
@@ -228,19 +232,15 @@ declare module '@tiptap/core' {
228
232
 
229
233
  declare module '@tiptap/core' {
230
234
  interface Commands<ReturnType> {
231
- imageGifUpload: {
232
- /**
233
- * Add an image gif
234
- */
235
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
235
+ indent: {
236
236
  /**
237
- * Update an image gif
237
+ * Set the indent attribute
238
238
  */
239
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
239
+ indent: () => ReturnType;
240
240
  /**
241
- * Set image alignment
241
+ * Set the outdent attribute
242
242
  */
243
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
243
+ outdent: () => ReturnType;
244
244
  };
245
245
  }
246
246
  }