reactjs-tiptap-editor 0.0.34 → 0.0.35
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/index.d.cts +192 -40
- package/lib/index.d.ts +192 -40
- package/lib/locales-Bg72ty9_.cjs +1 -0
- package/lib/{locales-Cf71hS5u.js → locales-CN6TrTEF.js} +190 -38
- package/lib/reactjs-tiptap-editor.cjs +1 -1
- package/lib/reactjs-tiptap-editor.js +20 -19
- package/lib/{utils-DBcjIUpt.js → utils-Dv814K3m.js} +1 -1
- package/lib/{utils-DIGL2fIv.cjs → utils-xIVE6Wfs.cjs} +1 -1
- package/package.json +1 -1
- package/lib/locales-ZNMN5VNS.cjs +0 -1
package/lib/index.d.cts
CHANGED
|
@@ -625,7 +625,7 @@ export declare interface ItalicOptions extends ItalicOptions_2, GeneralOptions<I
|
|
|
625
625
|
|
|
626
626
|
export declare const Katex: Node_3<IKatexOptions, any>;
|
|
627
627
|
|
|
628
|
-
declare type LanguageType = 'en' | 'vi' | 'zh_CN' | string;
|
|
628
|
+
declare type LanguageType = 'en' | 'vi' | 'zh_CN' | 'pt_BR' | (string & {});
|
|
629
629
|
|
|
630
630
|
export declare const LineHeight: Extension<LineHeightOptions, any>;
|
|
631
631
|
|
|
@@ -694,6 +694,158 @@ export declare const OrderedList: Node_3<OrderedListOptions, any>;
|
|
|
694
694
|
export declare interface OrderedListOptions extends OrderedListOptions_2, GeneralOptions<OrderedListOptions> {
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
+
export declare const pt_BR: {
|
|
698
|
+
'editor.remove': string;
|
|
699
|
+
'editor.copy': string;
|
|
700
|
+
'editor.words': string;
|
|
701
|
+
'editor.characters': string;
|
|
702
|
+
'editor.default': string;
|
|
703
|
+
'editor.recent': string;
|
|
704
|
+
'editor.nofill': string;
|
|
705
|
+
'editor.format': string;
|
|
706
|
+
'editor.delete': string;
|
|
707
|
+
'editor.edit': string;
|
|
708
|
+
'editor.settings': string;
|
|
709
|
+
'editor.table_of_content': string;
|
|
710
|
+
'editor.draghandle.tooltip': string;
|
|
711
|
+
'editor.copyToClipboard': string;
|
|
712
|
+
'editor.importWord.tooltip': string;
|
|
713
|
+
'editor.slash': string;
|
|
714
|
+
'editor.slash.empty': string;
|
|
715
|
+
'editor.slash.format': string;
|
|
716
|
+
'editor.slash.insert': string;
|
|
717
|
+
'editor.slash.embed': string;
|
|
718
|
+
'editor.content': string;
|
|
719
|
+
'editor.fontFamily.tooltip': string;
|
|
720
|
+
'editor.fontFamily.default.tooltip': string;
|
|
721
|
+
'editor.moremark': string;
|
|
722
|
+
'editor.size.small.tooltip': string;
|
|
723
|
+
'editor.size.medium.tooltip': string;
|
|
724
|
+
'editor.size.large.tooltip': string;
|
|
725
|
+
'editor.bold.tooltip': string;
|
|
726
|
+
'editor.italic.tooltip': string;
|
|
727
|
+
'editor.underline.tooltip': string;
|
|
728
|
+
'editor.strike.tooltip': string;
|
|
729
|
+
'editor.color.tooltip': string;
|
|
730
|
+
'editor.color.more': string;
|
|
731
|
+
'editor.highlight.tooltip': string;
|
|
732
|
+
'editor.lineheight.tooltip': string;
|
|
733
|
+
'editor.heading.tooltip': string;
|
|
734
|
+
'editor.heading.h1.tooltip': string;
|
|
735
|
+
'editor.heading.h2.tooltip': string;
|
|
736
|
+
'editor.heading.h3.tooltip': string;
|
|
737
|
+
'editor.heading.h4.tooltip': string;
|
|
738
|
+
'editor.heading.h5.tooltip': string;
|
|
739
|
+
'editor.heading.h6.tooltip': string;
|
|
740
|
+
'editor.paragraph.tooltip': string;
|
|
741
|
+
'editor.textalign.tooltip': string;
|
|
742
|
+
'editor.textalign.left.tooltip': string;
|
|
743
|
+
'editor.textalign.center.tooltip': string;
|
|
744
|
+
'editor.textalign.right.tooltip': string;
|
|
745
|
+
'editor.textalign.justify.tooltip': string;
|
|
746
|
+
'editor.indent': string;
|
|
747
|
+
'editor.indent.indent': string;
|
|
748
|
+
'editor.indent.outdent': string;
|
|
749
|
+
'editor.fontSize.tooltip': string;
|
|
750
|
+
'editor.fontSize.default.tooltip': string;
|
|
751
|
+
'editor.superscript.tooltip': string;
|
|
752
|
+
'editor.subscript.tooltip': string;
|
|
753
|
+
'editor.bulletlist.tooltip': string;
|
|
754
|
+
'editor.orderedlist.tooltip': string;
|
|
755
|
+
'editor.tasklist.tooltip': string;
|
|
756
|
+
'editor.indent.tooltip': string;
|
|
757
|
+
'editor.outdent.tooltip': string;
|
|
758
|
+
'editor.columns.tooltip': string;
|
|
759
|
+
'editor.link.tooltip': string;
|
|
760
|
+
'editor.link.unlink.tooltip': string;
|
|
761
|
+
'editor.link.open.tooltip': string;
|
|
762
|
+
'editor.link.edit.tooltip': string;
|
|
763
|
+
'editor.link.dialog.title': string;
|
|
764
|
+
'editor.link.dialog.link': string;
|
|
765
|
+
'editor.link.dialog.text': string;
|
|
766
|
+
'editor.link.dialog.openInNewTab': string;
|
|
767
|
+
'editor.link.dialog.link.placeholder': string;
|
|
768
|
+
'editor.link.dialog.text.placeholder': string;
|
|
769
|
+
'editor.link.dialog.button.apply': string;
|
|
770
|
+
'editor.image.tooltip': string;
|
|
771
|
+
'editor.image.dragger.tooltip': string;
|
|
772
|
+
'editor.image.float.left.tooltip': string;
|
|
773
|
+
'editor.image.float.none.tooltip': string;
|
|
774
|
+
'editor.image.float.right.tooltip': string;
|
|
775
|
+
'editor.image.dialog.title': string;
|
|
776
|
+
'editor.image.dialog.tab.url': string;
|
|
777
|
+
'editor.image.dialog.tab.upload': string;
|
|
778
|
+
'editor.image.dialog.uploading': string;
|
|
779
|
+
'editor.image.dialog.form.link': string;
|
|
780
|
+
'editor.image.dialog.placeholder': string;
|
|
781
|
+
'editor.image.dialog.form.alt': string;
|
|
782
|
+
'editor.image.dialog.form.aspectRatio': string;
|
|
783
|
+
'editor.image.dialog.form.file': string;
|
|
784
|
+
'editor.image.dialog.button.apply': string;
|
|
785
|
+
'editor.video.tooltip': string;
|
|
786
|
+
'editor.video.dialog.tab.upload': string;
|
|
787
|
+
'editor.video.dialog.uploading': string;
|
|
788
|
+
'editor.video.dialog.title': string;
|
|
789
|
+
'editor.video.dialog.link': string;
|
|
790
|
+
'editor.video.dialog.placeholder': string;
|
|
791
|
+
'editor.video.dialog.button.apply': string;
|
|
792
|
+
'editor.table.tooltip': string;
|
|
793
|
+
'editor.table.menu.insert_table': string;
|
|
794
|
+
'editor.table.menu.insert_table.with_header_row': string;
|
|
795
|
+
'editor.table.menu.add_column_before': string;
|
|
796
|
+
'editor.table.menu.add_column_after': string;
|
|
797
|
+
'editor.table.menu.delete_column': string;
|
|
798
|
+
'editor.table.menu.add_row_before': string;
|
|
799
|
+
'editor.table.menu.add_row_after': string;
|
|
800
|
+
'editor.table.menu.delete_row': string;
|
|
801
|
+
'editor.table.menu.merge_or_split_cells': string;
|
|
802
|
+
'editor.table.menu.delete_table': string;
|
|
803
|
+
'editor.blockquote.tooltip': string;
|
|
804
|
+
'editor.horizontalrule.tooltip': string;
|
|
805
|
+
'editor.code.tooltip': string;
|
|
806
|
+
'editor.codeblock.tooltip': string;
|
|
807
|
+
'editor.clear.tooltip': string;
|
|
808
|
+
'editor.undo.tooltip': string;
|
|
809
|
+
'editor.redo.tooltip': string;
|
|
810
|
+
'editor.fullscreen.tooltip.fullscreen': string;
|
|
811
|
+
'editor.fullscreen.tooltip.exit': string;
|
|
812
|
+
'editor.imageUpload.fileTypeNotSupported': string;
|
|
813
|
+
'editor.imageUpload.fileSizeTooBig': string;
|
|
814
|
+
'editor.table.menu.insertColumnBefore': string;
|
|
815
|
+
'editor.table.menu.insertColumnAfter': string;
|
|
816
|
+
'editor.table.menu.deleteColumn': string;
|
|
817
|
+
'editor.table.menu.insertRowAbove': string;
|
|
818
|
+
'editor.table.menu.insertRowBelow': string;
|
|
819
|
+
'editor.table.menu.deleteRow': string;
|
|
820
|
+
'editor.table.menu.mergeCells': string;
|
|
821
|
+
'editor.table.menu.splitCells': string;
|
|
822
|
+
'editor.table.menu.deleteTable': string;
|
|
823
|
+
'editor.table.menu.setCellsBgColor': string;
|
|
824
|
+
'editor.emoji.tooltip': string;
|
|
825
|
+
'editor.iframe.tooltip': string;
|
|
826
|
+
'editor.searchAndReplace.tooltip': string;
|
|
827
|
+
'editor.search.dialog.text': string;
|
|
828
|
+
'editor.replace.dialog.text': string;
|
|
829
|
+
'editor.replaceAll.dialog.text': string;
|
|
830
|
+
'editor.previous.dialog.text': string;
|
|
831
|
+
'editor.next.dialog.text': string;
|
|
832
|
+
no_result_found: string;
|
|
833
|
+
'Smileys & People': string;
|
|
834
|
+
'Animals & Nature': string;
|
|
835
|
+
'Food & Drink': string;
|
|
836
|
+
Activity: string;
|
|
837
|
+
'Travel & Places': string;
|
|
838
|
+
Object: string;
|
|
839
|
+
Symbol: string;
|
|
840
|
+
Flags: string;
|
|
841
|
+
'Frequently used': string;
|
|
842
|
+
'editor.formula.dialog.text': string;
|
|
843
|
+
'editor.katex.tooltip': string;
|
|
844
|
+
'editor.exportPdf.tooltip': string;
|
|
845
|
+
'editor.exportWord.tooltip': string;
|
|
846
|
+
'editor.importWrod.tooltip': string;
|
|
847
|
+
};
|
|
848
|
+
|
|
697
849
|
declare interface Result {
|
|
698
850
|
from: number;
|
|
699
851
|
to: number;
|
|
@@ -1251,8 +1403,15 @@ declare module '@tiptap/core' {
|
|
|
1251
1403
|
|
|
1252
1404
|
declare module '@tiptap/core' {
|
|
1253
1405
|
interface Commands<ReturnType> {
|
|
1254
|
-
|
|
1255
|
-
|
|
1406
|
+
indent: {
|
|
1407
|
+
/**
|
|
1408
|
+
* Set the indent attribute
|
|
1409
|
+
*/
|
|
1410
|
+
indent: () => ReturnType;
|
|
1411
|
+
/**
|
|
1412
|
+
* Set the outdent attribute
|
|
1413
|
+
*/
|
|
1414
|
+
outdent: () => ReturnType;
|
|
1256
1415
|
};
|
|
1257
1416
|
}
|
|
1258
1417
|
}
|
|
@@ -1280,9 +1439,8 @@ declare module '@tiptap/core' {
|
|
|
1280
1439
|
|
|
1281
1440
|
declare module '@tiptap/core' {
|
|
1282
1441
|
interface Commands<ReturnType> {
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
unsetLineHeight: () => ReturnType;
|
|
1442
|
+
imageUpload: {
|
|
1443
|
+
setImageUpload: () => ReturnType;
|
|
1286
1444
|
};
|
|
1287
1445
|
}
|
|
1288
1446
|
}
|
|
@@ -1297,6 +1455,16 @@ declare module '@tiptap/core' {
|
|
|
1297
1455
|
}
|
|
1298
1456
|
|
|
1299
1457
|
|
|
1458
|
+
declare module '@tiptap/core' {
|
|
1459
|
+
interface Commands<ReturnType> {
|
|
1460
|
+
lineHeight: {
|
|
1461
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1462
|
+
unsetLineHeight: () => ReturnType;
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
|
|
1300
1468
|
declare module '@tiptap/core' {
|
|
1301
1469
|
interface Commands<ReturnType> {
|
|
1302
1470
|
columns: {
|
|
@@ -1323,8 +1491,13 @@ declare module '@tiptap/core' {
|
|
|
1323
1491
|
|
|
1324
1492
|
declare module '@tiptap/core' {
|
|
1325
1493
|
interface Commands<ReturnType> {
|
|
1326
|
-
|
|
1327
|
-
|
|
1494
|
+
search: {
|
|
1495
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1496
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1497
|
+
replace: () => ReturnType;
|
|
1498
|
+
replaceAll: () => ReturnType;
|
|
1499
|
+
goToPrevSearchResult: () => void;
|
|
1500
|
+
goToNextSearchResult: () => void;
|
|
1328
1501
|
};
|
|
1329
1502
|
}
|
|
1330
1503
|
}
|
|
@@ -1332,15 +1505,8 @@ declare module '@tiptap/core' {
|
|
|
1332
1505
|
|
|
1333
1506
|
declare module '@tiptap/core' {
|
|
1334
1507
|
interface Commands<ReturnType> {
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
* Set the indent attribute
|
|
1338
|
-
*/
|
|
1339
|
-
indent: () => ReturnType;
|
|
1340
|
-
/**
|
|
1341
|
-
* Set the outdent attribute
|
|
1342
|
-
*/
|
|
1343
|
-
outdent: () => ReturnType;
|
|
1508
|
+
katex: {
|
|
1509
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1344
1510
|
};
|
|
1345
1511
|
}
|
|
1346
1512
|
}
|
|
@@ -1363,17 +1529,11 @@ declare module '@tiptap/core' {
|
|
|
1363
1529
|
|
|
1364
1530
|
declare module '@tiptap/core' {
|
|
1365
1531
|
interface Commands<ReturnType> {
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
declare module '@tiptap/core' {
|
|
1374
|
-
interface Commands<ReturnType> {
|
|
1375
|
-
katex: {
|
|
1376
|
-
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1532
|
+
emoji: {
|
|
1533
|
+
setEmoji: (emoji: {
|
|
1534
|
+
name: string;
|
|
1535
|
+
emoji: string;
|
|
1536
|
+
}) => ReturnType;
|
|
1377
1537
|
};
|
|
1378
1538
|
}
|
|
1379
1539
|
}
|
|
@@ -1381,11 +1541,8 @@ declare module '@tiptap/core' {
|
|
|
1381
1541
|
|
|
1382
1542
|
declare module '@tiptap/core' {
|
|
1383
1543
|
interface Commands<ReturnType> {
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
name: string;
|
|
1387
|
-
emoji: string;
|
|
1388
|
-
}) => ReturnType;
|
|
1544
|
+
painter: {
|
|
1545
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1389
1546
|
};
|
|
1390
1547
|
}
|
|
1391
1548
|
}
|
|
@@ -1393,13 +1550,8 @@ declare module '@tiptap/core' {
|
|
|
1393
1550
|
|
|
1394
1551
|
declare module '@tiptap/core' {
|
|
1395
1552
|
interface Commands<ReturnType> {
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1399
|
-
replace: () => ReturnType;
|
|
1400
|
-
replaceAll: () => ReturnType;
|
|
1401
|
-
goToPrevSearchResult: () => void;
|
|
1402
|
-
goToNextSearchResult: () => void;
|
|
1553
|
+
exportWord: {
|
|
1554
|
+
exportToWord: () => ReturnType;
|
|
1403
1555
|
};
|
|
1404
1556
|
}
|
|
1405
1557
|
}
|
package/lib/index.d.ts
CHANGED
|
@@ -625,7 +625,7 @@ export declare interface ItalicOptions extends ItalicOptions_2, GeneralOptions<I
|
|
|
625
625
|
|
|
626
626
|
export declare const Katex: Node_3<IKatexOptions, any>;
|
|
627
627
|
|
|
628
|
-
declare type LanguageType = 'en' | 'vi' | 'zh_CN' | string;
|
|
628
|
+
declare type LanguageType = 'en' | 'vi' | 'zh_CN' | 'pt_BR' | (string & {});
|
|
629
629
|
|
|
630
630
|
export declare const LineHeight: Extension<LineHeightOptions, any>;
|
|
631
631
|
|
|
@@ -694,6 +694,158 @@ export declare const OrderedList: Node_3<OrderedListOptions, any>;
|
|
|
694
694
|
export declare interface OrderedListOptions extends OrderedListOptions_2, GeneralOptions<OrderedListOptions> {
|
|
695
695
|
}
|
|
696
696
|
|
|
697
|
+
export declare const pt_BR: {
|
|
698
|
+
'editor.remove': string;
|
|
699
|
+
'editor.copy': string;
|
|
700
|
+
'editor.words': string;
|
|
701
|
+
'editor.characters': string;
|
|
702
|
+
'editor.default': string;
|
|
703
|
+
'editor.recent': string;
|
|
704
|
+
'editor.nofill': string;
|
|
705
|
+
'editor.format': string;
|
|
706
|
+
'editor.delete': string;
|
|
707
|
+
'editor.edit': string;
|
|
708
|
+
'editor.settings': string;
|
|
709
|
+
'editor.table_of_content': string;
|
|
710
|
+
'editor.draghandle.tooltip': string;
|
|
711
|
+
'editor.copyToClipboard': string;
|
|
712
|
+
'editor.importWord.tooltip': string;
|
|
713
|
+
'editor.slash': string;
|
|
714
|
+
'editor.slash.empty': string;
|
|
715
|
+
'editor.slash.format': string;
|
|
716
|
+
'editor.slash.insert': string;
|
|
717
|
+
'editor.slash.embed': string;
|
|
718
|
+
'editor.content': string;
|
|
719
|
+
'editor.fontFamily.tooltip': string;
|
|
720
|
+
'editor.fontFamily.default.tooltip': string;
|
|
721
|
+
'editor.moremark': string;
|
|
722
|
+
'editor.size.small.tooltip': string;
|
|
723
|
+
'editor.size.medium.tooltip': string;
|
|
724
|
+
'editor.size.large.tooltip': string;
|
|
725
|
+
'editor.bold.tooltip': string;
|
|
726
|
+
'editor.italic.tooltip': string;
|
|
727
|
+
'editor.underline.tooltip': string;
|
|
728
|
+
'editor.strike.tooltip': string;
|
|
729
|
+
'editor.color.tooltip': string;
|
|
730
|
+
'editor.color.more': string;
|
|
731
|
+
'editor.highlight.tooltip': string;
|
|
732
|
+
'editor.lineheight.tooltip': string;
|
|
733
|
+
'editor.heading.tooltip': string;
|
|
734
|
+
'editor.heading.h1.tooltip': string;
|
|
735
|
+
'editor.heading.h2.tooltip': string;
|
|
736
|
+
'editor.heading.h3.tooltip': string;
|
|
737
|
+
'editor.heading.h4.tooltip': string;
|
|
738
|
+
'editor.heading.h5.tooltip': string;
|
|
739
|
+
'editor.heading.h6.tooltip': string;
|
|
740
|
+
'editor.paragraph.tooltip': string;
|
|
741
|
+
'editor.textalign.tooltip': string;
|
|
742
|
+
'editor.textalign.left.tooltip': string;
|
|
743
|
+
'editor.textalign.center.tooltip': string;
|
|
744
|
+
'editor.textalign.right.tooltip': string;
|
|
745
|
+
'editor.textalign.justify.tooltip': string;
|
|
746
|
+
'editor.indent': string;
|
|
747
|
+
'editor.indent.indent': string;
|
|
748
|
+
'editor.indent.outdent': string;
|
|
749
|
+
'editor.fontSize.tooltip': string;
|
|
750
|
+
'editor.fontSize.default.tooltip': string;
|
|
751
|
+
'editor.superscript.tooltip': string;
|
|
752
|
+
'editor.subscript.tooltip': string;
|
|
753
|
+
'editor.bulletlist.tooltip': string;
|
|
754
|
+
'editor.orderedlist.tooltip': string;
|
|
755
|
+
'editor.tasklist.tooltip': string;
|
|
756
|
+
'editor.indent.tooltip': string;
|
|
757
|
+
'editor.outdent.tooltip': string;
|
|
758
|
+
'editor.columns.tooltip': string;
|
|
759
|
+
'editor.link.tooltip': string;
|
|
760
|
+
'editor.link.unlink.tooltip': string;
|
|
761
|
+
'editor.link.open.tooltip': string;
|
|
762
|
+
'editor.link.edit.tooltip': string;
|
|
763
|
+
'editor.link.dialog.title': string;
|
|
764
|
+
'editor.link.dialog.link': string;
|
|
765
|
+
'editor.link.dialog.text': string;
|
|
766
|
+
'editor.link.dialog.openInNewTab': string;
|
|
767
|
+
'editor.link.dialog.link.placeholder': string;
|
|
768
|
+
'editor.link.dialog.text.placeholder': string;
|
|
769
|
+
'editor.link.dialog.button.apply': string;
|
|
770
|
+
'editor.image.tooltip': string;
|
|
771
|
+
'editor.image.dragger.tooltip': string;
|
|
772
|
+
'editor.image.float.left.tooltip': string;
|
|
773
|
+
'editor.image.float.none.tooltip': string;
|
|
774
|
+
'editor.image.float.right.tooltip': string;
|
|
775
|
+
'editor.image.dialog.title': string;
|
|
776
|
+
'editor.image.dialog.tab.url': string;
|
|
777
|
+
'editor.image.dialog.tab.upload': string;
|
|
778
|
+
'editor.image.dialog.uploading': string;
|
|
779
|
+
'editor.image.dialog.form.link': string;
|
|
780
|
+
'editor.image.dialog.placeholder': string;
|
|
781
|
+
'editor.image.dialog.form.alt': string;
|
|
782
|
+
'editor.image.dialog.form.aspectRatio': string;
|
|
783
|
+
'editor.image.dialog.form.file': string;
|
|
784
|
+
'editor.image.dialog.button.apply': string;
|
|
785
|
+
'editor.video.tooltip': string;
|
|
786
|
+
'editor.video.dialog.tab.upload': string;
|
|
787
|
+
'editor.video.dialog.uploading': string;
|
|
788
|
+
'editor.video.dialog.title': string;
|
|
789
|
+
'editor.video.dialog.link': string;
|
|
790
|
+
'editor.video.dialog.placeholder': string;
|
|
791
|
+
'editor.video.dialog.button.apply': string;
|
|
792
|
+
'editor.table.tooltip': string;
|
|
793
|
+
'editor.table.menu.insert_table': string;
|
|
794
|
+
'editor.table.menu.insert_table.with_header_row': string;
|
|
795
|
+
'editor.table.menu.add_column_before': string;
|
|
796
|
+
'editor.table.menu.add_column_after': string;
|
|
797
|
+
'editor.table.menu.delete_column': string;
|
|
798
|
+
'editor.table.menu.add_row_before': string;
|
|
799
|
+
'editor.table.menu.add_row_after': string;
|
|
800
|
+
'editor.table.menu.delete_row': string;
|
|
801
|
+
'editor.table.menu.merge_or_split_cells': string;
|
|
802
|
+
'editor.table.menu.delete_table': string;
|
|
803
|
+
'editor.blockquote.tooltip': string;
|
|
804
|
+
'editor.horizontalrule.tooltip': string;
|
|
805
|
+
'editor.code.tooltip': string;
|
|
806
|
+
'editor.codeblock.tooltip': string;
|
|
807
|
+
'editor.clear.tooltip': string;
|
|
808
|
+
'editor.undo.tooltip': string;
|
|
809
|
+
'editor.redo.tooltip': string;
|
|
810
|
+
'editor.fullscreen.tooltip.fullscreen': string;
|
|
811
|
+
'editor.fullscreen.tooltip.exit': string;
|
|
812
|
+
'editor.imageUpload.fileTypeNotSupported': string;
|
|
813
|
+
'editor.imageUpload.fileSizeTooBig': string;
|
|
814
|
+
'editor.table.menu.insertColumnBefore': string;
|
|
815
|
+
'editor.table.menu.insertColumnAfter': string;
|
|
816
|
+
'editor.table.menu.deleteColumn': string;
|
|
817
|
+
'editor.table.menu.insertRowAbove': string;
|
|
818
|
+
'editor.table.menu.insertRowBelow': string;
|
|
819
|
+
'editor.table.menu.deleteRow': string;
|
|
820
|
+
'editor.table.menu.mergeCells': string;
|
|
821
|
+
'editor.table.menu.splitCells': string;
|
|
822
|
+
'editor.table.menu.deleteTable': string;
|
|
823
|
+
'editor.table.menu.setCellsBgColor': string;
|
|
824
|
+
'editor.emoji.tooltip': string;
|
|
825
|
+
'editor.iframe.tooltip': string;
|
|
826
|
+
'editor.searchAndReplace.tooltip': string;
|
|
827
|
+
'editor.search.dialog.text': string;
|
|
828
|
+
'editor.replace.dialog.text': string;
|
|
829
|
+
'editor.replaceAll.dialog.text': string;
|
|
830
|
+
'editor.previous.dialog.text': string;
|
|
831
|
+
'editor.next.dialog.text': string;
|
|
832
|
+
no_result_found: string;
|
|
833
|
+
'Smileys & People': string;
|
|
834
|
+
'Animals & Nature': string;
|
|
835
|
+
'Food & Drink': string;
|
|
836
|
+
Activity: string;
|
|
837
|
+
'Travel & Places': string;
|
|
838
|
+
Object: string;
|
|
839
|
+
Symbol: string;
|
|
840
|
+
Flags: string;
|
|
841
|
+
'Frequently used': string;
|
|
842
|
+
'editor.formula.dialog.text': string;
|
|
843
|
+
'editor.katex.tooltip': string;
|
|
844
|
+
'editor.exportPdf.tooltip': string;
|
|
845
|
+
'editor.exportWord.tooltip': string;
|
|
846
|
+
'editor.importWrod.tooltip': string;
|
|
847
|
+
};
|
|
848
|
+
|
|
697
849
|
declare interface Result {
|
|
698
850
|
from: number;
|
|
699
851
|
to: number;
|
|
@@ -1251,8 +1403,15 @@ declare module '@tiptap/core' {
|
|
|
1251
1403
|
|
|
1252
1404
|
declare module '@tiptap/core' {
|
|
1253
1405
|
interface Commands<ReturnType> {
|
|
1254
|
-
|
|
1255
|
-
|
|
1406
|
+
indent: {
|
|
1407
|
+
/**
|
|
1408
|
+
* Set the indent attribute
|
|
1409
|
+
*/
|
|
1410
|
+
indent: () => ReturnType;
|
|
1411
|
+
/**
|
|
1412
|
+
* Set the outdent attribute
|
|
1413
|
+
*/
|
|
1414
|
+
outdent: () => ReturnType;
|
|
1256
1415
|
};
|
|
1257
1416
|
}
|
|
1258
1417
|
}
|
|
@@ -1280,9 +1439,8 @@ declare module '@tiptap/core' {
|
|
|
1280
1439
|
|
|
1281
1440
|
declare module '@tiptap/core' {
|
|
1282
1441
|
interface Commands<ReturnType> {
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
unsetLineHeight: () => ReturnType;
|
|
1442
|
+
imageUpload: {
|
|
1443
|
+
setImageUpload: () => ReturnType;
|
|
1286
1444
|
};
|
|
1287
1445
|
}
|
|
1288
1446
|
}
|
|
@@ -1297,6 +1455,16 @@ declare module '@tiptap/core' {
|
|
|
1297
1455
|
}
|
|
1298
1456
|
|
|
1299
1457
|
|
|
1458
|
+
declare module '@tiptap/core' {
|
|
1459
|
+
interface Commands<ReturnType> {
|
|
1460
|
+
lineHeight: {
|
|
1461
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1462
|
+
unsetLineHeight: () => ReturnType;
|
|
1463
|
+
};
|
|
1464
|
+
}
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
|
|
1300
1468
|
declare module '@tiptap/core' {
|
|
1301
1469
|
interface Commands<ReturnType> {
|
|
1302
1470
|
columns: {
|
|
@@ -1323,8 +1491,13 @@ declare module '@tiptap/core' {
|
|
|
1323
1491
|
|
|
1324
1492
|
declare module '@tiptap/core' {
|
|
1325
1493
|
interface Commands<ReturnType> {
|
|
1326
|
-
|
|
1327
|
-
|
|
1494
|
+
search: {
|
|
1495
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1496
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1497
|
+
replace: () => ReturnType;
|
|
1498
|
+
replaceAll: () => ReturnType;
|
|
1499
|
+
goToPrevSearchResult: () => void;
|
|
1500
|
+
goToNextSearchResult: () => void;
|
|
1328
1501
|
};
|
|
1329
1502
|
}
|
|
1330
1503
|
}
|
|
@@ -1332,15 +1505,8 @@ declare module '@tiptap/core' {
|
|
|
1332
1505
|
|
|
1333
1506
|
declare module '@tiptap/core' {
|
|
1334
1507
|
interface Commands<ReturnType> {
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
* Set the indent attribute
|
|
1338
|
-
*/
|
|
1339
|
-
indent: () => ReturnType;
|
|
1340
|
-
/**
|
|
1341
|
-
* Set the outdent attribute
|
|
1342
|
-
*/
|
|
1343
|
-
outdent: () => ReturnType;
|
|
1508
|
+
katex: {
|
|
1509
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1344
1510
|
};
|
|
1345
1511
|
}
|
|
1346
1512
|
}
|
|
@@ -1363,17 +1529,11 @@ declare module '@tiptap/core' {
|
|
|
1363
1529
|
|
|
1364
1530
|
declare module '@tiptap/core' {
|
|
1365
1531
|
interface Commands<ReturnType> {
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
declare module '@tiptap/core' {
|
|
1374
|
-
interface Commands<ReturnType> {
|
|
1375
|
-
katex: {
|
|
1376
|
-
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1532
|
+
emoji: {
|
|
1533
|
+
setEmoji: (emoji: {
|
|
1534
|
+
name: string;
|
|
1535
|
+
emoji: string;
|
|
1536
|
+
}) => ReturnType;
|
|
1377
1537
|
};
|
|
1378
1538
|
}
|
|
1379
1539
|
}
|
|
@@ -1381,11 +1541,8 @@ declare module '@tiptap/core' {
|
|
|
1381
1541
|
|
|
1382
1542
|
declare module '@tiptap/core' {
|
|
1383
1543
|
interface Commands<ReturnType> {
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
name: string;
|
|
1387
|
-
emoji: string;
|
|
1388
|
-
}) => ReturnType;
|
|
1544
|
+
painter: {
|
|
1545
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1389
1546
|
};
|
|
1390
1547
|
}
|
|
1391
1548
|
}
|
|
@@ -1393,13 +1550,8 @@ declare module '@tiptap/core' {
|
|
|
1393
1550
|
|
|
1394
1551
|
declare module '@tiptap/core' {
|
|
1395
1552
|
interface Commands<ReturnType> {
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1399
|
-
replace: () => ReturnType;
|
|
1400
|
-
replaceAll: () => ReturnType;
|
|
1401
|
-
goToPrevSearchResult: () => void;
|
|
1402
|
-
goToNextSearchResult: () => void;
|
|
1553
|
+
exportWord: {
|
|
1554
|
+
exportToWord: () => ReturnType;
|
|
1403
1555
|
};
|
|
1404
1556
|
}
|
|
1405
1557
|
}
|