reactjs-tiptap-editor 0.4.0 → 0.4.1
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 +46 -46
- package/lib/Attachment.d.ts +46 -46
- package/lib/BaseKit.d.cts +46 -46
- package/lib/BaseKit.d.ts +46 -46
- package/lib/Blockquote.d.cts +46 -46
- package/lib/Blockquote.d.ts +46 -46
- package/lib/Bold.d.cts +46 -46
- package/lib/Bold.d.ts +46 -46
- package/lib/BulletList.d.cts +46 -46
- package/lib/BulletList.d.ts +46 -46
- package/lib/Clear.d.cts +46 -46
- package/lib/Clear.d.ts +46 -46
- package/lib/Code.d.cts +46 -46
- package/lib/Code.d.ts +46 -46
- package/lib/CodeBlock.d.cts +46 -46
- package/lib/CodeBlock.d.ts +46 -46
- package/lib/CodeView.d.cts +46 -46
- package/lib/CodeView.d.ts +46 -46
- package/lib/Color.d.cts +46 -46
- package/lib/Color.d.ts +46 -46
- package/lib/Document.d.cts +46 -46
- package/lib/Document.d.ts +46 -46
- package/lib/Drawer.d.cts +46 -46
- package/lib/Drawer.d.ts +46 -46
- package/lib/Emoji.cjs +1 -1
- package/lib/Emoji.d.cts +46 -46
- package/lib/Emoji.d.ts +46 -46
- package/lib/Emoji.js +2 -2
- package/lib/Excalidraw.d.cts +46 -46
- package/lib/Excalidraw.d.ts +46 -46
- package/lib/ExportPdf.d.cts +46 -46
- package/lib/ExportPdf.d.ts +46 -46
- package/lib/ExportWord.d.cts +46 -46
- package/lib/ExportWord.d.ts +46 -46
- package/lib/FontFamily.d.cts +46 -46
- package/lib/FontFamily.d.ts +46 -46
- package/lib/FontSize.d.cts +46 -46
- package/lib/FontSize.d.ts +46 -46
- package/lib/FormatPainter.d.cts +46 -46
- package/lib/FormatPainter.d.ts +46 -46
- package/lib/Heading.d.cts +46 -46
- package/lib/Heading.d.ts +46 -46
- package/lib/Highlight.d.cts +46 -46
- package/lib/Highlight.d.ts +46 -46
- package/lib/History.d.cts +46 -46
- package/lib/History.d.ts +46 -46
- package/lib/HorizontalRule.d.cts +46 -46
- package/lib/HorizontalRule.d.ts +46 -46
- package/lib/Iframe.d.cts +46 -46
- package/lib/Iframe.d.ts +46 -46
- package/lib/Image.d.cts +46 -46
- package/lib/Image.d.ts +46 -46
- package/lib/ImageGif.d.cts +46 -46
- package/lib/ImageGif.d.ts +46 -46
- package/lib/ImportWord.d.cts +46 -46
- package/lib/ImportWord.d.ts +46 -46
- package/lib/Indent.d.cts +46 -46
- package/lib/Indent.d.ts +46 -46
- package/lib/Italic.d.cts +46 -46
- package/lib/Italic.d.ts +46 -46
- package/lib/Katex.d.cts +46 -46
- package/lib/Katex.d.ts +46 -46
- package/lib/LineHeight.d.cts +46 -46
- package/lib/LineHeight.d.ts +46 -46
- package/lib/Link.d.cts +46 -46
- package/lib/Link.d.ts +46 -46
- package/lib/ListItem.d.cts +46 -46
- package/lib/ListItem.d.ts +46 -46
- package/lib/Mention.d.cts +46 -46
- package/lib/Mention.d.ts +46 -46
- package/lib/Mermaid.d.cts +46 -46
- package/lib/Mermaid.d.ts +46 -46
- package/lib/MoreMark.d.cts +46 -46
- package/lib/MoreMark.d.ts +46 -46
- package/lib/MultiColumn.d.cts +46 -46
- package/lib/MultiColumn.d.ts +46 -46
- package/lib/OrderedList.d.cts +46 -46
- package/lib/OrderedList.d.ts +46 -46
- package/lib/SearchAndReplace.d.cts +46 -46
- package/lib/SearchAndReplace.d.ts +46 -46
- package/lib/Selection.d.cts +46 -46
- package/lib/Selection.d.ts +46 -46
- package/lib/SlashCommand.cjs +1 -1
- package/lib/SlashCommand.d.cts +46 -46
- package/lib/SlashCommand.d.ts +46 -46
- package/lib/SlashCommand.js +2 -2
- package/lib/Strike.d.cts +46 -46
- package/lib/Strike.d.ts +46 -46
- package/lib/SubAndSuperScript.d.cts +46 -46
- package/lib/SubAndSuperScript.d.ts +46 -46
- package/lib/Table.d.cts +46 -46
- package/lib/Table.d.ts +46 -46
- package/lib/TableOfContent.d.cts +46 -46
- package/lib/TableOfContent.d.ts +46 -46
- package/lib/TaskList.d.cts +46 -46
- package/lib/TaskList.d.ts +46 -46
- package/lib/TextAlign.d.cts +46 -46
- package/lib/TextAlign.d.ts +46 -46
- package/lib/TextBubble.d.cts +46 -46
- package/lib/TextBubble.d.ts +46 -46
- package/lib/TextDirection.d.cts +46 -46
- package/lib/TextDirection.d.ts +46 -46
- package/lib/TextUnderline.d.cts +46 -46
- package/lib/TextUnderline.d.ts +46 -46
- package/lib/TrailingNode.d.cts +46 -46
- package/lib/TrailingNode.d.ts +46 -46
- package/lib/Twitter.d.cts +46 -46
- package/lib/Twitter.d.ts +46 -46
- package/lib/Video.d.cts +46 -46
- package/lib/Video.d.ts +46 -46
- package/lib/bubble-extra.d.cts +46 -46
- package/lib/bubble-extra.d.ts +46 -46
- package/lib/index.d.cts +46 -46
- package/lib/index.d.ts +46 -46
- package/lib/locale-bundle.d.cts +46 -46
- package/lib/locale-bundle.d.ts +46 -46
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/ExportPdf.d.cts
CHANGED
|
@@ -122,8 +122,9 @@ declare module '@tiptap/core' {
|
|
|
122
122
|
|
|
123
123
|
declare module '@tiptap/core' {
|
|
124
124
|
interface Commands<ReturnType> {
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
drawer: {
|
|
126
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
127
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
127
128
|
};
|
|
128
129
|
}
|
|
129
130
|
}
|
|
@@ -131,9 +132,8 @@ declare module '@tiptap/core' {
|
|
|
131
132
|
|
|
132
133
|
declare module '@tiptap/core' {
|
|
133
134
|
interface Commands<ReturnType> {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
135
|
+
excalidraw: {
|
|
136
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -157,15 +157,6 @@ declare module '@tiptap/core' {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
declare module '@tiptap/core' {
|
|
161
|
-
interface Commands<ReturnType> {
|
|
162
|
-
painter: {
|
|
163
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
160
|
declare module '@tiptap/core' {
|
|
170
161
|
interface Commands<ReturnType> {
|
|
171
162
|
fontSize: {
|
|
@@ -184,6 +175,15 @@ declare module '@tiptap/core' {
|
|
|
184
175
|
}
|
|
185
176
|
|
|
186
177
|
|
|
178
|
+
declare module '@tiptap/core' {
|
|
179
|
+
interface Commands<ReturnType> {
|
|
180
|
+
painter: {
|
|
181
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
187
|
declare module '@tiptap/core' {
|
|
188
188
|
interface Commands<ReturnType> {
|
|
189
189
|
iframe: {
|
|
@@ -219,6 +219,22 @@ declare module '@tiptap/core' {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
declare module '@tiptap/core' {
|
|
223
|
+
interface Commands<ReturnType> {
|
|
224
|
+
indent: {
|
|
225
|
+
/**
|
|
226
|
+
* Set the indent attribute
|
|
227
|
+
*/
|
|
228
|
+
indent: () => ReturnType;
|
|
229
|
+
/**
|
|
230
|
+
* Set the outdent attribute
|
|
231
|
+
*/
|
|
232
|
+
outdent: () => ReturnType;
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
222
238
|
declare module '@tiptap/core' {
|
|
223
239
|
interface Commands<ReturnType> {
|
|
224
240
|
imageGifUpload: {
|
|
@@ -250,15 +266,9 @@ declare module '@tiptap/core' {
|
|
|
250
266
|
|
|
251
267
|
declare module '@tiptap/core' {
|
|
252
268
|
interface Commands<ReturnType> {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
*/
|
|
257
|
-
indent: () => ReturnType;
|
|
258
|
-
/**
|
|
259
|
-
* Set the outdent attribute
|
|
260
|
-
*/
|
|
261
|
-
outdent: () => ReturnType;
|
|
269
|
+
lineHeight: {
|
|
270
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
271
|
+
unsetLineHeight: () => ReturnType;
|
|
262
272
|
};
|
|
263
273
|
}
|
|
264
274
|
}
|
|
@@ -266,9 +276,9 @@ declare module '@tiptap/core' {
|
|
|
266
276
|
|
|
267
277
|
declare module '@tiptap/core' {
|
|
268
278
|
interface Commands<ReturnType> {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
279
|
+
mermaid: {
|
|
280
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
281
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
272
282
|
};
|
|
273
283
|
}
|
|
274
284
|
}
|
|
@@ -288,26 +298,6 @@ declare module '@tiptap/core' {
|
|
|
288
298
|
}
|
|
289
299
|
|
|
290
300
|
|
|
291
|
-
declare module '@tiptap/core' {
|
|
292
|
-
interface Commands<ReturnType> {
|
|
293
|
-
mermaid: {
|
|
294
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
295
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
declare module '@tiptap/core' {
|
|
302
|
-
interface Commands<ReturnType> {
|
|
303
|
-
tableOfContents: {
|
|
304
|
-
setTableOfContents: () => ReturnType;
|
|
305
|
-
removeTableOfContents: () => ReturnType;
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
301
|
declare module '@tiptap/core' {
|
|
312
302
|
interface Commands<ReturnType> {
|
|
313
303
|
search: {
|
|
@@ -331,6 +321,16 @@ declare module '@tiptap/core' {
|
|
|
331
321
|
}
|
|
332
322
|
|
|
333
323
|
|
|
324
|
+
declare module '@tiptap/core' {
|
|
325
|
+
interface Commands<ReturnType> {
|
|
326
|
+
tableOfContents: {
|
|
327
|
+
setTableOfContents: () => ReturnType;
|
|
328
|
+
removeTableOfContents: () => ReturnType;
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
|
|
334
334
|
declare module '@tiptap/core' {
|
|
335
335
|
interface Commands<ReturnType> {
|
|
336
336
|
twitter: {
|
package/lib/ExportPdf.d.ts
CHANGED
|
@@ -122,8 +122,9 @@ declare module '@tiptap/core' {
|
|
|
122
122
|
|
|
123
123
|
declare module '@tiptap/core' {
|
|
124
124
|
interface Commands<ReturnType> {
|
|
125
|
-
|
|
126
|
-
|
|
125
|
+
drawer: {
|
|
126
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
127
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
127
128
|
};
|
|
128
129
|
}
|
|
129
130
|
}
|
|
@@ -131,9 +132,8 @@ declare module '@tiptap/core' {
|
|
|
131
132
|
|
|
132
133
|
declare module '@tiptap/core' {
|
|
133
134
|
interface Commands<ReturnType> {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
135
|
+
excalidraw: {
|
|
136
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
137
137
|
};
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -157,15 +157,6 @@ declare module '@tiptap/core' {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
|
|
160
|
-
declare module '@tiptap/core' {
|
|
161
|
-
interface Commands<ReturnType> {
|
|
162
|
-
painter: {
|
|
163
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
164
|
-
};
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
160
|
declare module '@tiptap/core' {
|
|
170
161
|
interface Commands<ReturnType> {
|
|
171
162
|
fontSize: {
|
|
@@ -184,6 +175,15 @@ declare module '@tiptap/core' {
|
|
|
184
175
|
}
|
|
185
176
|
|
|
186
177
|
|
|
178
|
+
declare module '@tiptap/core' {
|
|
179
|
+
interface Commands<ReturnType> {
|
|
180
|
+
painter: {
|
|
181
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
|
|
187
187
|
declare module '@tiptap/core' {
|
|
188
188
|
interface Commands<ReturnType> {
|
|
189
189
|
iframe: {
|
|
@@ -219,6 +219,22 @@ declare module '@tiptap/core' {
|
|
|
219
219
|
}
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
declare module '@tiptap/core' {
|
|
223
|
+
interface Commands<ReturnType> {
|
|
224
|
+
indent: {
|
|
225
|
+
/**
|
|
226
|
+
* Set the indent attribute
|
|
227
|
+
*/
|
|
228
|
+
indent: () => ReturnType;
|
|
229
|
+
/**
|
|
230
|
+
* Set the outdent attribute
|
|
231
|
+
*/
|
|
232
|
+
outdent: () => ReturnType;
|
|
233
|
+
};
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
|
|
222
238
|
declare module '@tiptap/core' {
|
|
223
239
|
interface Commands<ReturnType> {
|
|
224
240
|
imageGifUpload: {
|
|
@@ -250,15 +266,9 @@ declare module '@tiptap/core' {
|
|
|
250
266
|
|
|
251
267
|
declare module '@tiptap/core' {
|
|
252
268
|
interface Commands<ReturnType> {
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
*/
|
|
257
|
-
indent: () => ReturnType;
|
|
258
|
-
/**
|
|
259
|
-
* Set the outdent attribute
|
|
260
|
-
*/
|
|
261
|
-
outdent: () => ReturnType;
|
|
269
|
+
lineHeight: {
|
|
270
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
271
|
+
unsetLineHeight: () => ReturnType;
|
|
262
272
|
};
|
|
263
273
|
}
|
|
264
274
|
}
|
|
@@ -266,9 +276,9 @@ declare module '@tiptap/core' {
|
|
|
266
276
|
|
|
267
277
|
declare module '@tiptap/core' {
|
|
268
278
|
interface Commands<ReturnType> {
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
279
|
+
mermaid: {
|
|
280
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
281
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
272
282
|
};
|
|
273
283
|
}
|
|
274
284
|
}
|
|
@@ -288,26 +298,6 @@ declare module '@tiptap/core' {
|
|
|
288
298
|
}
|
|
289
299
|
|
|
290
300
|
|
|
291
|
-
declare module '@tiptap/core' {
|
|
292
|
-
interface Commands<ReturnType> {
|
|
293
|
-
mermaid: {
|
|
294
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
295
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
296
|
-
};
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
declare module '@tiptap/core' {
|
|
302
|
-
interface Commands<ReturnType> {
|
|
303
|
-
tableOfContents: {
|
|
304
|
-
setTableOfContents: () => ReturnType;
|
|
305
|
-
removeTableOfContents: () => ReturnType;
|
|
306
|
-
};
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
|
|
311
301
|
declare module '@tiptap/core' {
|
|
312
302
|
interface Commands<ReturnType> {
|
|
313
303
|
search: {
|
|
@@ -331,6 +321,16 @@ declare module '@tiptap/core' {
|
|
|
331
321
|
}
|
|
332
322
|
|
|
333
323
|
|
|
324
|
+
declare module '@tiptap/core' {
|
|
325
|
+
interface Commands<ReturnType> {
|
|
326
|
+
tableOfContents: {
|
|
327
|
+
setTableOfContents: () => ReturnType;
|
|
328
|
+
removeTableOfContents: () => ReturnType;
|
|
329
|
+
};
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
|
|
334
334
|
declare module '@tiptap/core' {
|
|
335
335
|
interface Commands<ReturnType> {
|
|
336
336
|
twitter: {
|
package/lib/ExportWord.d.cts
CHANGED
|
@@ -110,8 +110,9 @@ declare module '@tiptap/core' {
|
|
|
110
110
|
|
|
111
111
|
declare module '@tiptap/core' {
|
|
112
112
|
interface Commands<ReturnType> {
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
drawer: {
|
|
114
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
115
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
115
116
|
};
|
|
116
117
|
}
|
|
117
118
|
}
|
|
@@ -119,9 +120,8 @@ declare module '@tiptap/core' {
|
|
|
119
120
|
|
|
120
121
|
declare module '@tiptap/core' {
|
|
121
122
|
interface Commands<ReturnType> {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
123
|
+
excalidraw: {
|
|
124
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -145,15 +145,6 @@ declare module '@tiptap/core' {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
declare module '@tiptap/core' {
|
|
149
|
-
interface Commands<ReturnType> {
|
|
150
|
-
painter: {
|
|
151
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
157
148
|
declare module '@tiptap/core' {
|
|
158
149
|
interface Commands<ReturnType> {
|
|
159
150
|
fontSize: {
|
|
@@ -172,6 +163,15 @@ declare module '@tiptap/core' {
|
|
|
172
163
|
}
|
|
173
164
|
|
|
174
165
|
|
|
166
|
+
declare module '@tiptap/core' {
|
|
167
|
+
interface Commands<ReturnType> {
|
|
168
|
+
painter: {
|
|
169
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
175
|
declare module '@tiptap/core' {
|
|
176
176
|
interface Commands<ReturnType> {
|
|
177
177
|
iframe: {
|
|
@@ -207,6 +207,22 @@ declare module '@tiptap/core' {
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
|
|
210
|
+
declare module '@tiptap/core' {
|
|
211
|
+
interface Commands<ReturnType> {
|
|
212
|
+
indent: {
|
|
213
|
+
/**
|
|
214
|
+
* Set the indent attribute
|
|
215
|
+
*/
|
|
216
|
+
indent: () => ReturnType;
|
|
217
|
+
/**
|
|
218
|
+
* Set the outdent attribute
|
|
219
|
+
*/
|
|
220
|
+
outdent: () => ReturnType;
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
210
226
|
declare module '@tiptap/core' {
|
|
211
227
|
interface Commands<ReturnType> {
|
|
212
228
|
imageGifUpload: {
|
|
@@ -238,15 +254,9 @@ declare module '@tiptap/core' {
|
|
|
238
254
|
|
|
239
255
|
declare module '@tiptap/core' {
|
|
240
256
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
*/
|
|
245
|
-
indent: () => ReturnType;
|
|
246
|
-
/**
|
|
247
|
-
* Set the outdent attribute
|
|
248
|
-
*/
|
|
249
|
-
outdent: () => ReturnType;
|
|
257
|
+
lineHeight: {
|
|
258
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
259
|
+
unsetLineHeight: () => ReturnType;
|
|
250
260
|
};
|
|
251
261
|
}
|
|
252
262
|
}
|
|
@@ -254,9 +264,9 @@ declare module '@tiptap/core' {
|
|
|
254
264
|
|
|
255
265
|
declare module '@tiptap/core' {
|
|
256
266
|
interface Commands<ReturnType> {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
267
|
+
mermaid: {
|
|
268
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
269
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
260
270
|
};
|
|
261
271
|
}
|
|
262
272
|
}
|
|
@@ -276,26 +286,6 @@ declare module '@tiptap/core' {
|
|
|
276
286
|
}
|
|
277
287
|
|
|
278
288
|
|
|
279
|
-
declare module '@tiptap/core' {
|
|
280
|
-
interface Commands<ReturnType> {
|
|
281
|
-
mermaid: {
|
|
282
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
283
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
declare module '@tiptap/core' {
|
|
290
|
-
interface Commands<ReturnType> {
|
|
291
|
-
tableOfContents: {
|
|
292
|
-
setTableOfContents: () => ReturnType;
|
|
293
|
-
removeTableOfContents: () => ReturnType;
|
|
294
|
-
};
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
289
|
declare module '@tiptap/core' {
|
|
300
290
|
interface Commands<ReturnType> {
|
|
301
291
|
search: {
|
|
@@ -319,6 +309,16 @@ declare module '@tiptap/core' {
|
|
|
319
309
|
}
|
|
320
310
|
|
|
321
311
|
|
|
312
|
+
declare module '@tiptap/core' {
|
|
313
|
+
interface Commands<ReturnType> {
|
|
314
|
+
tableOfContents: {
|
|
315
|
+
setTableOfContents: () => ReturnType;
|
|
316
|
+
removeTableOfContents: () => ReturnType;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
|
|
322
322
|
declare module '@tiptap/core' {
|
|
323
323
|
interface Commands<ReturnType> {
|
|
324
324
|
twitter: {
|
package/lib/ExportWord.d.ts
CHANGED
|
@@ -110,8 +110,9 @@ declare module '@tiptap/core' {
|
|
|
110
110
|
|
|
111
111
|
declare module '@tiptap/core' {
|
|
112
112
|
interface Commands<ReturnType> {
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
drawer: {
|
|
114
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
115
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
115
116
|
};
|
|
116
117
|
}
|
|
117
118
|
}
|
|
@@ -119,9 +120,8 @@ declare module '@tiptap/core' {
|
|
|
119
120
|
|
|
120
121
|
declare module '@tiptap/core' {
|
|
121
122
|
interface Commands<ReturnType> {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
123
|
+
excalidraw: {
|
|
124
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
127
|
}
|
|
@@ -145,15 +145,6 @@ declare module '@tiptap/core' {
|
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
|
|
148
|
-
declare module '@tiptap/core' {
|
|
149
|
-
interface Commands<ReturnType> {
|
|
150
|
-
painter: {
|
|
151
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
152
|
-
};
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
|
|
157
148
|
declare module '@tiptap/core' {
|
|
158
149
|
interface Commands<ReturnType> {
|
|
159
150
|
fontSize: {
|
|
@@ -172,6 +163,15 @@ declare module '@tiptap/core' {
|
|
|
172
163
|
}
|
|
173
164
|
|
|
174
165
|
|
|
166
|
+
declare module '@tiptap/core' {
|
|
167
|
+
interface Commands<ReturnType> {
|
|
168
|
+
painter: {
|
|
169
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
175
|
declare module '@tiptap/core' {
|
|
176
176
|
interface Commands<ReturnType> {
|
|
177
177
|
iframe: {
|
|
@@ -207,6 +207,22 @@ declare module '@tiptap/core' {
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
|
|
210
|
+
declare module '@tiptap/core' {
|
|
211
|
+
interface Commands<ReturnType> {
|
|
212
|
+
indent: {
|
|
213
|
+
/**
|
|
214
|
+
* Set the indent attribute
|
|
215
|
+
*/
|
|
216
|
+
indent: () => ReturnType;
|
|
217
|
+
/**
|
|
218
|
+
* Set the outdent attribute
|
|
219
|
+
*/
|
|
220
|
+
outdent: () => ReturnType;
|
|
221
|
+
};
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
|
|
210
226
|
declare module '@tiptap/core' {
|
|
211
227
|
interface Commands<ReturnType> {
|
|
212
228
|
imageGifUpload: {
|
|
@@ -238,15 +254,9 @@ declare module '@tiptap/core' {
|
|
|
238
254
|
|
|
239
255
|
declare module '@tiptap/core' {
|
|
240
256
|
interface Commands<ReturnType> {
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
*/
|
|
245
|
-
indent: () => ReturnType;
|
|
246
|
-
/**
|
|
247
|
-
* Set the outdent attribute
|
|
248
|
-
*/
|
|
249
|
-
outdent: () => ReturnType;
|
|
257
|
+
lineHeight: {
|
|
258
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
259
|
+
unsetLineHeight: () => ReturnType;
|
|
250
260
|
};
|
|
251
261
|
}
|
|
252
262
|
}
|
|
@@ -254,9 +264,9 @@ declare module '@tiptap/core' {
|
|
|
254
264
|
|
|
255
265
|
declare module '@tiptap/core' {
|
|
256
266
|
interface Commands<ReturnType> {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
267
|
+
mermaid: {
|
|
268
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
269
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
260
270
|
};
|
|
261
271
|
}
|
|
262
272
|
}
|
|
@@ -276,26 +286,6 @@ declare module '@tiptap/core' {
|
|
|
276
286
|
}
|
|
277
287
|
|
|
278
288
|
|
|
279
|
-
declare module '@tiptap/core' {
|
|
280
|
-
interface Commands<ReturnType> {
|
|
281
|
-
mermaid: {
|
|
282
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
283
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
284
|
-
};
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
declare module '@tiptap/core' {
|
|
290
|
-
interface Commands<ReturnType> {
|
|
291
|
-
tableOfContents: {
|
|
292
|
-
setTableOfContents: () => ReturnType;
|
|
293
|
-
removeTableOfContents: () => ReturnType;
|
|
294
|
-
};
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
|
|
299
289
|
declare module '@tiptap/core' {
|
|
300
290
|
interface Commands<ReturnType> {
|
|
301
291
|
search: {
|
|
@@ -319,6 +309,16 @@ declare module '@tiptap/core' {
|
|
|
319
309
|
}
|
|
320
310
|
|
|
321
311
|
|
|
312
|
+
declare module '@tiptap/core' {
|
|
313
|
+
interface Commands<ReturnType> {
|
|
314
|
+
tableOfContents: {
|
|
315
|
+
setTableOfContents: () => ReturnType;
|
|
316
|
+
removeTableOfContents: () => ReturnType;
|
|
317
|
+
};
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
|
|
322
322
|
declare module '@tiptap/core' {
|
|
323
323
|
interface Commands<ReturnType> {
|
|
324
324
|
twitter: {
|