reactjs-tiptap-editor 0.3.14 → 0.3.16
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-BfH5nAGi.js → ActionMenuButton-Blixh0sY.js} +1 -1
- package/lib/{ActionMenuButton-Cbbnqd-L.cjs → ActionMenuButton-Dqp7UQ7o.cjs} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +23 -23
- package/lib/Attachment.d.ts +23 -23
- package/lib/Attachment.js +2 -2
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +23 -23
- package/lib/Blockquote.d.ts +23 -23
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +23 -23
- package/lib/Bold.d.ts +23 -23
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +23 -23
- package/lib/BulletList.d.ts +23 -23
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +23 -23
- package/lib/Clear.d.ts +23 -23
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +23 -23
- package/lib/Code.d.ts +23 -23
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +26 -26
- package/lib/CodeBlock.d.cts +23 -23
- package/lib/CodeBlock.d.ts +23 -23
- package/lib/CodeBlock.js +660 -643
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +23 -23
- package/lib/CodeView.d.ts +23 -23
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +23 -23
- package/lib/Color.d.ts +23 -23
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +23 -23
- package/lib/Document.d.ts +23 -23
- package/lib/{Drawer-jPHImfyr.cjs → Drawer-DRmsdhKK.cjs} +1 -1
- package/lib/{Drawer-DUXFBfgE.js → Drawer-XpuScyFL.js} +2 -2
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +23 -23
- package/lib/Drawer.d.ts +23 -23
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +23 -23
- package/lib/Emoji.d.ts +23 -23
- package/lib/Emoji.js +2 -2
- package/lib/{Excalidraw-BBOIIhij.js → Excalidraw-CK40GI6U.js} +2 -2
- package/lib/{Excalidraw-CwZ3g3p-.cjs → Excalidraw-CPiaxnoj.cjs} +1 -1
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +23 -23
- package/lib/Excalidraw.d.ts +23 -23
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +23 -23
- package/lib/ExportPdf.d.ts +23 -23
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +23 -23
- package/lib/ExportWord.d.ts +23 -23
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +23 -23
- package/lib/FontFamily.d.ts +23 -23
- package/lib/FontFamily.js +3 -3
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +23 -23
- package/lib/FontSize.d.ts +23 -23
- package/lib/FontSize.js +3 -3
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +23 -23
- package/lib/FormatPainter.d.ts +23 -23
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +23 -23
- package/lib/Heading.d.ts +23 -23
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +23 -23
- package/lib/Highlight.d.ts +23 -23
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +23 -23
- package/lib/History.d.ts +23 -23
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +23 -23
- package/lib/HorizontalRule.d.ts +23 -23
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +23 -23
- package/lib/Iframe.d.ts +23 -23
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +30 -23
- package/lib/Image.d.ts +30 -23
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +23 -23
- package/lib/ImageGif.d.ts +23 -23
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +23 -23
- package/lib/ImportWord.d.ts +23 -23
- package/lib/ImportWord.js +2 -2
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +23 -23
- package/lib/Indent.d.ts +23 -23
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +23 -23
- package/lib/Italic.d.ts +23 -23
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +23 -23
- package/lib/Katex.d.ts +23 -23
- package/lib/Katex.js +3 -3
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +23 -23
- package/lib/LineHeight.d.ts +23 -23
- package/lib/LineHeight.js +2 -2
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +23 -23
- package/lib/Link.d.ts +23 -23
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +23 -23
- package/lib/ListItem.d.ts +23 -23
- package/lib/Mention.d.cts +23 -23
- package/lib/Mention.d.ts +23 -23
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +23 -23
- package/lib/Mermaid.d.ts +23 -23
- package/lib/Mermaid.js +3 -3
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +23 -23
- package/lib/MoreMark.d.ts +23 -23
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +23 -23
- package/lib/MultiColumn.d.ts +23 -23
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +23 -23
- package/lib/OrderedList.d.ts +23 -23
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-OW4s40FH.js → RichTextEditor-BTv7R2Z0.js} +3311 -3187
- package/lib/RichTextEditor-Bca-oI9I.cjs +141 -0
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +23 -23
- package/lib/SearchAndReplace.d.ts +23 -23
- package/lib/SearchAndReplace.js +2 -2
- package/lib/Selection.d.cts +23 -23
- package/lib/Selection.d.ts +23 -23
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +23 -23
- package/lib/SlashCommand.d.ts +23 -23
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +23 -23
- package/lib/Strike.d.ts +23 -23
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +23 -23
- package/lib/SubAndSuperScript.d.ts +23 -23
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +23 -23
- package/lib/Table.d.ts +23 -23
- package/lib/Table.js +2 -2
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +23 -23
- package/lib/TableOfContent.d.ts +23 -23
- package/lib/TableOfContent.js +2 -2
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +23 -23
- package/lib/TaskList.d.ts +23 -23
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +23 -23
- package/lib/TextAlign.d.ts +23 -23
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +23 -23
- package/lib/TextBubble.d.ts +23 -23
- package/lib/TextBubble.js +2 -2
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +23 -23
- package/lib/TextDirection.d.ts +23 -23
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +23 -23
- package/lib/TextUnderline.d.ts +23 -23
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +23 -23
- package/lib/TrailingNode.d.ts +23 -23
- package/lib/{Twitter-2LOf4hFb.js → Twitter-DZTS9Uc4.js} +2 -2
- package/lib/{Twitter-Cg58uzB-.cjs → Twitter-tp6dT1fs.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +23 -23
- package/lib/Twitter.d.ts +23 -23
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +23 -23
- package/lib/Video.d.ts +23 -23
- package/lib/Video.js +2 -2
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +23 -23
- package/lib/bubble-extra.d.ts +23 -23
- package/lib/bubble-extra.js +6 -6
- package/lib/index-jEB3jXoa.cjs +1 -0
- package/lib/{index-D-DR0FPY.js → index-zcKfSGd5.js} +317 -295
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +23 -23
- package/lib/index.d.ts +23 -23
- package/lib/index.js +3 -3
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +44 -24
- package/lib/locale-bundle.d.ts +44 -24
- package/lib/locale-bundle.js +1 -1
- package/lib/style.css +1 -1
- package/lib/{textarea-DM-_io94.js → textarea-DKyqOqL2.js} +1 -1
- package/lib/{textarea-DNz8Tnud.cjs → textarea-Yr93rFW5.cjs} +1 -1
- package/package.json +1 -1
- package/lib/RichTextEditor-C3sK_Ys3.cjs +0 -141
- package/lib/index-Dz3YxLE7.cjs +0 -1
package/lib/CodeBlock.d.cts
CHANGED
|
@@ -119,11 +119,9 @@ declare module '@tiptap/core' {
|
|
|
119
119
|
|
|
120
120
|
declare module '@tiptap/core' {
|
|
121
121
|
interface Commands<ReturnType> {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
emoji: string;
|
|
126
|
-
}) => ReturnType;
|
|
122
|
+
drawer: {
|
|
123
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
124
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
127
125
|
};
|
|
128
126
|
}
|
|
129
127
|
}
|
|
@@ -140,9 +138,11 @@ declare module '@tiptap/core' {
|
|
|
140
138
|
|
|
141
139
|
declare module '@tiptap/core' {
|
|
142
140
|
interface Commands<ReturnType> {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
emoji: {
|
|
142
|
+
setEmoji: (emoji: {
|
|
143
|
+
name: string;
|
|
144
|
+
emoji: string;
|
|
145
|
+
}) => ReturnType;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -184,21 +184,6 @@ declare module '@tiptap/core' {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
declare module '@tiptap/core' {
|
|
188
|
-
interface Commands<ReturnType> {
|
|
189
|
-
iframe: {
|
|
190
|
-
/**
|
|
191
|
-
* Add an iframe
|
|
192
|
-
*/
|
|
193
|
-
setIframe: (options: {
|
|
194
|
-
src: string;
|
|
195
|
-
service: string;
|
|
196
|
-
}) => ReturnType;
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
187
|
declare module '@tiptap/core' {
|
|
203
188
|
interface Commands<ReturnType> {
|
|
204
189
|
imageUpload: {
|
|
@@ -219,6 +204,21 @@ declare module '@tiptap/core' {
|
|
|
219
204
|
}
|
|
220
205
|
|
|
221
206
|
|
|
207
|
+
declare module '@tiptap/core' {
|
|
208
|
+
interface Commands<ReturnType> {
|
|
209
|
+
iframe: {
|
|
210
|
+
/**
|
|
211
|
+
* Add an iframe
|
|
212
|
+
*/
|
|
213
|
+
setIframe: (options: {
|
|
214
|
+
src: string;
|
|
215
|
+
service: string;
|
|
216
|
+
}) => ReturnType;
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
222
|
declare module '@tiptap/core' {
|
|
223
223
|
interface Commands<ReturnType> {
|
|
224
224
|
imageGifUpload: {
|
package/lib/CodeBlock.d.ts
CHANGED
|
@@ -119,11 +119,9 @@ declare module '@tiptap/core' {
|
|
|
119
119
|
|
|
120
120
|
declare module '@tiptap/core' {
|
|
121
121
|
interface Commands<ReturnType> {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
emoji: string;
|
|
126
|
-
}) => ReturnType;
|
|
122
|
+
drawer: {
|
|
123
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
124
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
127
125
|
};
|
|
128
126
|
}
|
|
129
127
|
}
|
|
@@ -140,9 +138,11 @@ declare module '@tiptap/core' {
|
|
|
140
138
|
|
|
141
139
|
declare module '@tiptap/core' {
|
|
142
140
|
interface Commands<ReturnType> {
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
emoji: {
|
|
142
|
+
setEmoji: (emoji: {
|
|
143
|
+
name: string;
|
|
144
|
+
emoji: string;
|
|
145
|
+
}) => ReturnType;
|
|
146
146
|
};
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -184,21 +184,6 @@ declare module '@tiptap/core' {
|
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
|
|
187
|
-
declare module '@tiptap/core' {
|
|
188
|
-
interface Commands<ReturnType> {
|
|
189
|
-
iframe: {
|
|
190
|
-
/**
|
|
191
|
-
* Add an iframe
|
|
192
|
-
*/
|
|
193
|
-
setIframe: (options: {
|
|
194
|
-
src: string;
|
|
195
|
-
service: string;
|
|
196
|
-
}) => ReturnType;
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
|
|
202
187
|
declare module '@tiptap/core' {
|
|
203
188
|
interface Commands<ReturnType> {
|
|
204
189
|
imageUpload: {
|
|
@@ -219,6 +204,21 @@ declare module '@tiptap/core' {
|
|
|
219
204
|
}
|
|
220
205
|
|
|
221
206
|
|
|
207
|
+
declare module '@tiptap/core' {
|
|
208
|
+
interface Commands<ReturnType> {
|
|
209
|
+
iframe: {
|
|
210
|
+
/**
|
|
211
|
+
* Add an iframe
|
|
212
|
+
*/
|
|
213
|
+
setIframe: (options: {
|
|
214
|
+
src: string;
|
|
215
|
+
service: string;
|
|
216
|
+
}) => ReturnType;
|
|
217
|
+
};
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
222
|
declare module '@tiptap/core' {
|
|
223
223
|
interface Commands<ReturnType> {
|
|
224
224
|
imageGifUpload: {
|