reactjs-tiptap-editor 0.3.23 → 0.3.25
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-5AJJxQy1.cjs → ActionMenuButton-B3XOtCey.cjs} +1 -1
- package/lib/{ActionMenuButton-DwzYAKDg.js → ActionMenuButton-Bh2ft7th.js} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +20 -20
- package/lib/Attachment.d.ts +20 -20
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +20 -20
- package/lib/Blockquote.d.ts +20 -20
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +20 -20
- package/lib/Bold.d.ts +20 -20
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +20 -20
- package/lib/BulletList.d.ts +20 -20
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +20 -20
- package/lib/Clear.d.ts +20 -20
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +20 -20
- package/lib/Code.d.ts +20 -20
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +20 -20
- package/lib/CodeBlock.d.ts +20 -20
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +20 -20
- package/lib/CodeView.d.ts +20 -20
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +20 -20
- package/lib/Color.d.ts +20 -20
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +20 -20
- package/lib/Document.d.ts +20 -20
- package/lib/{Drawer-CCzPaigS.cjs → Drawer-CUntRzbs.cjs} +1 -1
- package/lib/{Drawer-Dc03j6W1.js → Drawer-Orz21MYs.js} +10 -10
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +20 -20
- package/lib/Drawer.d.ts +20 -20
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +20 -20
- package/lib/Emoji.d.ts +20 -20
- package/lib/Emoji.js +2 -2
- package/lib/{Excalidraw-Bxo4S3ET.cjs → Excalidraw-Bu8XuykT.cjs} +1 -1
- package/lib/{Excalidraw-yQ7O39ws.js → Excalidraw-Cj-sXq5F.js} +2 -2
- 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.cjs +1 -1
- package/lib/ExportPdf.d.cts +20 -20
- package/lib/ExportPdf.d.ts +20 -20
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +20 -20
- package/lib/ExportWord.d.ts +20 -20
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +20 -20
- package/lib/FontFamily.d.ts +20 -20
- package/lib/FontFamily.js +5 -5
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +20 -20
- package/lib/FontSize.d.ts +20 -20
- package/lib/FontSize.js +3 -3
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +20 -20
- package/lib/FormatPainter.d.ts +20 -20
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +20 -20
- package/lib/Heading.d.ts +20 -20
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +20 -20
- package/lib/Highlight.d.ts +20 -20
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +20 -20
- package/lib/History.d.ts +20 -20
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +20 -20
- package/lib/HorizontalRule.d.ts +20 -20
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +20 -20
- package/lib/Iframe.d.ts +20 -20
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +20 -20
- package/lib/Image.d.ts +20 -20
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +20 -20
- package/lib/ImageGif.d.ts +20 -20
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +20 -20
- package/lib/ImportWord.d.ts +20 -20
- package/lib/ImportWord.js +2 -2
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +20 -20
- package/lib/Indent.d.ts +20 -20
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +20 -20
- package/lib/Italic.d.ts +20 -20
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +20 -20
- package/lib/Katex.d.ts +20 -20
- package/lib/Katex.js +3 -3
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +20 -20
- package/lib/LineHeight.d.ts +20 -20
- package/lib/LineHeight.js +6 -6
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +20 -20
- package/lib/Link.d.ts +20 -20
- package/lib/Link.js +1 -1
- 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.cjs +1 -1
- package/lib/Mermaid.d.cts +20 -20
- package/lib/Mermaid.d.ts +20 -20
- package/lib/Mermaid.js +14 -14
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +20 -20
- package/lib/MoreMark.d.ts +20 -20
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +20 -20
- package/lib/MultiColumn.d.ts +20 -20
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +20 -20
- package/lib/OrderedList.d.ts +20 -20
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-BnC1uaUo.cjs → RichTextEditor-B5WYnm7K.cjs} +2 -2
- package/lib/{RichTextEditor-CqgbZwS5.js → RichTextEditor-CfAFp9V2.js} +146 -107
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +20 -20
- package/lib/SearchAndReplace.d.ts +20 -20
- package/lib/SearchAndReplace.js +2 -2
- package/lib/Selection.d.cts +20 -20
- package/lib/Selection.d.ts +20 -20
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +20 -20
- package/lib/SlashCommand.d.ts +20 -20
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +20 -20
- package/lib/Strike.d.ts +20 -20
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +20 -20
- package/lib/SubAndSuperScript.d.ts +20 -20
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +20 -20
- package/lib/Table.d.ts +20 -20
- package/lib/Table.js +531 -531
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +20 -20
- package/lib/TableOfContent.d.ts +20 -20
- package/lib/TableOfContent.js +2 -2
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +20 -20
- package/lib/TaskList.d.ts +20 -20
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +20 -20
- package/lib/TextAlign.d.ts +20 -20
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +20 -20
- package/lib/TextBubble.d.ts +20 -20
- package/lib/TextBubble.js +2 -2
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +20 -20
- package/lib/TextDirection.d.ts +20 -20
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +20 -20
- package/lib/TextUnderline.d.ts +20 -20
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +20 -20
- package/lib/TrailingNode.d.ts +20 -20
- package/lib/{Twitter-DjzxXZcS.js → Twitter-9AKqIK4p.js} +2 -2
- package/lib/{Twitter-2BEmpZYn.cjs → Twitter-BFwUowi8.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +20 -20
- package/lib/Twitter.d.ts +20 -20
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +20 -20
- package/lib/Video.d.ts +20 -20
- package/lib/Video.js +2 -2
- 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 +6 -6
- package/lib/{index-Tj3Ci7xM.js → index-CsK90iVd.js} +306 -128
- package/lib/index-D_A0TBRA.cjs +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +20 -20
- package/lib/index.d.ts +20 -20
- package/lib/index.js +3 -3
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +199 -21
- package/lib/locale-bundle.d.ts +199 -21
- package/lib/locale-bundle.js +2 -1
- package/lib/{textarea-ClmQTGYC.js → textarea-CWt0EMiJ.js} +1 -1
- package/lib/{textarea-DsAuYgt7.cjs → textarea-bND4WL8o.cjs} +1 -1
- package/package.json +1 -1
- package/lib/index-C19MB4Al.cjs +0 -1
package/lib/Table.d.cts
CHANGED
|
@@ -133,9 +133,11 @@ declare module '@tiptap/core' {
|
|
|
133
133
|
|
|
134
134
|
declare module '@tiptap/core' {
|
|
135
135
|
interface Commands<ReturnType> {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
emoji: {
|
|
137
|
+
setEmoji: (emoji: {
|
|
138
|
+
name: string;
|
|
139
|
+
emoji: string;
|
|
140
|
+
}) => ReturnType;
|
|
139
141
|
};
|
|
140
142
|
}
|
|
141
143
|
}
|
|
@@ -143,11 +145,9 @@ declare module '@tiptap/core' {
|
|
|
143
145
|
|
|
144
146
|
declare module '@tiptap/core' {
|
|
145
147
|
interface Commands<ReturnType> {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
emoji: string;
|
|
150
|
-
}) => ReturnType;
|
|
148
|
+
drawer: {
|
|
149
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
150
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -215,19 +215,19 @@ declare module '@tiptap/core' {
|
|
|
215
215
|
|
|
216
216
|
declare module '@tiptap/core' {
|
|
217
217
|
interface Commands<ReturnType> {
|
|
218
|
-
|
|
218
|
+
imageGifUpload: {
|
|
219
219
|
/**
|
|
220
|
-
* Add an image
|
|
220
|
+
* Add an image gif
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
223
223
|
/**
|
|
224
|
-
* Update an image
|
|
224
|
+
* Update an image gif
|
|
225
225
|
*/
|
|
226
|
-
|
|
226
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
227
227
|
/**
|
|
228
228
|
* Set image alignment
|
|
229
229
|
*/
|
|
230
|
-
|
|
230
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -235,19 +235,19 @@ declare module '@tiptap/core' {
|
|
|
235
235
|
|
|
236
236
|
declare module '@tiptap/core' {
|
|
237
237
|
interface Commands<ReturnType> {
|
|
238
|
-
|
|
238
|
+
imageUpload: {
|
|
239
239
|
/**
|
|
240
|
-
* Add an image
|
|
240
|
+
* Add an image
|
|
241
241
|
*/
|
|
242
|
-
|
|
242
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
243
243
|
/**
|
|
244
|
-
* Update an image
|
|
244
|
+
* Update an image
|
|
245
245
|
*/
|
|
246
|
-
|
|
246
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
247
247
|
/**
|
|
248
248
|
* Set image alignment
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
}
|
package/lib/Table.d.ts
CHANGED
|
@@ -133,9 +133,11 @@ declare module '@tiptap/core' {
|
|
|
133
133
|
|
|
134
134
|
declare module '@tiptap/core' {
|
|
135
135
|
interface Commands<ReturnType> {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
136
|
+
emoji: {
|
|
137
|
+
setEmoji: (emoji: {
|
|
138
|
+
name: string;
|
|
139
|
+
emoji: string;
|
|
140
|
+
}) => ReturnType;
|
|
139
141
|
};
|
|
140
142
|
}
|
|
141
143
|
}
|
|
@@ -143,11 +145,9 @@ declare module '@tiptap/core' {
|
|
|
143
145
|
|
|
144
146
|
declare module '@tiptap/core' {
|
|
145
147
|
interface Commands<ReturnType> {
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
emoji: string;
|
|
150
|
-
}) => ReturnType;
|
|
148
|
+
drawer: {
|
|
149
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
150
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
}
|
|
@@ -215,19 +215,19 @@ declare module '@tiptap/core' {
|
|
|
215
215
|
|
|
216
216
|
declare module '@tiptap/core' {
|
|
217
217
|
interface Commands<ReturnType> {
|
|
218
|
-
|
|
218
|
+
imageGifUpload: {
|
|
219
219
|
/**
|
|
220
|
-
* Add an image
|
|
220
|
+
* Add an image gif
|
|
221
221
|
*/
|
|
222
|
-
|
|
222
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
223
223
|
/**
|
|
224
|
-
* Update an image
|
|
224
|
+
* Update an image gif
|
|
225
225
|
*/
|
|
226
|
-
|
|
226
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
227
227
|
/**
|
|
228
228
|
* Set image alignment
|
|
229
229
|
*/
|
|
230
|
-
|
|
230
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
@@ -235,19 +235,19 @@ declare module '@tiptap/core' {
|
|
|
235
235
|
|
|
236
236
|
declare module '@tiptap/core' {
|
|
237
237
|
interface Commands<ReturnType> {
|
|
238
|
-
|
|
238
|
+
imageUpload: {
|
|
239
239
|
/**
|
|
240
|
-
* Add an image
|
|
240
|
+
* Add an image
|
|
241
241
|
*/
|
|
242
|
-
|
|
242
|
+
setImageInline: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
243
243
|
/**
|
|
244
|
-
* Update an image
|
|
244
|
+
* Update an image
|
|
245
245
|
*/
|
|
246
|
-
|
|
246
|
+
updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
247
247
|
/**
|
|
248
248
|
* Set image alignment
|
|
249
249
|
*/
|
|
250
|
-
|
|
250
|
+
setAlignImage: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
}
|