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
|
@@ -127,8 +127,9 @@ declare module '@tiptap/core' {
|
|
|
127
127
|
|
|
128
128
|
declare module '@tiptap/core' {
|
|
129
129
|
interface Commands<ReturnType> {
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
drawer: {
|
|
131
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
132
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
132
133
|
};
|
|
133
134
|
}
|
|
134
135
|
}
|
|
@@ -136,9 +137,8 @@ declare module '@tiptap/core' {
|
|
|
136
137
|
|
|
137
138
|
declare module '@tiptap/core' {
|
|
138
139
|
interface Commands<ReturnType> {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
140
|
+
excalidraw: {
|
|
141
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
}
|
|
@@ -162,15 +162,6 @@ declare module '@tiptap/core' {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
declare module '@tiptap/core' {
|
|
166
|
-
interface Commands<ReturnType> {
|
|
167
|
-
painter: {
|
|
168
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
165
|
declare module '@tiptap/core' {
|
|
175
166
|
interface Commands<ReturnType> {
|
|
176
167
|
fontSize: {
|
|
@@ -189,6 +180,15 @@ declare module '@tiptap/core' {
|
|
|
189
180
|
}
|
|
190
181
|
|
|
191
182
|
|
|
183
|
+
declare module '@tiptap/core' {
|
|
184
|
+
interface Commands<ReturnType> {
|
|
185
|
+
painter: {
|
|
186
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
192
|
declare module '@tiptap/core' {
|
|
193
193
|
interface Commands<ReturnType> {
|
|
194
194
|
iframe: {
|
|
@@ -224,6 +224,22 @@ declare module '@tiptap/core' {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
227
|
+
declare module '@tiptap/core' {
|
|
228
|
+
interface Commands<ReturnType> {
|
|
229
|
+
indent: {
|
|
230
|
+
/**
|
|
231
|
+
* Set the indent attribute
|
|
232
|
+
*/
|
|
233
|
+
indent: () => ReturnType;
|
|
234
|
+
/**
|
|
235
|
+
* Set the outdent attribute
|
|
236
|
+
*/
|
|
237
|
+
outdent: () => ReturnType;
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
227
243
|
declare module '@tiptap/core' {
|
|
228
244
|
interface Commands<ReturnType> {
|
|
229
245
|
imageGifUpload: {
|
|
@@ -255,15 +271,9 @@ declare module '@tiptap/core' {
|
|
|
255
271
|
|
|
256
272
|
declare module '@tiptap/core' {
|
|
257
273
|
interface Commands<ReturnType> {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
*/
|
|
262
|
-
indent: () => ReturnType;
|
|
263
|
-
/**
|
|
264
|
-
* Set the outdent attribute
|
|
265
|
-
*/
|
|
266
|
-
outdent: () => ReturnType;
|
|
274
|
+
lineHeight: {
|
|
275
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
276
|
+
unsetLineHeight: () => ReturnType;
|
|
267
277
|
};
|
|
268
278
|
}
|
|
269
279
|
}
|
|
@@ -271,9 +281,9 @@ declare module '@tiptap/core' {
|
|
|
271
281
|
|
|
272
282
|
declare module '@tiptap/core' {
|
|
273
283
|
interface Commands<ReturnType> {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
284
|
+
mermaid: {
|
|
285
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
286
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
277
287
|
};
|
|
278
288
|
}
|
|
279
289
|
}
|
|
@@ -293,26 +303,6 @@ declare module '@tiptap/core' {
|
|
|
293
303
|
}
|
|
294
304
|
|
|
295
305
|
|
|
296
|
-
declare module '@tiptap/core' {
|
|
297
|
-
interface Commands<ReturnType> {
|
|
298
|
-
mermaid: {
|
|
299
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
300
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
declare module '@tiptap/core' {
|
|
307
|
-
interface Commands<ReturnType> {
|
|
308
|
-
tableOfContents: {
|
|
309
|
-
setTableOfContents: () => ReturnType;
|
|
310
|
-
removeTableOfContents: () => ReturnType;
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
|
|
316
306
|
declare module '@tiptap/core' {
|
|
317
307
|
interface Commands<ReturnType> {
|
|
318
308
|
search: {
|
|
@@ -336,6 +326,16 @@ declare module '@tiptap/core' {
|
|
|
336
326
|
}
|
|
337
327
|
|
|
338
328
|
|
|
329
|
+
declare module '@tiptap/core' {
|
|
330
|
+
interface Commands<ReturnType> {
|
|
331
|
+
tableOfContents: {
|
|
332
|
+
setTableOfContents: () => ReturnType;
|
|
333
|
+
removeTableOfContents: () => ReturnType;
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
|
|
339
339
|
declare module '@tiptap/core' {
|
|
340
340
|
interface Commands<ReturnType> {
|
|
341
341
|
twitter: {
|
|
@@ -127,8 +127,9 @@ declare module '@tiptap/core' {
|
|
|
127
127
|
|
|
128
128
|
declare module '@tiptap/core' {
|
|
129
129
|
interface Commands<ReturnType> {
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
drawer: {
|
|
131
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
132
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
132
133
|
};
|
|
133
134
|
}
|
|
134
135
|
}
|
|
@@ -136,9 +137,8 @@ declare module '@tiptap/core' {
|
|
|
136
137
|
|
|
137
138
|
declare module '@tiptap/core' {
|
|
138
139
|
interface Commands<ReturnType> {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
140
|
+
excalidraw: {
|
|
141
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
144
|
}
|
|
@@ -162,15 +162,6 @@ declare module '@tiptap/core' {
|
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
declare module '@tiptap/core' {
|
|
166
|
-
interface Commands<ReturnType> {
|
|
167
|
-
painter: {
|
|
168
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
169
|
-
};
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
|
|
174
165
|
declare module '@tiptap/core' {
|
|
175
166
|
interface Commands<ReturnType> {
|
|
176
167
|
fontSize: {
|
|
@@ -189,6 +180,15 @@ declare module '@tiptap/core' {
|
|
|
189
180
|
}
|
|
190
181
|
|
|
191
182
|
|
|
183
|
+
declare module '@tiptap/core' {
|
|
184
|
+
interface Commands<ReturnType> {
|
|
185
|
+
painter: {
|
|
186
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
|
|
192
192
|
declare module '@tiptap/core' {
|
|
193
193
|
interface Commands<ReturnType> {
|
|
194
194
|
iframe: {
|
|
@@ -224,6 +224,22 @@ declare module '@tiptap/core' {
|
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
|
|
227
|
+
declare module '@tiptap/core' {
|
|
228
|
+
interface Commands<ReturnType> {
|
|
229
|
+
indent: {
|
|
230
|
+
/**
|
|
231
|
+
* Set the indent attribute
|
|
232
|
+
*/
|
|
233
|
+
indent: () => ReturnType;
|
|
234
|
+
/**
|
|
235
|
+
* Set the outdent attribute
|
|
236
|
+
*/
|
|
237
|
+
outdent: () => ReturnType;
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
|
|
227
243
|
declare module '@tiptap/core' {
|
|
228
244
|
interface Commands<ReturnType> {
|
|
229
245
|
imageGifUpload: {
|
|
@@ -255,15 +271,9 @@ declare module '@tiptap/core' {
|
|
|
255
271
|
|
|
256
272
|
declare module '@tiptap/core' {
|
|
257
273
|
interface Commands<ReturnType> {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
*/
|
|
262
|
-
indent: () => ReturnType;
|
|
263
|
-
/**
|
|
264
|
-
* Set the outdent attribute
|
|
265
|
-
*/
|
|
266
|
-
outdent: () => ReturnType;
|
|
274
|
+
lineHeight: {
|
|
275
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
276
|
+
unsetLineHeight: () => ReturnType;
|
|
267
277
|
};
|
|
268
278
|
}
|
|
269
279
|
}
|
|
@@ -271,9 +281,9 @@ declare module '@tiptap/core' {
|
|
|
271
281
|
|
|
272
282
|
declare module '@tiptap/core' {
|
|
273
283
|
interface Commands<ReturnType> {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
284
|
+
mermaid: {
|
|
285
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
286
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
277
287
|
};
|
|
278
288
|
}
|
|
279
289
|
}
|
|
@@ -293,26 +303,6 @@ declare module '@tiptap/core' {
|
|
|
293
303
|
}
|
|
294
304
|
|
|
295
305
|
|
|
296
|
-
declare module '@tiptap/core' {
|
|
297
|
-
interface Commands<ReturnType> {
|
|
298
|
-
mermaid: {
|
|
299
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
300
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
301
|
-
};
|
|
302
|
-
}
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
declare module '@tiptap/core' {
|
|
307
|
-
interface Commands<ReturnType> {
|
|
308
|
-
tableOfContents: {
|
|
309
|
-
setTableOfContents: () => ReturnType;
|
|
310
|
-
removeTableOfContents: () => ReturnType;
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
|
|
316
306
|
declare module '@tiptap/core' {
|
|
317
307
|
interface Commands<ReturnType> {
|
|
318
308
|
search: {
|
|
@@ -336,6 +326,16 @@ declare module '@tiptap/core' {
|
|
|
336
326
|
}
|
|
337
327
|
|
|
338
328
|
|
|
329
|
+
declare module '@tiptap/core' {
|
|
330
|
+
interface Commands<ReturnType> {
|
|
331
|
+
tableOfContents: {
|
|
332
|
+
setTableOfContents: () => ReturnType;
|
|
333
|
+
removeTableOfContents: () => ReturnType;
|
|
334
|
+
};
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
|
|
339
339
|
declare module '@tiptap/core' {
|
|
340
340
|
interface Commands<ReturnType> {
|
|
341
341
|
twitter: {
|
package/lib/Table.d.cts
CHANGED
|
@@ -135,8 +135,9 @@ declare module '@tiptap/core' {
|
|
|
135
135
|
|
|
136
136
|
declare module '@tiptap/core' {
|
|
137
137
|
interface Commands<ReturnType> {
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
drawer: {
|
|
139
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
140
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
140
141
|
};
|
|
141
142
|
}
|
|
142
143
|
}
|
|
@@ -144,9 +145,8 @@ declare module '@tiptap/core' {
|
|
|
144
145
|
|
|
145
146
|
declare module '@tiptap/core' {
|
|
146
147
|
interface Commands<ReturnType> {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
148
|
+
excalidraw: {
|
|
149
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -170,15 +170,6 @@ declare module '@tiptap/core' {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
declare module '@tiptap/core' {
|
|
174
|
-
interface Commands<ReturnType> {
|
|
175
|
-
painter: {
|
|
176
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
|
|
182
173
|
declare module '@tiptap/core' {
|
|
183
174
|
interface Commands<ReturnType> {
|
|
184
175
|
fontSize: {
|
|
@@ -197,6 +188,15 @@ declare module '@tiptap/core' {
|
|
|
197
188
|
}
|
|
198
189
|
|
|
199
190
|
|
|
191
|
+
declare module '@tiptap/core' {
|
|
192
|
+
interface Commands<ReturnType> {
|
|
193
|
+
painter: {
|
|
194
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
|
|
200
200
|
declare module '@tiptap/core' {
|
|
201
201
|
interface Commands<ReturnType> {
|
|
202
202
|
iframe: {
|
|
@@ -232,6 +232,22 @@ declare module '@tiptap/core' {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
|
|
235
|
+
declare module '@tiptap/core' {
|
|
236
|
+
interface Commands<ReturnType> {
|
|
237
|
+
indent: {
|
|
238
|
+
/**
|
|
239
|
+
* Set the indent attribute
|
|
240
|
+
*/
|
|
241
|
+
indent: () => ReturnType;
|
|
242
|
+
/**
|
|
243
|
+
* Set the outdent attribute
|
|
244
|
+
*/
|
|
245
|
+
outdent: () => ReturnType;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
|
|
235
251
|
declare module '@tiptap/core' {
|
|
236
252
|
interface Commands<ReturnType> {
|
|
237
253
|
imageGifUpload: {
|
|
@@ -263,15 +279,9 @@ declare module '@tiptap/core' {
|
|
|
263
279
|
|
|
264
280
|
declare module '@tiptap/core' {
|
|
265
281
|
interface Commands<ReturnType> {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
*/
|
|
270
|
-
indent: () => ReturnType;
|
|
271
|
-
/**
|
|
272
|
-
* Set the outdent attribute
|
|
273
|
-
*/
|
|
274
|
-
outdent: () => ReturnType;
|
|
282
|
+
lineHeight: {
|
|
283
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
284
|
+
unsetLineHeight: () => ReturnType;
|
|
275
285
|
};
|
|
276
286
|
}
|
|
277
287
|
}
|
|
@@ -279,9 +289,9 @@ declare module '@tiptap/core' {
|
|
|
279
289
|
|
|
280
290
|
declare module '@tiptap/core' {
|
|
281
291
|
interface Commands<ReturnType> {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
292
|
+
mermaid: {
|
|
293
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
294
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
285
295
|
};
|
|
286
296
|
}
|
|
287
297
|
}
|
|
@@ -301,26 +311,6 @@ declare module '@tiptap/core' {
|
|
|
301
311
|
}
|
|
302
312
|
|
|
303
313
|
|
|
304
|
-
declare module '@tiptap/core' {
|
|
305
|
-
interface Commands<ReturnType> {
|
|
306
|
-
mermaid: {
|
|
307
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
308
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
declare module '@tiptap/core' {
|
|
315
|
-
interface Commands<ReturnType> {
|
|
316
|
-
tableOfContents: {
|
|
317
|
-
setTableOfContents: () => ReturnType;
|
|
318
|
-
removeTableOfContents: () => ReturnType;
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
324
314
|
declare module '@tiptap/core' {
|
|
325
315
|
interface Commands<ReturnType> {
|
|
326
316
|
search: {
|
|
@@ -344,6 +334,16 @@ declare module '@tiptap/core' {
|
|
|
344
334
|
}
|
|
345
335
|
|
|
346
336
|
|
|
337
|
+
declare module '@tiptap/core' {
|
|
338
|
+
interface Commands<ReturnType> {
|
|
339
|
+
tableOfContents: {
|
|
340
|
+
setTableOfContents: () => ReturnType;
|
|
341
|
+
removeTableOfContents: () => ReturnType;
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
|
|
347
347
|
declare module '@tiptap/core' {
|
|
348
348
|
interface Commands<ReturnType> {
|
|
349
349
|
twitter: {
|
package/lib/Table.d.ts
CHANGED
|
@@ -135,8 +135,9 @@ declare module '@tiptap/core' {
|
|
|
135
135
|
|
|
136
136
|
declare module '@tiptap/core' {
|
|
137
137
|
interface Commands<ReturnType> {
|
|
138
|
-
|
|
139
|
-
|
|
138
|
+
drawer: {
|
|
139
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
140
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
140
141
|
};
|
|
141
142
|
}
|
|
142
143
|
}
|
|
@@ -144,9 +145,8 @@ declare module '@tiptap/core' {
|
|
|
144
145
|
|
|
145
146
|
declare module '@tiptap/core' {
|
|
146
147
|
interface Commands<ReturnType> {
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
148
|
+
excalidraw: {
|
|
149
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
}
|
|
@@ -170,15 +170,6 @@ declare module '@tiptap/core' {
|
|
|
170
170
|
}
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
declare module '@tiptap/core' {
|
|
174
|
-
interface Commands<ReturnType> {
|
|
175
|
-
painter: {
|
|
176
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
177
|
-
};
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
|
|
182
173
|
declare module '@tiptap/core' {
|
|
183
174
|
interface Commands<ReturnType> {
|
|
184
175
|
fontSize: {
|
|
@@ -197,6 +188,15 @@ declare module '@tiptap/core' {
|
|
|
197
188
|
}
|
|
198
189
|
|
|
199
190
|
|
|
191
|
+
declare module '@tiptap/core' {
|
|
192
|
+
interface Commands<ReturnType> {
|
|
193
|
+
painter: {
|
|
194
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
195
|
+
};
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
|
|
200
200
|
declare module '@tiptap/core' {
|
|
201
201
|
interface Commands<ReturnType> {
|
|
202
202
|
iframe: {
|
|
@@ -232,6 +232,22 @@ declare module '@tiptap/core' {
|
|
|
232
232
|
}
|
|
233
233
|
|
|
234
234
|
|
|
235
|
+
declare module '@tiptap/core' {
|
|
236
|
+
interface Commands<ReturnType> {
|
|
237
|
+
indent: {
|
|
238
|
+
/**
|
|
239
|
+
* Set the indent attribute
|
|
240
|
+
*/
|
|
241
|
+
indent: () => ReturnType;
|
|
242
|
+
/**
|
|
243
|
+
* Set the outdent attribute
|
|
244
|
+
*/
|
|
245
|
+
outdent: () => ReturnType;
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
|
|
235
251
|
declare module '@tiptap/core' {
|
|
236
252
|
interface Commands<ReturnType> {
|
|
237
253
|
imageGifUpload: {
|
|
@@ -263,15 +279,9 @@ declare module '@tiptap/core' {
|
|
|
263
279
|
|
|
264
280
|
declare module '@tiptap/core' {
|
|
265
281
|
interface Commands<ReturnType> {
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
*/
|
|
270
|
-
indent: () => ReturnType;
|
|
271
|
-
/**
|
|
272
|
-
* Set the outdent attribute
|
|
273
|
-
*/
|
|
274
|
-
outdent: () => ReturnType;
|
|
282
|
+
lineHeight: {
|
|
283
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
284
|
+
unsetLineHeight: () => ReturnType;
|
|
275
285
|
};
|
|
276
286
|
}
|
|
277
287
|
}
|
|
@@ -279,9 +289,9 @@ declare module '@tiptap/core' {
|
|
|
279
289
|
|
|
280
290
|
declare module '@tiptap/core' {
|
|
281
291
|
interface Commands<ReturnType> {
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
292
|
+
mermaid: {
|
|
293
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
294
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
285
295
|
};
|
|
286
296
|
}
|
|
287
297
|
}
|
|
@@ -301,26 +311,6 @@ declare module '@tiptap/core' {
|
|
|
301
311
|
}
|
|
302
312
|
|
|
303
313
|
|
|
304
|
-
declare module '@tiptap/core' {
|
|
305
|
-
interface Commands<ReturnType> {
|
|
306
|
-
mermaid: {
|
|
307
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
308
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
309
|
-
};
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
declare module '@tiptap/core' {
|
|
315
|
-
interface Commands<ReturnType> {
|
|
316
|
-
tableOfContents: {
|
|
317
|
-
setTableOfContents: () => ReturnType;
|
|
318
|
-
removeTableOfContents: () => ReturnType;
|
|
319
|
-
};
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
|
|
324
314
|
declare module '@tiptap/core' {
|
|
325
315
|
interface Commands<ReturnType> {
|
|
326
316
|
search: {
|
|
@@ -344,6 +334,16 @@ declare module '@tiptap/core' {
|
|
|
344
334
|
}
|
|
345
335
|
|
|
346
336
|
|
|
337
|
+
declare module '@tiptap/core' {
|
|
338
|
+
interface Commands<ReturnType> {
|
|
339
|
+
tableOfContents: {
|
|
340
|
+
setTableOfContents: () => ReturnType;
|
|
341
|
+
removeTableOfContents: () => ReturnType;
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
|
|
347
347
|
declare module '@tiptap/core' {
|
|
348
348
|
interface Commands<ReturnType> {
|
|
349
349
|
twitter: {
|