reactjs-tiptap-editor 0.0.34 → 0.0.36

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 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,34 @@ declare module '@tiptap/core' {
1251
1403
 
1252
1404
  declare module '@tiptap/core' {
1253
1405
  interface Commands<ReturnType> {
1254
- imageUpload: {
1255
- setImageUpload: () => ReturnType;
1406
+ indent: {
1407
+ /**
1408
+ * Set the indent attribute
1409
+ */
1410
+ indent: () => ReturnType;
1411
+ /**
1412
+ * Set the outdent attribute
1413
+ */
1414
+ outdent: () => ReturnType;
1415
+ };
1416
+ }
1417
+ }
1418
+
1419
+
1420
+ declare module '@tiptap/core' {
1421
+ interface Commands<ReturnType> {
1422
+ lineHeight: {
1423
+ setLineHeight: (lineHeight: string) => ReturnType;
1424
+ unsetLineHeight: () => ReturnType;
1425
+ };
1426
+ }
1427
+ }
1428
+
1429
+
1430
+ declare module '@tiptap/core' {
1431
+ interface Commands<ReturnType> {
1432
+ videoUpload: {
1433
+ setVideoUpload: () => ReturnType;
1256
1434
  };
1257
1435
  }
1258
1436
  }
@@ -1280,18 +1458,14 @@ declare module '@tiptap/core' {
1280
1458
 
1281
1459
  declare module '@tiptap/core' {
1282
1460
  interface Commands<ReturnType> {
1283
- lineHeight: {
1284
- setLineHeight: (lineHeight: string) => ReturnType;
1285
- unsetLineHeight: () => ReturnType;
1286
- };
1287
- }
1288
- }
1289
-
1290
-
1291
- declare module '@tiptap/core' {
1292
- interface Commands<ReturnType> {
1293
- videoUpload: {
1294
- setVideoUpload: () => ReturnType;
1461
+ iframe: {
1462
+ /**
1463
+ * Add an iframe
1464
+ */
1465
+ setIframe: (options: {
1466
+ src: string;
1467
+ service: string;
1468
+ }) => ReturnType;
1295
1469
  };
1296
1470
  }
1297
1471
  }
@@ -1332,30 +1506,8 @@ declare module '@tiptap/core' {
1332
1506
 
1333
1507
  declare module '@tiptap/core' {
1334
1508
  interface Commands<ReturnType> {
1335
- indent: {
1336
- /**
1337
- * Set the indent attribute
1338
- */
1339
- indent: () => ReturnType;
1340
- /**
1341
- * Set the outdent attribute
1342
- */
1343
- outdent: () => ReturnType;
1344
- };
1345
- }
1346
- }
1347
-
1348
-
1349
- declare module '@tiptap/core' {
1350
- interface Commands<ReturnType> {
1351
- iframe: {
1352
- /**
1353
- * Add an iframe
1354
- */
1355
- setIframe: (options: {
1356
- src: string;
1357
- service: string;
1358
- }) => ReturnType;
1509
+ imageUpload: {
1510
+ setImageUpload: () => ReturnType;
1359
1511
  };
1360
1512
  }
1361
1513
  }
@@ -1363,8 +1515,13 @@ declare module '@tiptap/core' {
1363
1515
 
1364
1516
  declare module '@tiptap/core' {
1365
1517
  interface Commands<ReturnType> {
1366
- exportWord: {
1367
- exportToWord: () => ReturnType;
1518
+ search: {
1519
+ setSearchTerm: (searchTerm: string) => ReturnType;
1520
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1521
+ replace: () => ReturnType;
1522
+ replaceAll: () => ReturnType;
1523
+ goToPrevSearchResult: () => void;
1524
+ goToNextSearchResult: () => void;
1368
1525
  };
1369
1526
  }
1370
1527
  }
@@ -1393,13 +1550,9 @@ declare module '@tiptap/core' {
1393
1550
 
1394
1551
  declare module '@tiptap/core' {
1395
1552
  interface Commands<ReturnType> {
1396
- search: {
1397
- setSearchTerm: (searchTerm: string) => ReturnType;
1398
- setReplaceTerm: (replaceTerm: string) => ReturnType;
1399
- replace: () => ReturnType;
1400
- replaceAll: () => ReturnType;
1401
- goToPrevSearchResult: () => void;
1402
- goToNextSearchResult: () => void;
1553
+ tableOfContents: {
1554
+ setTableOfContents: () => ReturnType;
1555
+ removeTableOfContents: () => ReturnType;
1403
1556
  };
1404
1557
  }
1405
1558
  }
@@ -1407,9 +1560,8 @@ declare module '@tiptap/core' {
1407
1560
 
1408
1561
  declare module '@tiptap/core' {
1409
1562
  interface Commands<ReturnType> {
1410
- tableOfContents: {
1411
- setTableOfContents: () => ReturnType;
1412
- removeTableOfContents: () => ReturnType;
1563
+ exportWord: {
1564
+ exportToWord: () => ReturnType;
1413
1565
  };
1414
1566
  }
1415
1567
  }
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,34 @@ declare module '@tiptap/core' {
1251
1403
 
1252
1404
  declare module '@tiptap/core' {
1253
1405
  interface Commands<ReturnType> {
1254
- imageUpload: {
1255
- setImageUpload: () => ReturnType;
1406
+ indent: {
1407
+ /**
1408
+ * Set the indent attribute
1409
+ */
1410
+ indent: () => ReturnType;
1411
+ /**
1412
+ * Set the outdent attribute
1413
+ */
1414
+ outdent: () => ReturnType;
1415
+ };
1416
+ }
1417
+ }
1418
+
1419
+
1420
+ declare module '@tiptap/core' {
1421
+ interface Commands<ReturnType> {
1422
+ lineHeight: {
1423
+ setLineHeight: (lineHeight: string) => ReturnType;
1424
+ unsetLineHeight: () => ReturnType;
1425
+ };
1426
+ }
1427
+ }
1428
+
1429
+
1430
+ declare module '@tiptap/core' {
1431
+ interface Commands<ReturnType> {
1432
+ videoUpload: {
1433
+ setVideoUpload: () => ReturnType;
1256
1434
  };
1257
1435
  }
1258
1436
  }
@@ -1280,18 +1458,14 @@ declare module '@tiptap/core' {
1280
1458
 
1281
1459
  declare module '@tiptap/core' {
1282
1460
  interface Commands<ReturnType> {
1283
- lineHeight: {
1284
- setLineHeight: (lineHeight: string) => ReturnType;
1285
- unsetLineHeight: () => ReturnType;
1286
- };
1287
- }
1288
- }
1289
-
1290
-
1291
- declare module '@tiptap/core' {
1292
- interface Commands<ReturnType> {
1293
- videoUpload: {
1294
- setVideoUpload: () => ReturnType;
1461
+ iframe: {
1462
+ /**
1463
+ * Add an iframe
1464
+ */
1465
+ setIframe: (options: {
1466
+ src: string;
1467
+ service: string;
1468
+ }) => ReturnType;
1295
1469
  };
1296
1470
  }
1297
1471
  }
@@ -1332,30 +1506,8 @@ declare module '@tiptap/core' {
1332
1506
 
1333
1507
  declare module '@tiptap/core' {
1334
1508
  interface Commands<ReturnType> {
1335
- indent: {
1336
- /**
1337
- * Set the indent attribute
1338
- */
1339
- indent: () => ReturnType;
1340
- /**
1341
- * Set the outdent attribute
1342
- */
1343
- outdent: () => ReturnType;
1344
- };
1345
- }
1346
- }
1347
-
1348
-
1349
- declare module '@tiptap/core' {
1350
- interface Commands<ReturnType> {
1351
- iframe: {
1352
- /**
1353
- * Add an iframe
1354
- */
1355
- setIframe: (options: {
1356
- src: string;
1357
- service: string;
1358
- }) => ReturnType;
1509
+ imageUpload: {
1510
+ setImageUpload: () => ReturnType;
1359
1511
  };
1360
1512
  }
1361
1513
  }
@@ -1363,8 +1515,13 @@ declare module '@tiptap/core' {
1363
1515
 
1364
1516
  declare module '@tiptap/core' {
1365
1517
  interface Commands<ReturnType> {
1366
- exportWord: {
1367
- exportToWord: () => ReturnType;
1518
+ search: {
1519
+ setSearchTerm: (searchTerm: string) => ReturnType;
1520
+ setReplaceTerm: (replaceTerm: string) => ReturnType;
1521
+ replace: () => ReturnType;
1522
+ replaceAll: () => ReturnType;
1523
+ goToPrevSearchResult: () => void;
1524
+ goToNextSearchResult: () => void;
1368
1525
  };
1369
1526
  }
1370
1527
  }
@@ -1393,13 +1550,9 @@ declare module '@tiptap/core' {
1393
1550
 
1394
1551
  declare module '@tiptap/core' {
1395
1552
  interface Commands<ReturnType> {
1396
- search: {
1397
- setSearchTerm: (searchTerm: string) => ReturnType;
1398
- setReplaceTerm: (replaceTerm: string) => ReturnType;
1399
- replace: () => ReturnType;
1400
- replaceAll: () => ReturnType;
1401
- goToPrevSearchResult: () => void;
1402
- goToNextSearchResult: () => void;
1553
+ tableOfContents: {
1554
+ setTableOfContents: () => ReturnType;
1555
+ removeTableOfContents: () => ReturnType;
1403
1556
  };
1404
1557
  }
1405
1558
  }
@@ -1407,9 +1560,8 @@ declare module '@tiptap/core' {
1407
1560
 
1408
1561
  declare module '@tiptap/core' {
1409
1562
  interface Commands<ReturnType> {
1410
- tableOfContents: {
1411
- setTableOfContents: () => ReturnType;
1412
- removeTableOfContents: () => ReturnType;
1563
+ exportWord: {
1564
+ exportToWord: () => ReturnType;
1413
1565
  };
1414
1566
  }
1415
1567
  }