reactjs-tiptap-editor 0.3.16 → 0.3.17
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-Blixh0sY.js → ActionMenuButton-BrCaG1xk.js} +1 -1
- package/lib/{ActionMenuButton-Dqp7UQ7o.cjs → ActionMenuButton-KFJKTwTF.cjs} +1 -1
- package/lib/Attachment.cjs +1 -1
- package/lib/Attachment.d.cts +25 -25
- package/lib/Attachment.d.ts +25 -25
- package/lib/Attachment.js +1 -1
- package/lib/Blockquote.cjs +1 -1
- package/lib/Blockquote.d.cts +25 -25
- package/lib/Blockquote.d.ts +25 -25
- package/lib/Blockquote.js +1 -1
- package/lib/Bold.cjs +1 -1
- package/lib/Bold.d.cts +25 -25
- package/lib/Bold.d.ts +25 -25
- package/lib/Bold.js +1 -1
- package/lib/BulletList.cjs +1 -1
- package/lib/BulletList.d.cts +25 -25
- package/lib/BulletList.d.ts +25 -25
- package/lib/BulletList.js +1 -1
- package/lib/Clear.cjs +1 -1
- package/lib/Clear.d.cts +25 -25
- package/lib/Clear.d.ts +25 -25
- package/lib/Clear.js +1 -1
- package/lib/Code.cjs +1 -1
- package/lib/Code.d.cts +25 -25
- package/lib/Code.d.ts +25 -25
- package/lib/Code.js +1 -1
- package/lib/CodeBlock.cjs +1 -1
- package/lib/CodeBlock.d.cts +25 -25
- package/lib/CodeBlock.d.ts +25 -25
- package/lib/CodeBlock.js +1 -1
- package/lib/CodeView.cjs +1 -1
- package/lib/CodeView.d.cts +25 -25
- package/lib/CodeView.d.ts +25 -25
- package/lib/CodeView.js +1 -1
- package/lib/Color.cjs +1 -1
- package/lib/Color.d.cts +25 -25
- package/lib/Color.d.ts +25 -25
- package/lib/Color.js +1 -1
- package/lib/Document.d.cts +25 -25
- package/lib/Document.d.ts +25 -25
- package/lib/{Drawer-XpuScyFL.js → Drawer-BoMVb5A7.js} +1 -1
- package/lib/{Drawer-DRmsdhKK.cjs → Drawer-DIGVbwK_.cjs} +1 -1
- package/lib/Drawer.cjs +1 -1
- package/lib/Drawer.d.cts +25 -25
- package/lib/Drawer.d.ts +25 -25
- package/lib/Drawer.js +2 -2
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +25 -25
- package/lib/Emoji.d.ts +25 -25
- package/lib/Emoji.js +1 -1
- package/lib/{Excalidraw-CPiaxnoj.cjs → Excalidraw-36ndx1gh.cjs} +1 -1
- package/lib/{Excalidraw-CK40GI6U.js → Excalidraw-DhvtW1HZ.js} +1 -1
- package/lib/Excalidraw.cjs +1 -1
- package/lib/Excalidraw.d.cts +25 -25
- package/lib/Excalidraw.d.ts +25 -25
- package/lib/Excalidraw.js +1 -1
- package/lib/ExportPdf.cjs +1 -1
- package/lib/ExportPdf.d.cts +25 -25
- package/lib/ExportPdf.d.ts +25 -25
- package/lib/ExportPdf.js +1 -1
- package/lib/ExportWord.cjs +1 -1
- package/lib/ExportWord.d.cts +25 -25
- package/lib/ExportWord.d.ts +25 -25
- package/lib/ExportWord.js +1 -1
- package/lib/FontFamily.cjs +1 -1
- package/lib/FontFamily.d.cts +25 -25
- package/lib/FontFamily.d.ts +25 -25
- package/lib/FontFamily.js +2 -2
- package/lib/FontSize.cjs +1 -1
- package/lib/FontSize.d.cts +25 -25
- package/lib/FontSize.d.ts +25 -25
- package/lib/FontSize.js +2 -2
- package/lib/FormatPainter.cjs +1 -1
- package/lib/FormatPainter.d.cts +25 -25
- package/lib/FormatPainter.d.ts +25 -25
- package/lib/FormatPainter.js +1 -1
- package/lib/Heading.cjs +1 -1
- package/lib/Heading.d.cts +25 -25
- package/lib/Heading.d.ts +25 -25
- package/lib/Heading.js +2 -2
- package/lib/Highlight.cjs +1 -1
- package/lib/Highlight.d.cts +25 -25
- package/lib/Highlight.d.ts +25 -25
- package/lib/Highlight.js +1 -1
- package/lib/History.cjs +1 -1
- package/lib/History.d.cts +25 -25
- package/lib/History.d.ts +25 -25
- package/lib/History.js +1 -1
- package/lib/HorizontalRule.cjs +1 -1
- package/lib/HorizontalRule.d.cts +25 -25
- package/lib/HorizontalRule.d.ts +25 -25
- package/lib/HorizontalRule.js +1 -1
- package/lib/Iframe.cjs +1 -1
- package/lib/Iframe.d.cts +25 -25
- package/lib/Iframe.d.ts +25 -25
- package/lib/Iframe.js +1 -1
- package/lib/Image.cjs +1 -1
- package/lib/Image.d.cts +25 -25
- package/lib/Image.d.ts +25 -25
- package/lib/Image.js +1 -1
- package/lib/ImageGif.cjs +1 -1
- package/lib/ImageGif.d.cts +25 -25
- package/lib/ImageGif.d.ts +25 -25
- package/lib/ImageGif.js +1 -1
- package/lib/ImportWord.cjs +1 -1
- package/lib/ImportWord.d.cts +25 -25
- package/lib/ImportWord.d.ts +25 -25
- package/lib/ImportWord.js +1 -1
- package/lib/Indent.cjs +1 -1
- package/lib/Indent.d.cts +25 -25
- package/lib/Indent.d.ts +25 -25
- package/lib/Indent.js +1 -1
- package/lib/Italic.cjs +1 -1
- package/lib/Italic.d.cts +25 -25
- package/lib/Italic.d.ts +25 -25
- package/lib/Italic.js +1 -1
- package/lib/Katex.cjs +1 -1
- package/lib/Katex.d.cts +25 -25
- package/lib/Katex.d.ts +25 -25
- package/lib/Katex.js +2 -2
- package/lib/LineHeight.cjs +1 -1
- package/lib/LineHeight.d.cts +25 -25
- package/lib/LineHeight.d.ts +25 -25
- package/lib/LineHeight.js +1 -1
- package/lib/Link.cjs +1 -1
- package/lib/Link.d.cts +25 -25
- package/lib/Link.d.ts +25 -25
- package/lib/Link.js +1 -1
- package/lib/ListItem.d.cts +25 -25
- package/lib/ListItem.d.ts +25 -25
- package/lib/Mention.d.cts +25 -25
- package/lib/Mention.d.ts +25 -25
- package/lib/Mermaid.cjs +1 -1
- package/lib/Mermaid.d.cts +25 -25
- package/lib/Mermaid.d.ts +25 -25
- package/lib/Mermaid.js +2 -2
- package/lib/MoreMark.cjs +1 -1
- package/lib/MoreMark.d.cts +25 -25
- package/lib/MoreMark.d.ts +25 -25
- package/lib/MoreMark.js +1 -1
- package/lib/MultiColumn.cjs +1 -1
- package/lib/MultiColumn.d.cts +25 -25
- package/lib/MultiColumn.d.ts +25 -25
- package/lib/MultiColumn.js +1 -1
- package/lib/OrderedList.cjs +1 -1
- package/lib/OrderedList.d.cts +25 -25
- package/lib/OrderedList.d.ts +25 -25
- package/lib/OrderedList.js +1 -1
- package/lib/{RichTextEditor-Bca-oI9I.cjs → RichTextEditor-B7GWBCUZ.cjs} +7 -7
- package/lib/{RichTextEditor-BTv7R2Z0.js → RichTextEditor-Coaq773Y.js} +1543 -1497
- package/lib/SearchAndReplace.cjs +1 -1
- package/lib/SearchAndReplace.d.cts +25 -25
- package/lib/SearchAndReplace.d.ts +25 -25
- package/lib/SearchAndReplace.js +1 -1
- package/lib/Selection.d.cts +25 -25
- package/lib/Selection.d.ts +25 -25
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +25 -25
- package/lib/SlashCommand.d.ts +25 -25
- package/lib/SlashCommand.js +1 -1
- package/lib/Strike.cjs +1 -1
- package/lib/Strike.d.cts +25 -25
- package/lib/Strike.d.ts +25 -25
- package/lib/Strike.js +1 -1
- package/lib/SubAndSuperScript.cjs +1 -1
- package/lib/SubAndSuperScript.d.cts +25 -25
- package/lib/SubAndSuperScript.d.ts +25 -25
- package/lib/SubAndSuperScript.js +1 -1
- package/lib/Table.cjs +1 -1
- package/lib/Table.d.cts +25 -25
- package/lib/Table.d.ts +25 -25
- package/lib/Table.js +1 -1
- package/lib/TableOfContent.cjs +1 -1
- package/lib/TableOfContent.d.cts +25 -25
- package/lib/TableOfContent.d.ts +25 -25
- package/lib/TableOfContent.js +1 -1
- package/lib/TaskList.cjs +1 -1
- package/lib/TaskList.d.cts +25 -25
- package/lib/TaskList.d.ts +25 -25
- package/lib/TaskList.js +1 -1
- package/lib/TextAlign.cjs +1 -1
- package/lib/TextAlign.d.cts +25 -25
- package/lib/TextAlign.d.ts +25 -25
- package/lib/TextAlign.js +1 -1
- package/lib/TextBubble.cjs +1 -1
- package/lib/TextBubble.d.cts +25 -25
- package/lib/TextBubble.d.ts +25 -25
- package/lib/TextBubble.js +1 -1
- package/lib/TextDirection.cjs +1 -1
- package/lib/TextDirection.d.cts +25 -25
- package/lib/TextDirection.d.ts +25 -25
- package/lib/TextDirection.js +1 -1
- package/lib/TextUnderline.cjs +1 -1
- package/lib/TextUnderline.d.cts +25 -25
- package/lib/TextUnderline.d.ts +25 -25
- package/lib/TextUnderline.js +1 -1
- package/lib/TrailingNode.d.cts +25 -25
- package/lib/TrailingNode.d.ts +25 -25
- package/lib/{Twitter-DZTS9Uc4.js → Twitter-4jWZEzW-.js} +1 -1
- package/lib/{Twitter-tp6dT1fs.cjs → Twitter-D9TEh74u.cjs} +1 -1
- package/lib/Twitter.cjs +1 -1
- package/lib/Twitter.d.cts +25 -25
- package/lib/Twitter.d.ts +25 -25
- package/lib/Twitter.js +1 -1
- package/lib/Video.cjs +1 -1
- package/lib/Video.d.cts +25 -25
- package/lib/Video.d.ts +25 -25
- package/lib/Video.js +1 -1
- package/lib/bubble-extra.cjs +1 -1
- package/lib/bubble-extra.d.cts +25 -25
- package/lib/bubble-extra.d.ts +25 -25
- package/lib/bubble-extra.js +5 -5
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +25 -25
- package/lib/index.d.ts +25 -25
- package/lib/index.js +2 -2
- package/lib/locale-bundle.d.cts +25 -25
- package/lib/locale-bundle.d.ts +25 -25
- package/lib/{textarea-DKyqOqL2.js → textarea-D432J9HA.js} +1 -1
- package/lib/{textarea-Yr93rFW5.cjs → textarea-hHZqZb43.cjs} +1 -1
- package/package.json +1 -1
package/lib/Iframe.d.ts
CHANGED
|
@@ -44,9 +44,11 @@ declare module '@tiptap/core' {
|
|
|
44
44
|
|
|
45
45
|
declare module '@tiptap/core' {
|
|
46
46
|
interface Commands<ReturnType> {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
emoji: {
|
|
48
|
+
setEmoji: (emoji: {
|
|
49
|
+
name: string;
|
|
50
|
+
emoji: string;
|
|
51
|
+
}) => ReturnType;
|
|
50
52
|
};
|
|
51
53
|
}
|
|
52
54
|
}
|
|
@@ -54,8 +56,9 @@ declare module '@tiptap/core' {
|
|
|
54
56
|
|
|
55
57
|
declare module '@tiptap/core' {
|
|
56
58
|
interface Commands<ReturnType> {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
drawer: {
|
|
60
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
61
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
59
62
|
};
|
|
60
63
|
}
|
|
61
64
|
}
|
|
@@ -63,11 +66,8 @@ declare module '@tiptap/core' {
|
|
|
63
66
|
|
|
64
67
|
declare module '@tiptap/core' {
|
|
65
68
|
interface Commands<ReturnType> {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
name: string;
|
|
69
|
-
emoji: string;
|
|
70
|
-
}) => ReturnType;
|
|
69
|
+
excalidraw: {
|
|
70
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
71
71
|
};
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -109,6 +109,21 @@ declare module '@tiptap/core' {
|
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
|
|
112
|
+
declare module '@tiptap/core' {
|
|
113
|
+
interface Commands<ReturnType> {
|
|
114
|
+
iframe: {
|
|
115
|
+
/**
|
|
116
|
+
* Add an iframe
|
|
117
|
+
*/
|
|
118
|
+
setIframe: (options: {
|
|
119
|
+
src: string;
|
|
120
|
+
service: string;
|
|
121
|
+
}) => ReturnType;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
112
127
|
declare module '@tiptap/core' {
|
|
113
128
|
interface Commands<ReturnType> {
|
|
114
129
|
imageUpload: {
|
|
@@ -129,21 +144,6 @@ declare module '@tiptap/core' {
|
|
|
129
144
|
}
|
|
130
145
|
|
|
131
146
|
|
|
132
|
-
declare module '@tiptap/core' {
|
|
133
|
-
interface Commands<ReturnType> {
|
|
134
|
-
iframe: {
|
|
135
|
-
/**
|
|
136
|
-
* Add an iframe
|
|
137
|
-
*/
|
|
138
|
-
setIframe: (options: {
|
|
139
|
-
src: string;
|
|
140
|
-
service: string;
|
|
141
|
-
}) => ReturnType;
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
|
|
147
147
|
declare module '@tiptap/core' {
|
|
148
148
|
interface Commands<ReturnType> {
|
|
149
149
|
imageGifUpload: {
|
package/lib/Iframe.js
CHANGED
package/lib/Image.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index-CSvnpArE.cjs");const e=require("./RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index-CSvnpArE.cjs");const e=require("./RichTextEditor-B7GWBCUZ.cjs");require("./dom-dataset-Cuy-pIfj.cjs");exports.Image=e.Image$1;exports.default=e.Image$1;
|
package/lib/Image.d.cts
CHANGED
|
@@ -144,9 +144,11 @@ declare module '@tiptap/core' {
|
|
|
144
144
|
|
|
145
145
|
declare module '@tiptap/core' {
|
|
146
146
|
interface Commands<ReturnType> {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
emoji: {
|
|
148
|
+
setEmoji: (emoji: {
|
|
149
|
+
name: string;
|
|
150
|
+
emoji: string;
|
|
151
|
+
}) => ReturnType;
|
|
150
152
|
};
|
|
151
153
|
}
|
|
152
154
|
}
|
|
@@ -154,8 +156,9 @@ declare module '@tiptap/core' {
|
|
|
154
156
|
|
|
155
157
|
declare module '@tiptap/core' {
|
|
156
158
|
interface Commands<ReturnType> {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
drawer: {
|
|
160
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
161
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
159
162
|
};
|
|
160
163
|
}
|
|
161
164
|
}
|
|
@@ -163,11 +166,8 @@ declare module '@tiptap/core' {
|
|
|
163
166
|
|
|
164
167
|
declare module '@tiptap/core' {
|
|
165
168
|
interface Commands<ReturnType> {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
name: string;
|
|
169
|
-
emoji: string;
|
|
170
|
-
}) => ReturnType;
|
|
169
|
+
excalidraw: {
|
|
170
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -209,6 +209,21 @@ declare module '@tiptap/core' {
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
|
|
212
|
+
declare module '@tiptap/core' {
|
|
213
|
+
interface Commands<ReturnType> {
|
|
214
|
+
iframe: {
|
|
215
|
+
/**
|
|
216
|
+
* Add an iframe
|
|
217
|
+
*/
|
|
218
|
+
setIframe: (options: {
|
|
219
|
+
src: string;
|
|
220
|
+
service: string;
|
|
221
|
+
}) => ReturnType;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
212
227
|
declare module '@tiptap/core' {
|
|
213
228
|
interface Commands<ReturnType> {
|
|
214
229
|
imageUpload: {
|
|
@@ -229,21 +244,6 @@ declare module '@tiptap/core' {
|
|
|
229
244
|
}
|
|
230
245
|
|
|
231
246
|
|
|
232
|
-
declare module '@tiptap/core' {
|
|
233
|
-
interface Commands<ReturnType> {
|
|
234
|
-
iframe: {
|
|
235
|
-
/**
|
|
236
|
-
* Add an iframe
|
|
237
|
-
*/
|
|
238
|
-
setIframe: (options: {
|
|
239
|
-
src: string;
|
|
240
|
-
service: string;
|
|
241
|
-
}) => ReturnType;
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
247
247
|
declare module '@tiptap/core' {
|
|
248
248
|
interface Commands<ReturnType> {
|
|
249
249
|
imageGifUpload: {
|
package/lib/Image.d.ts
CHANGED
|
@@ -144,9 +144,11 @@ declare module '@tiptap/core' {
|
|
|
144
144
|
|
|
145
145
|
declare module '@tiptap/core' {
|
|
146
146
|
interface Commands<ReturnType> {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
147
|
+
emoji: {
|
|
148
|
+
setEmoji: (emoji: {
|
|
149
|
+
name: string;
|
|
150
|
+
emoji: string;
|
|
151
|
+
}) => ReturnType;
|
|
150
152
|
};
|
|
151
153
|
}
|
|
152
154
|
}
|
|
@@ -154,8 +156,9 @@ declare module '@tiptap/core' {
|
|
|
154
156
|
|
|
155
157
|
declare module '@tiptap/core' {
|
|
156
158
|
interface Commands<ReturnType> {
|
|
157
|
-
|
|
158
|
-
|
|
159
|
+
drawer: {
|
|
160
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
161
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
159
162
|
};
|
|
160
163
|
}
|
|
161
164
|
}
|
|
@@ -163,11 +166,8 @@ declare module '@tiptap/core' {
|
|
|
163
166
|
|
|
164
167
|
declare module '@tiptap/core' {
|
|
165
168
|
interface Commands<ReturnType> {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
name: string;
|
|
169
|
-
emoji: string;
|
|
170
|
-
}) => ReturnType;
|
|
169
|
+
excalidraw: {
|
|
170
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
171
171
|
};
|
|
172
172
|
}
|
|
173
173
|
}
|
|
@@ -209,6 +209,21 @@ declare module '@tiptap/core' {
|
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
|
|
212
|
+
declare module '@tiptap/core' {
|
|
213
|
+
interface Commands<ReturnType> {
|
|
214
|
+
iframe: {
|
|
215
|
+
/**
|
|
216
|
+
* Add an iframe
|
|
217
|
+
*/
|
|
218
|
+
setIframe: (options: {
|
|
219
|
+
src: string;
|
|
220
|
+
service: string;
|
|
221
|
+
}) => ReturnType;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
|
|
212
227
|
declare module '@tiptap/core' {
|
|
213
228
|
interface Commands<ReturnType> {
|
|
214
229
|
imageUpload: {
|
|
@@ -229,21 +244,6 @@ declare module '@tiptap/core' {
|
|
|
229
244
|
}
|
|
230
245
|
|
|
231
246
|
|
|
232
|
-
declare module '@tiptap/core' {
|
|
233
|
-
interface Commands<ReturnType> {
|
|
234
|
-
iframe: {
|
|
235
|
-
/**
|
|
236
|
-
* Add an iframe
|
|
237
|
-
*/
|
|
238
|
-
setIframe: (options: {
|
|
239
|
-
src: string;
|
|
240
|
-
service: string;
|
|
241
|
-
}) => ReturnType;
|
|
242
|
-
};
|
|
243
|
-
}
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
|
|
247
247
|
declare module '@tiptap/core' {
|
|
248
248
|
interface Commands<ReturnType> {
|
|
249
249
|
imageGifUpload: {
|
package/lib/Image.js
CHANGED
package/lib/ImageGif.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index-CSvnpArE.cjs");const e=require("./RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./index-CSvnpArE.cjs");const e=require("./RichTextEditor-B7GWBCUZ.cjs");require("./dom-dataset-Cuy-pIfj.cjs");exports.ImageGif=e.ImageGif;exports.default=e.ImageGif;
|
package/lib/ImageGif.d.cts
CHANGED
|
@@ -59,9 +59,11 @@ declare module '@tiptap/core' {
|
|
|
59
59
|
|
|
60
60
|
declare module '@tiptap/core' {
|
|
61
61
|
interface Commands<ReturnType> {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
emoji: {
|
|
63
|
+
setEmoji: (emoji: {
|
|
64
|
+
name: string;
|
|
65
|
+
emoji: string;
|
|
66
|
+
}) => ReturnType;
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
}
|
|
@@ -69,8 +71,9 @@ declare module '@tiptap/core' {
|
|
|
69
71
|
|
|
70
72
|
declare module '@tiptap/core' {
|
|
71
73
|
interface Commands<ReturnType> {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
drawer: {
|
|
75
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
76
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
74
77
|
};
|
|
75
78
|
}
|
|
76
79
|
}
|
|
@@ -78,11 +81,8 @@ declare module '@tiptap/core' {
|
|
|
78
81
|
|
|
79
82
|
declare module '@tiptap/core' {
|
|
80
83
|
interface Commands<ReturnType> {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
name: string;
|
|
84
|
-
emoji: string;
|
|
85
|
-
}) => ReturnType;
|
|
84
|
+
excalidraw: {
|
|
85
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -124,6 +124,21 @@ declare module '@tiptap/core' {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
|
|
127
|
+
declare module '@tiptap/core' {
|
|
128
|
+
interface Commands<ReturnType> {
|
|
129
|
+
iframe: {
|
|
130
|
+
/**
|
|
131
|
+
* Add an iframe
|
|
132
|
+
*/
|
|
133
|
+
setIframe: (options: {
|
|
134
|
+
src: string;
|
|
135
|
+
service: string;
|
|
136
|
+
}) => ReturnType;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
127
142
|
declare module '@tiptap/core' {
|
|
128
143
|
interface Commands<ReturnType> {
|
|
129
144
|
imageUpload: {
|
|
@@ -144,21 +159,6 @@ declare module '@tiptap/core' {
|
|
|
144
159
|
}
|
|
145
160
|
|
|
146
161
|
|
|
147
|
-
declare module '@tiptap/core' {
|
|
148
|
-
interface Commands<ReturnType> {
|
|
149
|
-
iframe: {
|
|
150
|
-
/**
|
|
151
|
-
* Add an iframe
|
|
152
|
-
*/
|
|
153
|
-
setIframe: (options: {
|
|
154
|
-
src: string;
|
|
155
|
-
service: string;
|
|
156
|
-
}) => ReturnType;
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
162
|
declare module '@tiptap/core' {
|
|
163
163
|
interface Commands<ReturnType> {
|
|
164
164
|
imageGifUpload: {
|
package/lib/ImageGif.d.ts
CHANGED
|
@@ -59,9 +59,11 @@ declare module '@tiptap/core' {
|
|
|
59
59
|
|
|
60
60
|
declare module '@tiptap/core' {
|
|
61
61
|
interface Commands<ReturnType> {
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
emoji: {
|
|
63
|
+
setEmoji: (emoji: {
|
|
64
|
+
name: string;
|
|
65
|
+
emoji: string;
|
|
66
|
+
}) => ReturnType;
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
}
|
|
@@ -69,8 +71,9 @@ declare module '@tiptap/core' {
|
|
|
69
71
|
|
|
70
72
|
declare module '@tiptap/core' {
|
|
71
73
|
interface Commands<ReturnType> {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
+
drawer: {
|
|
75
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
76
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
74
77
|
};
|
|
75
78
|
}
|
|
76
79
|
}
|
|
@@ -78,11 +81,8 @@ declare module '@tiptap/core' {
|
|
|
78
81
|
|
|
79
82
|
declare module '@tiptap/core' {
|
|
80
83
|
interface Commands<ReturnType> {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
name: string;
|
|
84
|
-
emoji: string;
|
|
85
|
-
}) => ReturnType;
|
|
84
|
+
excalidraw: {
|
|
85
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
86
86
|
};
|
|
87
87
|
}
|
|
88
88
|
}
|
|
@@ -124,6 +124,21 @@ declare module '@tiptap/core' {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
|
|
127
|
+
declare module '@tiptap/core' {
|
|
128
|
+
interface Commands<ReturnType> {
|
|
129
|
+
iframe: {
|
|
130
|
+
/**
|
|
131
|
+
* Add an iframe
|
|
132
|
+
*/
|
|
133
|
+
setIframe: (options: {
|
|
134
|
+
src: string;
|
|
135
|
+
service: string;
|
|
136
|
+
}) => ReturnType;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
|
|
127
142
|
declare module '@tiptap/core' {
|
|
128
143
|
interface Commands<ReturnType> {
|
|
129
144
|
imageUpload: {
|
|
@@ -144,21 +159,6 @@ declare module '@tiptap/core' {
|
|
|
144
159
|
}
|
|
145
160
|
|
|
146
161
|
|
|
147
|
-
declare module '@tiptap/core' {
|
|
148
|
-
interface Commands<ReturnType> {
|
|
149
|
-
iframe: {
|
|
150
|
-
/**
|
|
151
|
-
* Add an iframe
|
|
152
|
-
*/
|
|
153
|
-
setIframe: (options: {
|
|
154
|
-
src: string;
|
|
155
|
-
service: string;
|
|
156
|
-
}) => ReturnType;
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
162
|
declare module '@tiptap/core' {
|
|
163
163
|
interface Commands<ReturnType> {
|
|
164
164
|
imageGifUpload: {
|
package/lib/ImageGif.js
CHANGED
package/lib/ImportWord.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ws=require("./index-CSvnpArE.cjs"),br=require("react/jsx-runtime"),ya=require("react"),Pe=require("./RichTextEditor-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const ws=require("./index-CSvnpArE.cjs"),br=require("react/jsx-runtime"),ya=require("react"),Pe=require("./RichTextEditor-B7GWBCUZ.cjs"),Es=require("./index-jEB3jXoa.cjs");var je={},Ai="1.13.7",Da=typeof self=="object"&&self.self===self&&self||typeof global=="object"&&global.global===global&&global||Function("return this")()||{},Ht=Array.prototype,Ci=Object.prototype,va=typeof Symbol<"u"?Symbol.prototype:null,As=Ht.push,rt=Ht.slice,Kn=Ci.toString,Cs=Ci.hasOwnProperty,qc=typeof ArrayBuffer<"u",Fs=typeof DataView<"u",Ss=Array.isArray,xa=Object.keys,_a=Object.create,Ua=qc&&ArrayBuffer.isView,Bs=isNaN,ks=isFinite,Pc=!{toString:null}.propertyIsEnumerable("toString"),Ta=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Ws=Math.pow(2,53)-1;function Oe(e,n){return n=n==null?e.length-1:+n,function(){for(var t=Math.max(arguments.length-n,0),i=Array(t),c=0;c<t;c++)i[c]=arguments[c+n];switch(n){case 0:return e.call(this,i);case 1:return e.call(this,arguments[0],i);case 2:return e.call(this,arguments[0],arguments[1],i)}var r=Array(n+1);for(c=0;c<n;c++)r[c]=arguments[c];return r[n]=i,e.apply(this,r)}}function ln(e){var n=typeof e;return n==="function"||n==="object"&&!!e}function zc(e){return e===null}function Fi(e){return e===void 0}function Si(e){return e===!0||e===!1||Kn.call(e)==="[object Boolean]"}function jc(e){return!!(e&&e.nodeType===1)}function Ne(e){var n="[object "+e+"]";return function(t){return Kn.call(t)===n}}const Gt=Ne("String"),Bi=Ne("Number"),Xc=Ne("Date"),Vc=Ne("RegExp"),Hc=Ne("Error"),ki=Ne("Symbol"),Wi=Ne("ArrayBuffer");var Gc=Ne("Function"),Rs=Da.document&&Da.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof Rs!="function"&&(Gc=function(e){return typeof e=="function"||!1});const Re=Gc,Zc=Ne("Object");var $c=Fs&&(!/\[native code\]/.test(String(DataView))||Zc(new DataView(new ArrayBuffer(8)))),Ri=typeof Map<"u"&&Zc(new Map),Ns=Ne("DataView");function Os(e){return e!=null&&Re(e.getInt8)&&Wi(e.buffer)}const Qn=$c?Os:Ns,fn=Ss||Ne("Array");function hn(e,n){return e!=null&&Cs.call(e,n)}var Ti=Ne("Arguments");(function(){Ti(arguments)||(Ti=function(e){return hn(e,"callee")})})();const Zt=Ti;function Yc(e){return!ki(e)&&ks(e)&&!isNaN(parseFloat(e))}function Ni(e){return Bi(e)&&Bs(e)}function Oi(e){return function(){return e}}function Kc(e){return function(n){var t=e(n);return typeof t=="number"&&t>=0&&t<=Ws}}function Qc(e){return function(n){return n==null?void 0:n[e]}}const Pt=Qc("byteLength"),Is=Kc(Pt);var Ls=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Ms(e){return Ua?Ua(e)&&!Qn(e):Is(e)&&Ls.test(Kn.call(e))}const Ii=qc?Ms:Oi(!1),Le=Qc("length");function qs(e){for(var n={},t=e.length,i=0;i<t;++i)n[e[i]]=!0;return{contains:function(c){return n[c]===!0},push:function(c){return n[c]=!0,e.push(c)}}}function Jc(e,n){n=qs(n);var t=Ta.length,i=e.constructor,c=Re(i)&&i.prototype||Ci,r="constructor";for(hn(e,r)&&!n.contains(r)&&n.push(r);t--;)r=Ta[t],r in e&&e[r]!==c[r]&&!n.contains(r)&&n.push(r)}function Be(e){if(!ln(e))return[];if(xa)return xa(e);var n=[];for(var t in e)hn(e,t)&&n.push(t);return Pc&&Jc(e,n),n}function eu(e){if(e==null)return!0;var n=Le(e);return typeof n=="number"&&(fn(e)||Gt(e)||Zt(e))?n===0:Le(Be(e))===0}function Li(e,n){var t=Be(n),i=t.length;if(e==null)return!i;for(var c=Object(e),r=0;r<i;r++){var a=t[r];if(n[a]!==c[a]||!(a in c))return!1}return!0}function we(e){if(e instanceof we)return e;if(!(this instanceof we))return new we(e);this._wrapped=e}we.VERSION=Ai;we.prototype.value=function(){return this._wrapped};we.prototype.valueOf=we.prototype.toJSON=we.prototype.value;we.prototype.toString=function(){return String(this._wrapped)};function wa(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,Pt(e))}var Ea="[object DataView]";function wi(e,n,t,i){if(e===n)return e!==0||1/e===1/n;if(e==null||n==null)return!1;if(e!==e)return n!==n;var c=typeof e;return c!=="function"&&c!=="object"&&typeof n!="object"?!1:nu(e,n,t,i)}function nu(e,n,t,i){e instanceof we&&(e=e._wrapped),n instanceof we&&(n=n._wrapped);var c=Kn.call(e);if(c!==Kn.call(n))return!1;if($c&&c=="[object Object]"&&Qn(e)){if(!Qn(n))return!1;c=Ea}switch(c){case"[object RegExp]":case"[object String]":return""+e==""+n;case"[object Number]":return+e!=+e?+n!=+n:+e==0?1/+e===1/n:+e==+n;case"[object Date]":case"[object Boolean]":return+e==+n;case"[object Symbol]":return va.valueOf.call(e)===va.valueOf.call(n);case"[object ArrayBuffer]":case Ea:return nu(wa(e),wa(n),t,i)}var r=c==="[object Array]";if(!r&&Ii(e)){var a=Pt(e);if(a!==Pt(n))return!1;if(e.buffer===n.buffer&&e.byteOffset===n.byteOffset)return!0;r=!0}if(!r){if(typeof e!="object"||typeof n!="object")return!1;var o=e.constructor,u=n.constructor;if(o!==u&&!(Re(o)&&o instanceof o&&Re(u)&&u instanceof u)&&"constructor"in e&&"constructor"in n)return!1}t=t||[],i=i||[];for(var l=t.length;l--;)if(t[l]===e)return i[l]===n;if(t.push(e),i.push(n),r){if(l=e.length,l!==n.length)return!1;for(;l--;)if(!wi(e[l],n[l],t,i))return!1}else{var b=Be(e),m;if(l=b.length,Be(n).length!==l)return!1;for(;l--;)if(m=b[l],!(hn(n,m)&&wi(e[m],n[m],t,i)))return!1}return t.pop(),i.pop(),!0}function tu(e,n){return wi(e,n)}function Ln(e){if(!ln(e))return[];var n=[];for(var t in e)n.push(t);return Pc&&Jc(e,n),n}function Mi(e){var n=Le(e);return function(t){if(t==null)return!1;var i=Ln(t);if(Le(i))return!1;for(var c=0;c<n;c++)if(!Re(t[e[c]]))return!1;return e!==au||!Re(t[qi])}}var qi="forEach",ru="has",Pi=["clear","delete"],iu=["get",ru,"set"],Ps=Pi.concat(qi,iu),au=Pi.concat(iu),zs=["add"].concat(Pi,qi,ru);const ou=Ri?Mi(Ps):Ne("Map"),cu=Ri?Mi(au):Ne("WeakMap"),uu=Ri?Mi(zs):Ne("Set"),su=Ne("WeakSet");function En(e){for(var n=Be(e),t=n.length,i=Array(t),c=0;c<t;c++)i[c]=e[n[c]];return i}function du(e){for(var n=Be(e),t=n.length,i=Array(t),c=0;c<t;c++)i[c]=[n[c],e[n[c]]];return i}function zi(e){for(var n={},t=Be(e),i=0,c=t.length;i<c;i++)n[e[t[i]]]=t[i];return n}function Jn(e){var n=[];for(var t in e)Re(e[t])&&n.push(t);return n.sort()}function ji(e,n){return function(t){var i=arguments.length;if(n&&(t=Object(t)),i<2||t==null)return t;for(var c=1;c<i;c++)for(var r=arguments[c],a=e(r),o=a.length,u=0;u<o;u++){var l=a[u];(!n||t[l]===void 0)&&(t[l]=r[l])}return t}}const Xi=ji(Ln),On=ji(Be),Vi=ji(Ln,!0);function js(){return function(){}}function lu(e){if(!ln(e))return{};if(_a)return _a(e);var n=js();n.prototype=e;var t=new n;return n.prototype=null,t}function fu(e,n){var t=lu(e);return n&&On(t,n),t}function hu(e){return ln(e)?fn(e)?e.slice():Xi({},e):e}function pu(e,n){return n(e),e}function Hi(e){return fn(e)?e:[e]}we.toPath=Hi;function it(e){return we.toPath(e)}function Gi(e,n){for(var t=n.length,i=0;i<t;i++){if(e==null)return;e=e[n[i]]}return t?e:void 0}function Zi(e,n,t){var i=Gi(e,it(n));return Fi(i)?t:i}function gu(e,n){n=it(n);for(var t=n.length,i=0;i<t;i++){var c=n[i];if(!hn(e,c))return!1;e=e[c]}return!!t}function $t(e){return e}function wn(e){return e=On({},e),function(n){return Li(n,e)}}function Yt(e){return e=it(e),function(n){return Gi(n,e)}}function at(e,n,t){if(n===void 0)return e;switch(t??3){case 1:return function(i){return e.call(n,i)};case 3:return function(i,c,r){return e.call(n,i,c,r)};case 4:return function(i,c,r,a){return e.call(n,i,c,r,a)}}return function(){return e.apply(n,arguments)}}function mu(e,n,t){return e==null?$t:Re(e)?at(e,n,t):ln(e)&&!fn(e)?wn(e):Yt(e)}function Kt(e,n){return mu(e,n,1/0)}we.iteratee=Kt;function Me(e,n,t){return we.iteratee!==Kt?we.iteratee(e,n):mu(e,n,t)}function bu(e,n,t){n=Me(n,t);for(var i=Be(e),c=i.length,r={},a=0;a<c;a++){var o=i[a];r[o]=n(e[o],o,e)}return r}function $i(){}function yu(e){return e==null?$i:function(n){return Zi(e,n)}}function Du(e,n,t){var i=Array(Math.max(0,e));n=at(n,t,1);for(var c=0;c<e;c++)i[c]=n(c);return i}function zt(e,n){return n==null&&(n=e,e=0),e+Math.floor(Math.random()*(n-e+1))}const In=Date.now||function(){return new Date().getTime()};function vu(e){var n=function(r){return e[r]},t="(?:"+Be(e).join("|")+")",i=RegExp(t),c=RegExp(t,"g");return function(r){return r=r==null?"":""+r,i.test(r)?r.replace(c,n):r}}const xu={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},_u=vu(xu),Xs=zi(xu),Uu=vu(Xs),Tu=we.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var yr=/(.)^/,Vs={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},Hs=/\\|'|\r|\n|\u2028|\u2029/g;function Gs(e){return"\\"+Vs[e]}var Zs=/^\s*(\w|\$)+\s*$/;function wu(e,n,t){!n&&t&&(n=t),n=Vi({},n,we.templateSettings);var i=RegExp([(n.escape||yr).source,(n.interpolate||yr).source,(n.evaluate||yr).source].join("|")+"|$","g"),c=0,r="__p+='";e.replace(i,function(l,b,m,g,f){return r+=e.slice(c,f).replace(Hs,Gs),c=f+l.length,b?r+=`'+
|
|
2
2
|
((__t=(`+b+`))==null?'':_.escape(__t))+
|
|
3
3
|
'`:m?r+=`'+
|
|
4
4
|
((__t=(`+m+`))==null?'':__t)+
|
package/lib/ImportWord.d.cts
CHANGED
|
@@ -120,9 +120,11 @@ declare module '@tiptap/core' {
|
|
|
120
120
|
|
|
121
121
|
declare module '@tiptap/core' {
|
|
122
122
|
interface Commands<ReturnType> {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
emoji: {
|
|
124
|
+
setEmoji: (emoji: {
|
|
125
|
+
name: string;
|
|
126
|
+
emoji: string;
|
|
127
|
+
}) => ReturnType;
|
|
126
128
|
};
|
|
127
129
|
}
|
|
128
130
|
}
|
|
@@ -130,8 +132,9 @@ declare module '@tiptap/core' {
|
|
|
130
132
|
|
|
131
133
|
declare module '@tiptap/core' {
|
|
132
134
|
interface Commands<ReturnType> {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
drawer: {
|
|
136
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
137
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
135
138
|
};
|
|
136
139
|
}
|
|
137
140
|
}
|
|
@@ -139,11 +142,8 @@ declare module '@tiptap/core' {
|
|
|
139
142
|
|
|
140
143
|
declare module '@tiptap/core' {
|
|
141
144
|
interface Commands<ReturnType> {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
name: string;
|
|
145
|
-
emoji: string;
|
|
146
|
-
}) => ReturnType;
|
|
145
|
+
excalidraw: {
|
|
146
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -185,6 +185,21 @@ declare module '@tiptap/core' {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
|
|
188
|
+
declare module '@tiptap/core' {
|
|
189
|
+
interface Commands<ReturnType> {
|
|
190
|
+
iframe: {
|
|
191
|
+
/**
|
|
192
|
+
* Add an iframe
|
|
193
|
+
*/
|
|
194
|
+
setIframe: (options: {
|
|
195
|
+
src: string;
|
|
196
|
+
service: string;
|
|
197
|
+
}) => ReturnType;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
188
203
|
declare module '@tiptap/core' {
|
|
189
204
|
interface Commands<ReturnType> {
|
|
190
205
|
imageUpload: {
|
|
@@ -205,21 +220,6 @@ declare module '@tiptap/core' {
|
|
|
205
220
|
}
|
|
206
221
|
|
|
207
222
|
|
|
208
|
-
declare module '@tiptap/core' {
|
|
209
|
-
interface Commands<ReturnType> {
|
|
210
|
-
iframe: {
|
|
211
|
-
/**
|
|
212
|
-
* Add an iframe
|
|
213
|
-
*/
|
|
214
|
-
setIframe: (options: {
|
|
215
|
-
src: string;
|
|
216
|
-
service: string;
|
|
217
|
-
}) => ReturnType;
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
225
|
imageGifUpload: {
|
package/lib/ImportWord.d.ts
CHANGED
|
@@ -120,9 +120,11 @@ declare module '@tiptap/core' {
|
|
|
120
120
|
|
|
121
121
|
declare module '@tiptap/core' {
|
|
122
122
|
interface Commands<ReturnType> {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
emoji: {
|
|
124
|
+
setEmoji: (emoji: {
|
|
125
|
+
name: string;
|
|
126
|
+
emoji: string;
|
|
127
|
+
}) => ReturnType;
|
|
126
128
|
};
|
|
127
129
|
}
|
|
128
130
|
}
|
|
@@ -130,8 +132,9 @@ declare module '@tiptap/core' {
|
|
|
130
132
|
|
|
131
133
|
declare module '@tiptap/core' {
|
|
132
134
|
interface Commands<ReturnType> {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
+
drawer: {
|
|
136
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
137
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
135
138
|
};
|
|
136
139
|
}
|
|
137
140
|
}
|
|
@@ -139,11 +142,8 @@ declare module '@tiptap/core' {
|
|
|
139
142
|
|
|
140
143
|
declare module '@tiptap/core' {
|
|
141
144
|
interface Commands<ReturnType> {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
name: string;
|
|
145
|
-
emoji: string;
|
|
146
|
-
}) => ReturnType;
|
|
145
|
+
excalidraw: {
|
|
146
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
}
|
|
@@ -185,6 +185,21 @@ declare module '@tiptap/core' {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
|
|
188
|
+
declare module '@tiptap/core' {
|
|
189
|
+
interface Commands<ReturnType> {
|
|
190
|
+
iframe: {
|
|
191
|
+
/**
|
|
192
|
+
* Add an iframe
|
|
193
|
+
*/
|
|
194
|
+
setIframe: (options: {
|
|
195
|
+
src: string;
|
|
196
|
+
service: string;
|
|
197
|
+
}) => ReturnType;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
|
|
188
203
|
declare module '@tiptap/core' {
|
|
189
204
|
interface Commands<ReturnType> {
|
|
190
205
|
imageUpload: {
|
|
@@ -205,21 +220,6 @@ declare module '@tiptap/core' {
|
|
|
205
220
|
}
|
|
206
221
|
|
|
207
222
|
|
|
208
|
-
declare module '@tiptap/core' {
|
|
209
|
-
interface Commands<ReturnType> {
|
|
210
|
-
iframe: {
|
|
211
|
-
/**
|
|
212
|
-
* Add an iframe
|
|
213
|
-
*/
|
|
214
|
-
setIframe: (options: {
|
|
215
|
-
src: string;
|
|
216
|
-
service: string;
|
|
217
|
-
}) => ReturnType;
|
|
218
|
-
};
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
|
|
223
223
|
declare module '@tiptap/core' {
|
|
224
224
|
interface Commands<ReturnType> {
|
|
225
225
|
imageGifUpload: {
|