reactjs-tiptap-editor 0.3.7 → 0.3.9
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/{ActionMenuButton-CqlhqVIW.cjs → ActionMenuButton-D96eTByd.cjs} +1 -1
- package/lib/{ActionMenuButton-DXwpQHj4.js → ActionMenuButton-ZOYNohaO.js} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +27 -27
- package/lib/Attachment.d.ts +27 -27
- package/lib/Attachment.js +1 -1
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +27 -27
- package/lib/Blockquote.d.ts +27 -27
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +27 -27
- package/lib/Bold.d.ts +27 -27
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +27 -27
- package/lib/BulletList.d.ts +27 -27
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +27 -27
- package/lib/Clear.d.ts +27 -27
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +27 -27
- package/lib/Code.d.ts +27 -27
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +27 -27
- package/lib/CodeBlock.d.ts +27 -27
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +27 -27
- package/lib/CodeView.d.ts +27 -27
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +27 -27
- package/lib/Color.d.ts +27 -27
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +27 -27
- package/lib/Document.d.ts +27 -27
- package/lib/{Drawer-B6uGc4Ab.js → Drawer-D7VC0bqz.js} +1 -1
- package/lib/{Drawer-DBt_aN5x.cjs → Drawer-hzhjTRvj.cjs} +1 -1
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +27 -27
- package/lib/Drawer.d.ts +27 -27
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +27 -27
- package/lib/Emoji.d.ts +27 -27
- package/lib/Emoji.js +1 -1
- package/lib/Excalidraw-C3YArGc8.js +278 -0
- package/lib/Excalidraw-DkpPLrTk.cjs +1 -0
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +27 -27
- package/lib/Excalidraw.d.ts +27 -27
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +27 -27
- package/lib/ExportPdf.d.ts +27 -27
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +27 -27
- package/lib/ExportWord.d.ts +27 -27
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +27 -27
- package/lib/FontFamily.d.ts +27 -27
- package/lib/FontFamily.js +2 -2
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +27 -27
- package/lib/FontSize.d.ts +27 -27
- package/lib/FontSize.js +2 -2
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +27 -27
- package/lib/FormatPainter.d.ts +27 -27
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +27 -27
- package/lib/Heading.d.ts +27 -27
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +27 -27
- package/lib/Highlight.d.ts +27 -27
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +27 -27
- package/lib/History.d.ts +27 -27
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +27 -27
- package/lib/HorizontalRule.d.ts +27 -27
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +27 -27
- package/lib/Iframe.d.ts +27 -27
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +27 -27
- package/lib/Image.d.ts +27 -27
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +27 -27
- package/lib/ImageGif.d.ts +27 -27
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +27 -27
- package/lib/ImportWord.d.ts +27 -27
- package/lib/ImportWord.js +1 -1
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +27 -27
- package/lib/Indent.d.ts +27 -27
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +27 -27
- package/lib/Italic.d.ts +27 -27
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +27 -27
- package/lib/Katex.d.ts +27 -27
- package/lib/Katex.js +2 -2
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +27 -27
- package/lib/LineHeight.d.ts +27 -27
- package/lib/LineHeight.js +1 -1
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +27 -27
- package/lib/Link.d.ts +27 -27
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +27 -27
- package/lib/ListItem.d.ts +27 -27
- package/lib/Mention.cjs +1 -1
- package/lib/Mention.d.cts +27 -27
- package/lib/Mention.d.ts +27 -27
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +27 -27
- package/lib/Mermaid.d.ts +27 -27
- package/lib/Mermaid.js +2 -2
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +27 -27
- package/lib/MoreMark.d.ts +27 -27
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +27 -27
- package/lib/MultiColumn.d.ts +27 -27
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +27 -27
- package/lib/OrderedList.d.ts +27 -27
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-BfYZYQb9.js → RichTextEditor-CRDKX-F8.js} +11 -11
- package/lib/{RichTextEditor-Db6oQoYY.cjs → RichTextEditor-ymQlnG9m.cjs} +1 -1
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +27 -27
- package/lib/SearchAndReplace.d.ts +27 -27
- package/lib/SearchAndReplace.js +1 -1
- package/lib/Selection.d.cts +27 -27
- package/lib/Selection.d.ts +27 -27
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +27 -27
- package/lib/SlashCommand.d.ts +27 -27
- package/lib/SlashCommand.js +1 -1
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +27 -27
- package/lib/Strike.d.ts +27 -27
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +27 -27
- package/lib/SubAndSuperScript.d.ts +27 -27
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +27 -27
- package/lib/Table.d.ts +27 -27
- package/lib/Table.js +1 -1
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +27 -27
- package/lib/TableOfContent.d.ts +27 -27
- package/lib/TableOfContent.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +27 -27
- package/lib/TaskList.d.ts +27 -27
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +27 -27
- package/lib/TextAlign.d.ts +27 -27
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +27 -27
- package/lib/TextBubble.d.ts +27 -27
- package/lib/TextBubble.js +1 -1
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +27 -27
- package/lib/TextDirection.d.ts +27 -27
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +27 -27
- package/lib/TextUnderline.d.ts +27 -27
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +27 -27
- package/lib/TrailingNode.d.ts +27 -27
- package/lib/{Twitter-DLO12QnF.cjs → Twitter-CMr6GpHp.cjs} +1 -1
- package/lib/{Twitter-CZA9dXpC.js → Twitter-CjAodXzu.js} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +27 -27
- package/lib/Twitter.d.ts +27 -27
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +27 -27
- package/lib/Video.d.ts +27 -27
- package/lib/Video.js +1 -1
- package/lib/bubble-extra.cjs +2 -2
- package/lib/bubble-extra.d.cts +27 -27
- package/lib/bubble-extra.d.ts +27 -27
- package/lib/bubble-extra.js +6 -6
- package/lib/{dom-dataset-DmsCLv1q.cjs → dom-dataset-Cuy-pIfj.cjs} +3 -3
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +27 -27
- package/lib/index.d.ts +27 -27
- package/lib/index.js +2 -2
- package/lib/locale-bundle.d.cts +27 -27
- package/lib/locale-bundle.d.ts +27 -27
- package/lib/{textarea-ILk3QoYy.cjs → textarea-Ci1tHD6V.cjs} +1 -1
- package/lib/{textarea-BUlQB7hI.js → textarea-CtL8w6IS.js} +1 -1
- package/package.json +1 -2
- package/lib/Excalidraw-Bp252YTN.js +0 -651
- package/lib/Excalidraw-CYLyPnI4.cjs +0 -1
package/lib/OrderedList.d.ts
CHANGED
|
@@ -212,19 +212,15 @@ declare module '@tiptap/core' {
|
|
|
212
212
|
|
|
213
213
|
declare module '@tiptap/core' {
|
|
214
214
|
interface Commands<ReturnType> {
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Add an image gif
|
|
218
|
-
*/
|
|
219
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
215
|
+
indent: {
|
|
220
216
|
/**
|
|
221
|
-
*
|
|
217
|
+
* Set the indent attribute
|
|
222
218
|
*/
|
|
223
|
-
|
|
219
|
+
indent: () => ReturnType;
|
|
224
220
|
/**
|
|
225
|
-
* Set
|
|
221
|
+
* Set the outdent attribute
|
|
226
222
|
*/
|
|
227
|
-
|
|
223
|
+
outdent: () => ReturnType;
|
|
228
224
|
};
|
|
229
225
|
}
|
|
230
226
|
}
|
|
@@ -232,15 +228,19 @@ declare module '@tiptap/core' {
|
|
|
232
228
|
|
|
233
229
|
declare module '@tiptap/core' {
|
|
234
230
|
interface Commands<ReturnType> {
|
|
235
|
-
|
|
231
|
+
imageGifUpload: {
|
|
236
232
|
/**
|
|
237
|
-
*
|
|
233
|
+
* Add an image gif
|
|
238
234
|
*/
|
|
239
|
-
|
|
235
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
240
236
|
/**
|
|
241
|
-
*
|
|
237
|
+
* Update an image gif
|
|
242
238
|
*/
|
|
243
|
-
|
|
239
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
240
|
+
/**
|
|
241
|
+
* Set image alignment
|
|
242
|
+
*/
|
|
243
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
244
244
|
};
|
|
245
245
|
}
|
|
246
246
|
}
|
|
@@ -316,15 +316,14 @@ declare module '@tiptap/core' {
|
|
|
316
316
|
|
|
317
317
|
declare module '@tiptap/core' {
|
|
318
318
|
interface Commands<ReturnType> {
|
|
319
|
-
|
|
320
|
-
/**
|
|
321
|
-
* Add an video
|
|
322
|
-
*/
|
|
323
|
-
setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
319
|
+
twitter: {
|
|
324
320
|
/**
|
|
325
|
-
*
|
|
321
|
+
* Insert a tweet
|
|
322
|
+
* @param options The tweet attributes
|
|
323
|
+
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
326
324
|
*/
|
|
327
|
-
|
|
325
|
+
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
326
|
+
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
328
327
|
};
|
|
329
328
|
}
|
|
330
329
|
}
|
|
@@ -332,14 +331,15 @@ declare module '@tiptap/core' {
|
|
|
332
331
|
|
|
333
332
|
declare module '@tiptap/core' {
|
|
334
333
|
interface Commands<ReturnType> {
|
|
335
|
-
|
|
334
|
+
video: {
|
|
336
335
|
/**
|
|
337
|
-
*
|
|
338
|
-
* @param options The tweet attributes
|
|
339
|
-
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
336
|
+
* Add an video
|
|
340
337
|
*/
|
|
341
|
-
|
|
342
|
-
|
|
338
|
+
setVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
339
|
+
/**
|
|
340
|
+
* Update an video
|
|
341
|
+
*/
|
|
342
|
+
updateVideo: (options: Partial<SetVideoOptions>) => ReturnType;
|
|
343
343
|
};
|
|
344
344
|
}
|
|
345
345
|
}
|
package/lib/OrderedList.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { N as a, w as i, m as r } from "./index-CXIIg9Sq.js";
|
|
2
|
-
import { A as p } from "./RichTextEditor-
|
|
2
|
+
import { A as p } from "./RichTextEditor-CRDKX-F8.js";
|
|
3
3
|
const d = "listItem", o = "textStyle", n = /^(\d+)\.\s$/, u = a.create({
|
|
4
4
|
name: "orderedList",
|
|
5
5
|
addOptions() {
|
|
@@ -11427,17 +11427,17 @@ export {
|
|
|
11427
11427
|
Fl as a,
|
|
11428
11428
|
V0 as a0,
|
|
11429
11429
|
Y0 as a1,
|
|
11430
|
-
|
|
11431
|
-
|
|
11432
|
-
|
|
11433
|
-
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11430
|
+
U0 as a2,
|
|
11431
|
+
_e as a3,
|
|
11432
|
+
Nl as a4,
|
|
11433
|
+
By as a5,
|
|
11434
|
+
W0 as a6,
|
|
11435
|
+
Pl as a7,
|
|
11436
|
+
wr as a8,
|
|
11437
|
+
tb as a9,
|
|
11438
|
+
s1 as aa,
|
|
11439
|
+
Sr as ab,
|
|
11440
|
+
c1 as ac,
|
|
11441
11441
|
Ly as ad,
|
|
11442
11442
|
ay as ae,
|
|
11443
11443
|
Ol as af,
|