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/index.d.cts
CHANGED
|
@@ -280,8 +280,9 @@ declare module '@tiptap/core' {
|
|
|
280
280
|
|
|
281
281
|
declare module '@tiptap/core' {
|
|
282
282
|
interface Commands<ReturnType> {
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
drawer: {
|
|
284
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
285
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
285
286
|
};
|
|
286
287
|
}
|
|
287
288
|
}
|
|
@@ -289,9 +290,8 @@ declare module '@tiptap/core' {
|
|
|
289
290
|
|
|
290
291
|
declare module '@tiptap/core' {
|
|
291
292
|
interface Commands<ReturnType> {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
293
|
+
excalidraw: {
|
|
294
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -315,15 +315,6 @@ declare module '@tiptap/core' {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
declare module '@tiptap/core' {
|
|
319
|
-
interface Commands<ReturnType> {
|
|
320
|
-
painter: {
|
|
321
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
318
|
declare module '@tiptap/core' {
|
|
328
319
|
interface Commands<ReturnType> {
|
|
329
320
|
fontSize: {
|
|
@@ -342,6 +333,15 @@ declare module '@tiptap/core' {
|
|
|
342
333
|
}
|
|
343
334
|
|
|
344
335
|
|
|
336
|
+
declare module '@tiptap/core' {
|
|
337
|
+
interface Commands<ReturnType> {
|
|
338
|
+
painter: {
|
|
339
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
|
|
345
345
|
declare module '@tiptap/core' {
|
|
346
346
|
interface Commands<ReturnType> {
|
|
347
347
|
iframe: {
|
|
@@ -377,6 +377,22 @@ declare module '@tiptap/core' {
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
|
|
380
|
+
declare module '@tiptap/core' {
|
|
381
|
+
interface Commands<ReturnType> {
|
|
382
|
+
indent: {
|
|
383
|
+
/**
|
|
384
|
+
* Set the indent attribute
|
|
385
|
+
*/
|
|
386
|
+
indent: () => ReturnType;
|
|
387
|
+
/**
|
|
388
|
+
* Set the outdent attribute
|
|
389
|
+
*/
|
|
390
|
+
outdent: () => ReturnType;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
|
|
380
396
|
declare module '@tiptap/core' {
|
|
381
397
|
interface Commands<ReturnType> {
|
|
382
398
|
imageGifUpload: {
|
|
@@ -408,15 +424,9 @@ declare module '@tiptap/core' {
|
|
|
408
424
|
|
|
409
425
|
declare module '@tiptap/core' {
|
|
410
426
|
interface Commands<ReturnType> {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
*/
|
|
415
|
-
indent: () => ReturnType;
|
|
416
|
-
/**
|
|
417
|
-
* Set the outdent attribute
|
|
418
|
-
*/
|
|
419
|
-
outdent: () => ReturnType;
|
|
427
|
+
lineHeight: {
|
|
428
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
429
|
+
unsetLineHeight: () => ReturnType;
|
|
420
430
|
};
|
|
421
431
|
}
|
|
422
432
|
}
|
|
@@ -424,9 +434,9 @@ declare module '@tiptap/core' {
|
|
|
424
434
|
|
|
425
435
|
declare module '@tiptap/core' {
|
|
426
436
|
interface Commands<ReturnType> {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
437
|
+
mermaid: {
|
|
438
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
439
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
430
440
|
};
|
|
431
441
|
}
|
|
432
442
|
}
|
|
@@ -446,26 +456,6 @@ declare module '@tiptap/core' {
|
|
|
446
456
|
}
|
|
447
457
|
|
|
448
458
|
|
|
449
|
-
declare module '@tiptap/core' {
|
|
450
|
-
interface Commands<ReturnType> {
|
|
451
|
-
mermaid: {
|
|
452
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
453
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
declare module '@tiptap/core' {
|
|
460
|
-
interface Commands<ReturnType> {
|
|
461
|
-
tableOfContents: {
|
|
462
|
-
setTableOfContents: () => ReturnType;
|
|
463
|
-
removeTableOfContents: () => ReturnType;
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
459
|
declare module '@tiptap/core' {
|
|
470
460
|
interface Commands<ReturnType> {
|
|
471
461
|
search: {
|
|
@@ -489,6 +479,16 @@ declare module '@tiptap/core' {
|
|
|
489
479
|
}
|
|
490
480
|
|
|
491
481
|
|
|
482
|
+
declare module '@tiptap/core' {
|
|
483
|
+
interface Commands<ReturnType> {
|
|
484
|
+
tableOfContents: {
|
|
485
|
+
setTableOfContents: () => ReturnType;
|
|
486
|
+
removeTableOfContents: () => ReturnType;
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
|
|
492
492
|
declare module '@tiptap/core' {
|
|
493
493
|
interface Commands<ReturnType> {
|
|
494
494
|
twitter: {
|
package/lib/index.d.ts
CHANGED
|
@@ -280,8 +280,9 @@ declare module '@tiptap/core' {
|
|
|
280
280
|
|
|
281
281
|
declare module '@tiptap/core' {
|
|
282
282
|
interface Commands<ReturnType> {
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
drawer: {
|
|
284
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
285
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
285
286
|
};
|
|
286
287
|
}
|
|
287
288
|
}
|
|
@@ -289,9 +290,8 @@ declare module '@tiptap/core' {
|
|
|
289
290
|
|
|
290
291
|
declare module '@tiptap/core' {
|
|
291
292
|
interface Commands<ReturnType> {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
293
|
+
excalidraw: {
|
|
294
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
295
295
|
};
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -315,15 +315,6 @@ declare module '@tiptap/core' {
|
|
|
315
315
|
}
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
declare module '@tiptap/core' {
|
|
319
|
-
interface Commands<ReturnType> {
|
|
320
|
-
painter: {
|
|
321
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
322
|
-
};
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
|
|
327
318
|
declare module '@tiptap/core' {
|
|
328
319
|
interface Commands<ReturnType> {
|
|
329
320
|
fontSize: {
|
|
@@ -342,6 +333,15 @@ declare module '@tiptap/core' {
|
|
|
342
333
|
}
|
|
343
334
|
|
|
344
335
|
|
|
336
|
+
declare module '@tiptap/core' {
|
|
337
|
+
interface Commands<ReturnType> {
|
|
338
|
+
painter: {
|
|
339
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
340
|
+
};
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
|
|
345
345
|
declare module '@tiptap/core' {
|
|
346
346
|
interface Commands<ReturnType> {
|
|
347
347
|
iframe: {
|
|
@@ -377,6 +377,22 @@ declare module '@tiptap/core' {
|
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
|
|
380
|
+
declare module '@tiptap/core' {
|
|
381
|
+
interface Commands<ReturnType> {
|
|
382
|
+
indent: {
|
|
383
|
+
/**
|
|
384
|
+
* Set the indent attribute
|
|
385
|
+
*/
|
|
386
|
+
indent: () => ReturnType;
|
|
387
|
+
/**
|
|
388
|
+
* Set the outdent attribute
|
|
389
|
+
*/
|
|
390
|
+
outdent: () => ReturnType;
|
|
391
|
+
};
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
|
|
380
396
|
declare module '@tiptap/core' {
|
|
381
397
|
interface Commands<ReturnType> {
|
|
382
398
|
imageGifUpload: {
|
|
@@ -408,15 +424,9 @@ declare module '@tiptap/core' {
|
|
|
408
424
|
|
|
409
425
|
declare module '@tiptap/core' {
|
|
410
426
|
interface Commands<ReturnType> {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
*/
|
|
415
|
-
indent: () => ReturnType;
|
|
416
|
-
/**
|
|
417
|
-
* Set the outdent attribute
|
|
418
|
-
*/
|
|
419
|
-
outdent: () => ReturnType;
|
|
427
|
+
lineHeight: {
|
|
428
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
429
|
+
unsetLineHeight: () => ReturnType;
|
|
420
430
|
};
|
|
421
431
|
}
|
|
422
432
|
}
|
|
@@ -424,9 +434,9 @@ declare module '@tiptap/core' {
|
|
|
424
434
|
|
|
425
435
|
declare module '@tiptap/core' {
|
|
426
436
|
interface Commands<ReturnType> {
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
437
|
+
mermaid: {
|
|
438
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
439
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
430
440
|
};
|
|
431
441
|
}
|
|
432
442
|
}
|
|
@@ -446,26 +456,6 @@ declare module '@tiptap/core' {
|
|
|
446
456
|
}
|
|
447
457
|
|
|
448
458
|
|
|
449
|
-
declare module '@tiptap/core' {
|
|
450
|
-
interface Commands<ReturnType> {
|
|
451
|
-
mermaid: {
|
|
452
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
453
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
454
|
-
};
|
|
455
|
-
}
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
declare module '@tiptap/core' {
|
|
460
|
-
interface Commands<ReturnType> {
|
|
461
|
-
tableOfContents: {
|
|
462
|
-
setTableOfContents: () => ReturnType;
|
|
463
|
-
removeTableOfContents: () => ReturnType;
|
|
464
|
-
};
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
|
|
468
|
-
|
|
469
459
|
declare module '@tiptap/core' {
|
|
470
460
|
interface Commands<ReturnType> {
|
|
471
461
|
search: {
|
|
@@ -489,6 +479,16 @@ declare module '@tiptap/core' {
|
|
|
489
479
|
}
|
|
490
480
|
|
|
491
481
|
|
|
482
|
+
declare module '@tiptap/core' {
|
|
483
|
+
interface Commands<ReturnType> {
|
|
484
|
+
tableOfContents: {
|
|
485
|
+
setTableOfContents: () => ReturnType;
|
|
486
|
+
removeTableOfContents: () => ReturnType;
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
|
|
492
492
|
declare module '@tiptap/core' {
|
|
493
493
|
interface Commands<ReturnType> {
|
|
494
494
|
twitter: {
|
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -1124,8 +1124,9 @@ declare module '@tiptap/core' {
|
|
|
1124
1124
|
|
|
1125
1125
|
declare module '@tiptap/core' {
|
|
1126
1126
|
interface Commands<ReturnType> {
|
|
1127
|
-
|
|
1128
|
-
|
|
1127
|
+
drawer: {
|
|
1128
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1129
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1129
1130
|
};
|
|
1130
1131
|
}
|
|
1131
1132
|
}
|
|
@@ -1133,9 +1134,8 @@ declare module '@tiptap/core' {
|
|
|
1133
1134
|
|
|
1134
1135
|
declare module '@tiptap/core' {
|
|
1135
1136
|
interface Commands<ReturnType> {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1137
|
+
excalidraw: {
|
|
1138
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
@@ -1159,15 +1159,6 @@ declare module '@tiptap/core' {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
|
|
1162
|
-
declare module '@tiptap/core' {
|
|
1163
|
-
interface Commands<ReturnType> {
|
|
1164
|
-
painter: {
|
|
1165
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
1166
|
-
};
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
1162
|
declare module '@tiptap/core' {
|
|
1172
1163
|
interface Commands<ReturnType> {
|
|
1173
1164
|
fontSize: {
|
|
@@ -1186,6 +1177,15 @@ declare module '@tiptap/core' {
|
|
|
1186
1177
|
}
|
|
1187
1178
|
|
|
1188
1179
|
|
|
1180
|
+
declare module '@tiptap/core' {
|
|
1181
|
+
interface Commands<ReturnType> {
|
|
1182
|
+
painter: {
|
|
1183
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
1189
|
declare module '@tiptap/core' {
|
|
1190
1190
|
interface Commands<ReturnType> {
|
|
1191
1191
|
iframe: {
|
|
@@ -1221,6 +1221,22 @@ declare module '@tiptap/core' {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
|
|
1224
|
+
declare module '@tiptap/core' {
|
|
1225
|
+
interface Commands<ReturnType> {
|
|
1226
|
+
indent: {
|
|
1227
|
+
/**
|
|
1228
|
+
* Set the indent attribute
|
|
1229
|
+
*/
|
|
1230
|
+
indent: () => ReturnType;
|
|
1231
|
+
/**
|
|
1232
|
+
* Set the outdent attribute
|
|
1233
|
+
*/
|
|
1234
|
+
outdent: () => ReturnType;
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
|
|
1224
1240
|
declare module '@tiptap/core' {
|
|
1225
1241
|
interface Commands<ReturnType> {
|
|
1226
1242
|
imageGifUpload: {
|
|
@@ -1252,15 +1268,9 @@ declare module '@tiptap/core' {
|
|
|
1252
1268
|
|
|
1253
1269
|
declare module '@tiptap/core' {
|
|
1254
1270
|
interface Commands<ReturnType> {
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
*/
|
|
1259
|
-
indent: () => ReturnType;
|
|
1260
|
-
/**
|
|
1261
|
-
* Set the outdent attribute
|
|
1262
|
-
*/
|
|
1263
|
-
outdent: () => ReturnType;
|
|
1271
|
+
lineHeight: {
|
|
1272
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1273
|
+
unsetLineHeight: () => ReturnType;
|
|
1264
1274
|
};
|
|
1265
1275
|
}
|
|
1266
1276
|
}
|
|
@@ -1268,9 +1278,9 @@ declare module '@tiptap/core' {
|
|
|
1268
1278
|
|
|
1269
1279
|
declare module '@tiptap/core' {
|
|
1270
1280
|
interface Commands<ReturnType> {
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1281
|
+
mermaid: {
|
|
1282
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
1283
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1274
1284
|
};
|
|
1275
1285
|
}
|
|
1276
1286
|
}
|
|
@@ -1290,26 +1300,6 @@ declare module '@tiptap/core' {
|
|
|
1290
1300
|
}
|
|
1291
1301
|
|
|
1292
1302
|
|
|
1293
|
-
declare module '@tiptap/core' {
|
|
1294
|
-
interface Commands<ReturnType> {
|
|
1295
|
-
mermaid: {
|
|
1296
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
1297
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
declare module '@tiptap/core' {
|
|
1304
|
-
interface Commands<ReturnType> {
|
|
1305
|
-
tableOfContents: {
|
|
1306
|
-
setTableOfContents: () => ReturnType;
|
|
1307
|
-
removeTableOfContents: () => ReturnType;
|
|
1308
|
-
};
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
1303
|
declare module '@tiptap/core' {
|
|
1314
1304
|
interface Commands<ReturnType> {
|
|
1315
1305
|
search: {
|
|
@@ -1333,6 +1323,16 @@ declare module '@tiptap/core' {
|
|
|
1333
1323
|
}
|
|
1334
1324
|
|
|
1335
1325
|
|
|
1326
|
+
declare module '@tiptap/core' {
|
|
1327
|
+
interface Commands<ReturnType> {
|
|
1328
|
+
tableOfContents: {
|
|
1329
|
+
setTableOfContents: () => ReturnType;
|
|
1330
|
+
removeTableOfContents: () => ReturnType;
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
1336
|
declare module '@tiptap/core' {
|
|
1337
1337
|
interface Commands<ReturnType> {
|
|
1338
1338
|
twitter: {
|
package/lib/locale-bundle.d.ts
CHANGED
|
@@ -1124,8 +1124,9 @@ declare module '@tiptap/core' {
|
|
|
1124
1124
|
|
|
1125
1125
|
declare module '@tiptap/core' {
|
|
1126
1126
|
interface Commands<ReturnType> {
|
|
1127
|
-
|
|
1128
|
-
|
|
1127
|
+
drawer: {
|
|
1128
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1129
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1129
1130
|
};
|
|
1130
1131
|
}
|
|
1131
1132
|
}
|
|
@@ -1133,9 +1134,8 @@ declare module '@tiptap/core' {
|
|
|
1133
1134
|
|
|
1134
1135
|
declare module '@tiptap/core' {
|
|
1135
1136
|
interface Commands<ReturnType> {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1137
|
+
excalidraw: {
|
|
1138
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1139
1139
|
};
|
|
1140
1140
|
}
|
|
1141
1141
|
}
|
|
@@ -1159,15 +1159,6 @@ declare module '@tiptap/core' {
|
|
|
1159
1159
|
}
|
|
1160
1160
|
|
|
1161
1161
|
|
|
1162
|
-
declare module '@tiptap/core' {
|
|
1163
|
-
interface Commands<ReturnType> {
|
|
1164
|
-
painter: {
|
|
1165
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
1166
|
-
};
|
|
1167
|
-
}
|
|
1168
|
-
}
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
1162
|
declare module '@tiptap/core' {
|
|
1172
1163
|
interface Commands<ReturnType> {
|
|
1173
1164
|
fontSize: {
|
|
@@ -1186,6 +1177,15 @@ declare module '@tiptap/core' {
|
|
|
1186
1177
|
}
|
|
1187
1178
|
|
|
1188
1179
|
|
|
1180
|
+
declare module '@tiptap/core' {
|
|
1181
|
+
interface Commands<ReturnType> {
|
|
1182
|
+
painter: {
|
|
1183
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1184
|
+
};
|
|
1185
|
+
}
|
|
1186
|
+
}
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
1189
|
declare module '@tiptap/core' {
|
|
1190
1190
|
interface Commands<ReturnType> {
|
|
1191
1191
|
iframe: {
|
|
@@ -1221,6 +1221,22 @@ declare module '@tiptap/core' {
|
|
|
1221
1221
|
}
|
|
1222
1222
|
|
|
1223
1223
|
|
|
1224
|
+
declare module '@tiptap/core' {
|
|
1225
|
+
interface Commands<ReturnType> {
|
|
1226
|
+
indent: {
|
|
1227
|
+
/**
|
|
1228
|
+
* Set the indent attribute
|
|
1229
|
+
*/
|
|
1230
|
+
indent: () => ReturnType;
|
|
1231
|
+
/**
|
|
1232
|
+
* Set the outdent attribute
|
|
1233
|
+
*/
|
|
1234
|
+
outdent: () => ReturnType;
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
|
|
1224
1240
|
declare module '@tiptap/core' {
|
|
1225
1241
|
interface Commands<ReturnType> {
|
|
1226
1242
|
imageGifUpload: {
|
|
@@ -1252,15 +1268,9 @@ declare module '@tiptap/core' {
|
|
|
1252
1268
|
|
|
1253
1269
|
declare module '@tiptap/core' {
|
|
1254
1270
|
interface Commands<ReturnType> {
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
*/
|
|
1259
|
-
indent: () => ReturnType;
|
|
1260
|
-
/**
|
|
1261
|
-
* Set the outdent attribute
|
|
1262
|
-
*/
|
|
1263
|
-
outdent: () => ReturnType;
|
|
1271
|
+
lineHeight: {
|
|
1272
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1273
|
+
unsetLineHeight: () => ReturnType;
|
|
1264
1274
|
};
|
|
1265
1275
|
}
|
|
1266
1276
|
}
|
|
@@ -1268,9 +1278,9 @@ declare module '@tiptap/core' {
|
|
|
1268
1278
|
|
|
1269
1279
|
declare module '@tiptap/core' {
|
|
1270
1280
|
interface Commands<ReturnType> {
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1281
|
+
mermaid: {
|
|
1282
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
1283
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1274
1284
|
};
|
|
1275
1285
|
}
|
|
1276
1286
|
}
|
|
@@ -1290,26 +1300,6 @@ declare module '@tiptap/core' {
|
|
|
1290
1300
|
}
|
|
1291
1301
|
|
|
1292
1302
|
|
|
1293
|
-
declare module '@tiptap/core' {
|
|
1294
|
-
interface Commands<ReturnType> {
|
|
1295
|
-
mermaid: {
|
|
1296
|
-
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
1297
|
-
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1298
|
-
};
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
declare module '@tiptap/core' {
|
|
1304
|
-
interface Commands<ReturnType> {
|
|
1305
|
-
tableOfContents: {
|
|
1306
|
-
setTableOfContents: () => ReturnType;
|
|
1307
|
-
removeTableOfContents: () => ReturnType;
|
|
1308
|
-
};
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
1303
|
declare module '@tiptap/core' {
|
|
1314
1304
|
interface Commands<ReturnType> {
|
|
1315
1305
|
search: {
|
|
@@ -1333,6 +1323,16 @@ declare module '@tiptap/core' {
|
|
|
1333
1323
|
}
|
|
1334
1324
|
|
|
1335
1325
|
|
|
1326
|
+
declare module '@tiptap/core' {
|
|
1327
|
+
interface Commands<ReturnType> {
|
|
1328
|
+
tableOfContents: {
|
|
1329
|
+
setTableOfContents: () => ReturnType;
|
|
1330
|
+
removeTableOfContents: () => ReturnType;
|
|
1331
|
+
};
|
|
1332
|
+
}
|
|
1333
|
+
}
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
1336
|
declare module '@tiptap/core' {
|
|
1337
1337
|
interface Commands<ReturnType> {
|
|
1338
1338
|
twitter: {
|