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.
- package/lib/Attachment.d.cts +20 -20
- package/lib/Attachment.d.ts +20 -20
- package/lib/Blockquote.d.cts +20 -20
- package/lib/Blockquote.d.ts +20 -20
- package/lib/Bold.d.cts +20 -20
- package/lib/Bold.d.ts +20 -20
- package/lib/BulletList.d.cts +20 -20
- package/lib/BulletList.d.ts +20 -20
- package/lib/Clear.d.cts +20 -20
- package/lib/Clear.d.ts +20 -20
- package/lib/Code.d.cts +20 -20
- package/lib/Code.d.ts +20 -20
- package/lib/CodeBlock.d.cts +20 -20
- package/lib/CodeBlock.d.ts +20 -20
- package/lib/CodeView.d.cts +20 -20
- package/lib/CodeView.d.ts +20 -20
- package/lib/Color.d.cts +20 -20
- package/lib/Color.d.ts +20 -20
- package/lib/Document.d.cts +20 -20
- package/lib/Document.d.ts +20 -20
- package/lib/Drawer.d.cts +20 -20
- package/lib/Drawer.d.ts +20 -20
- package/lib/Emoji.d.cts +20 -20
- package/lib/Emoji.d.ts +20 -20
- package/lib/Excalidraw-Bj3dtbC4.cjs +1 -0
- package/lib/{Excalidraw-C3YArGc8.js → Excalidraw-DuV1h_du.js} +40 -36
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +20 -20
- package/lib/Excalidraw.d.ts +20 -20
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.d.cts +20 -20
- package/lib/ExportPdf.d.ts +20 -20
- package/lib/ExportWord.d.cts +20 -20
- package/lib/ExportWord.d.ts +20 -20
- package/lib/FontFamily.d.cts +20 -20
- package/lib/FontFamily.d.ts +20 -20
- package/lib/FontSize.d.cts +20 -20
- package/lib/FontSize.d.ts +20 -20
- package/lib/FormatPainter.d.cts +20 -20
- package/lib/FormatPainter.d.ts +20 -20
- package/lib/Heading.d.cts +20 -20
- package/lib/Heading.d.ts +20 -20
- package/lib/Highlight.d.cts +20 -20
- package/lib/Highlight.d.ts +20 -20
- package/lib/History.d.cts +20 -20
- package/lib/History.d.ts +20 -20
- package/lib/HorizontalRule.d.cts +20 -20
- package/lib/HorizontalRule.d.ts +20 -20
- package/lib/Iframe.d.cts +20 -20
- package/lib/Iframe.d.ts +20 -20
- package/lib/Image.d.cts +20 -20
- package/lib/Image.d.ts +20 -20
- package/lib/ImageGif.d.cts +20 -20
- package/lib/ImageGif.d.ts +20 -20
- package/lib/ImportWord.d.cts +20 -20
- package/lib/ImportWord.d.ts +20 -20
- package/lib/Indent.d.cts +20 -20
- package/lib/Indent.d.ts +20 -20
- package/lib/Italic.d.cts +20 -20
- package/lib/Italic.d.ts +20 -20
- package/lib/Katex.d.cts +20 -20
- package/lib/Katex.d.ts +20 -20
- package/lib/LineHeight.d.cts +20 -20
- package/lib/LineHeight.d.ts +20 -20
- package/lib/Link.d.cts +20 -20
- package/lib/Link.d.ts +20 -20
- package/lib/ListItem.d.cts +20 -20
- package/lib/ListItem.d.ts +20 -20
- package/lib/Mention.d.cts +20 -20
- package/lib/Mention.d.ts +20 -20
- package/lib/Mermaid.d.cts +20 -20
- package/lib/Mermaid.d.ts +20 -20
- package/lib/MoreMark.d.cts +20 -20
- package/lib/MoreMark.d.ts +20 -20
- package/lib/MultiColumn.d.cts +20 -20
- package/lib/MultiColumn.d.ts +20 -20
- package/lib/OrderedList.d.cts +20 -20
- package/lib/OrderedList.d.ts +20 -20
- package/lib/SearchAndReplace.d.cts +20 -20
- package/lib/SearchAndReplace.d.ts +20 -20
- package/lib/Selection.d.cts +20 -20
- package/lib/Selection.d.ts +20 -20
- package/lib/SlashCommand.d.cts +20 -20
- package/lib/SlashCommand.d.ts +20 -20
- package/lib/Strike.d.cts +20 -20
- package/lib/Strike.d.ts +20 -20
- package/lib/SubAndSuperScript.d.cts +20 -20
- package/lib/SubAndSuperScript.d.ts +20 -20
- package/lib/Table.d.cts +20 -20
- package/lib/Table.d.ts +20 -20
- package/lib/TableOfContent.d.cts +20 -20
- package/lib/TableOfContent.d.ts +20 -20
- package/lib/TaskList.d.cts +20 -20
- package/lib/TaskList.d.ts +20 -20
- package/lib/TextAlign.d.cts +20 -20
- package/lib/TextAlign.d.ts +20 -20
- package/lib/TextBubble.d.cts +20 -20
- package/lib/TextBubble.d.ts +20 -20
- package/lib/TextDirection.d.cts +20 -20
- package/lib/TextDirection.d.ts +20 -20
- package/lib/TextUnderline.d.cts +20 -20
- package/lib/TextUnderline.d.ts +20 -20
- package/lib/TrailingNode.d.cts +20 -20
- package/lib/TrailingNode.d.ts +20 -20
- package/lib/Twitter.d.cts +20 -20
- package/lib/Twitter.d.ts +20 -20
- package/lib/Video.d.cts +20 -20
- package/lib/Video.d.ts +20 -20
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +20 -20
- package/lib/bubble-extra.d.ts +20 -20
- package/lib/bubble-extra.js +1 -1
- package/lib/index.d.cts +20 -20
- package/lib/index.d.ts +20 -20
- package/lib/locale-bundle.d.cts +20 -20
- package/lib/locale-bundle.d.ts +20 -20
- package/package.json +1 -1
- package/lib/Excalidraw-DkpPLrTk.cjs +0 -1
package/lib/Attachment.d.cts
CHANGED
|
@@ -193,19 +193,19 @@ declare module '@tiptap/core' {
|
|
|
193
193
|
|
|
194
194
|
declare module '@tiptap/core' {
|
|
195
195
|
interface Commands<ReturnType> {
|
|
196
|
-
|
|
196
|
+
imageGifUpload: {
|
|
197
197
|
/**
|
|
198
|
-
* Add an image
|
|
198
|
+
* Add an image gif
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
201
201
|
/**
|
|
202
|
-
* Update an image
|
|
202
|
+
* Update an image gif
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
205
205
|
/**
|
|
206
206
|
* Set image alignment
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -213,15 +213,19 @@ declare module '@tiptap/core' {
|
|
|
213
213
|
|
|
214
214
|
declare module '@tiptap/core' {
|
|
215
215
|
interface Commands<ReturnType> {
|
|
216
|
-
|
|
216
|
+
imageUpload: {
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Add an image
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* Update an image
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
225
|
+
/**
|
|
226
|
+
* Set image alignment
|
|
227
|
+
*/
|
|
228
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
225
229
|
};
|
|
226
230
|
}
|
|
227
231
|
}
|
|
@@ -229,19 +233,15 @@ declare module '@tiptap/core' {
|
|
|
229
233
|
|
|
230
234
|
declare module '@tiptap/core' {
|
|
231
235
|
interface Commands<ReturnType> {
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Add an image gif
|
|
235
|
-
*/
|
|
236
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
236
|
+
indent: {
|
|
237
237
|
/**
|
|
238
|
-
*
|
|
238
|
+
* Set the indent attribute
|
|
239
239
|
*/
|
|
240
|
-
|
|
240
|
+
indent: () => ReturnType;
|
|
241
241
|
/**
|
|
242
|
-
* Set
|
|
242
|
+
* Set the outdent attribute
|
|
243
243
|
*/
|
|
244
|
-
|
|
244
|
+
outdent: () => ReturnType;
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
247
|
}
|
package/lib/Attachment.d.ts
CHANGED
|
@@ -193,19 +193,19 @@ declare module '@tiptap/core' {
|
|
|
193
193
|
|
|
194
194
|
declare module '@tiptap/core' {
|
|
195
195
|
interface Commands<ReturnType> {
|
|
196
|
-
|
|
196
|
+
imageGifUpload: {
|
|
197
197
|
/**
|
|
198
|
-
* Add an image
|
|
198
|
+
* Add an image gif
|
|
199
199
|
*/
|
|
200
|
-
|
|
200
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
201
201
|
/**
|
|
202
|
-
* Update an image
|
|
202
|
+
* Update an image gif
|
|
203
203
|
*/
|
|
204
|
-
|
|
204
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
205
205
|
/**
|
|
206
206
|
* Set image alignment
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
209
209
|
};
|
|
210
210
|
}
|
|
211
211
|
}
|
|
@@ -213,15 +213,19 @@ declare module '@tiptap/core' {
|
|
|
213
213
|
|
|
214
214
|
declare module '@tiptap/core' {
|
|
215
215
|
interface Commands<ReturnType> {
|
|
216
|
-
|
|
216
|
+
imageUpload: {
|
|
217
217
|
/**
|
|
218
|
-
*
|
|
218
|
+
* Add an image
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
221
221
|
/**
|
|
222
|
-
*
|
|
222
|
+
* Update an image
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
225
|
+
/**
|
|
226
|
+
* Set image alignment
|
|
227
|
+
*/
|
|
228
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
225
229
|
};
|
|
226
230
|
}
|
|
227
231
|
}
|
|
@@ -229,19 +233,15 @@ declare module '@tiptap/core' {
|
|
|
229
233
|
|
|
230
234
|
declare module '@tiptap/core' {
|
|
231
235
|
interface Commands<ReturnType> {
|
|
232
|
-
|
|
233
|
-
/**
|
|
234
|
-
* Add an image gif
|
|
235
|
-
*/
|
|
236
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
236
|
+
indent: {
|
|
237
237
|
/**
|
|
238
|
-
*
|
|
238
|
+
* Set the indent attribute
|
|
239
239
|
*/
|
|
240
|
-
|
|
240
|
+
indent: () => ReturnType;
|
|
241
241
|
/**
|
|
242
|
-
* Set
|
|
242
|
+
* Set the outdent attribute
|
|
243
243
|
*/
|
|
244
|
-
|
|
244
|
+
outdent: () => ReturnType;
|
|
245
245
|
};
|
|
246
246
|
}
|
|
247
247
|
}
|
package/lib/Blockquote.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
|
-
|
|
195
|
+
imageGifUpload: {
|
|
196
196
|
/**
|
|
197
|
-
* Add an image
|
|
197
|
+
* Add an image gif
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
200
200
|
/**
|
|
201
|
-
* Update an image
|
|
201
|
+
* Update an image gif
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
204
204
|
/**
|
|
205
205
|
* Set image alignment
|
|
206
206
|
*/
|
|
207
|
-
|
|
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
|
-
|
|
215
|
+
imageUpload: {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Add an image
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Update an image
|
|
222
222
|
*/
|
|
223
|
-
|
|
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
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Add an image gif
|
|
234
|
-
*/
|
|
235
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
235
|
+
indent: {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Set the indent attribute
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
indent: () => ReturnType;
|
|
240
240
|
/**
|
|
241
|
-
* Set
|
|
241
|
+
* Set the outdent attribute
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
outdent: () => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|
package/lib/Blockquote.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
|
-
|
|
195
|
+
imageGifUpload: {
|
|
196
196
|
/**
|
|
197
|
-
* Add an image
|
|
197
|
+
* Add an image gif
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
200
200
|
/**
|
|
201
|
-
* Update an image
|
|
201
|
+
* Update an image gif
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
204
204
|
/**
|
|
205
205
|
* Set image alignment
|
|
206
206
|
*/
|
|
207
|
-
|
|
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
|
-
|
|
215
|
+
imageUpload: {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Add an image
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Update an image
|
|
222
222
|
*/
|
|
223
|
-
|
|
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
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Add an image gif
|
|
234
|
-
*/
|
|
235
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
235
|
+
indent: {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Set the indent attribute
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
indent: () => ReturnType;
|
|
240
240
|
/**
|
|
241
|
-
* Set
|
|
241
|
+
* Set the outdent attribute
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
outdent: () => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|
package/lib/Bold.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
|
-
|
|
195
|
+
imageGifUpload: {
|
|
196
196
|
/**
|
|
197
|
-
* Add an image
|
|
197
|
+
* Add an image gif
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
200
200
|
/**
|
|
201
|
-
* Update an image
|
|
201
|
+
* Update an image gif
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
204
204
|
/**
|
|
205
205
|
* Set image alignment
|
|
206
206
|
*/
|
|
207
|
-
|
|
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
|
-
|
|
215
|
+
imageUpload: {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Add an image
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Update an image
|
|
222
222
|
*/
|
|
223
|
-
|
|
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
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Add an image gif
|
|
234
|
-
*/
|
|
235
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
235
|
+
indent: {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Set the indent attribute
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
indent: () => ReturnType;
|
|
240
240
|
/**
|
|
241
|
-
* Set
|
|
241
|
+
* Set the outdent attribute
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
outdent: () => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|
package/lib/Bold.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
|
-
|
|
195
|
+
imageGifUpload: {
|
|
196
196
|
/**
|
|
197
|
-
* Add an image
|
|
197
|
+
* Add an image gif
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
200
200
|
/**
|
|
201
|
-
* Update an image
|
|
201
|
+
* Update an image gif
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
204
204
|
/**
|
|
205
205
|
* Set image alignment
|
|
206
206
|
*/
|
|
207
|
-
|
|
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
|
-
|
|
215
|
+
imageUpload: {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Add an image
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Update an image
|
|
222
222
|
*/
|
|
223
|
-
|
|
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
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Add an image gif
|
|
234
|
-
*/
|
|
235
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
235
|
+
indent: {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Set the indent attribute
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
indent: () => ReturnType;
|
|
240
240
|
/**
|
|
241
|
-
* Set
|
|
241
|
+
* Set the outdent attribute
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
outdent: () => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|
package/lib/BulletList.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
|
-
|
|
195
|
+
imageGifUpload: {
|
|
196
196
|
/**
|
|
197
|
-
* Add an image
|
|
197
|
+
* Add an image gif
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
200
200
|
/**
|
|
201
|
-
* Update an image
|
|
201
|
+
* Update an image gif
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
204
204
|
/**
|
|
205
205
|
* Set image alignment
|
|
206
206
|
*/
|
|
207
|
-
|
|
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
|
-
|
|
215
|
+
imageUpload: {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Add an image
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Update an image
|
|
222
222
|
*/
|
|
223
|
-
|
|
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
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Add an image gif
|
|
234
|
-
*/
|
|
235
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
235
|
+
indent: {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Set the indent attribute
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
indent: () => ReturnType;
|
|
240
240
|
/**
|
|
241
|
-
* Set
|
|
241
|
+
* Set the outdent attribute
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
outdent: () => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|
package/lib/BulletList.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
|
-
|
|
195
|
+
imageGifUpload: {
|
|
196
196
|
/**
|
|
197
|
-
* Add an image
|
|
197
|
+
* Add an image gif
|
|
198
198
|
*/
|
|
199
|
-
|
|
199
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
200
200
|
/**
|
|
201
|
-
* Update an image
|
|
201
|
+
* Update an image gif
|
|
202
202
|
*/
|
|
203
|
-
|
|
203
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
204
204
|
/**
|
|
205
205
|
* Set image alignment
|
|
206
206
|
*/
|
|
207
|
-
|
|
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
|
-
|
|
215
|
+
imageUpload: {
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* Add an image
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* Update an image
|
|
222
222
|
*/
|
|
223
|
-
|
|
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
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Add an image gif
|
|
234
|
-
*/
|
|
235
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
235
|
+
indent: {
|
|
236
236
|
/**
|
|
237
|
-
*
|
|
237
|
+
* Set the indent attribute
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
indent: () => ReturnType;
|
|
240
240
|
/**
|
|
241
|
-
* Set
|
|
241
|
+
* Set the outdent attribute
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
outdent: () => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|