reactjs-tiptap-editor 0.0.6 → 0.0.8

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
@@ -10,6 +10,7 @@ import { DropcursorOptions } from '@tiptap/extension-dropcursor';
10
10
  import { Editor } from '@tiptap/react';
11
11
  import { Extension } from '@tiptap/core';
12
12
  import { FocusOptions as FocusOptions_2 } from '@tiptap/extension-focus';
13
+ import { FontFamilyOptions as FontFamilyOptions_2 } from '@tiptap/extension-font-family';
13
14
  import { ForwardRefExoticComponent } from 'react';
14
15
  import { HardBreakOptions } from '@tiptap/extension-hard-break';
15
16
  import { HeadingOptions as HeadingOptions_2 } from '@tiptap/extension-heading';
@@ -239,8 +240,6 @@ declare enum ColumnLayout {
239
240
  TwoColumn = "two-column"
240
241
  }
241
242
 
242
- export declare const Columns: Node_2<ColumnsOptions, any>;
243
-
244
243
  export declare interface ColumnsOptions extends GeneralOptions<ColumnsOptions> {
245
244
  columnOptions: any;
246
245
  layout: ColumnLayout;
@@ -251,7 +250,137 @@ export declare const ColumnToolbar: Extension<any, any>;
251
250
  declare const _default: ForwardRefExoticComponent<IPropsRcTiptapEditor & RefAttributes<unknown>>;
252
251
  export default _default;
253
252
 
254
- export declare const FontFamily: Extension<any, any>;
253
+ export declare const en: {
254
+ 'editor.remove': string;
255
+ 'editor.copy': string;
256
+ 'editor.words': string;
257
+ 'editor.characters': string;
258
+ 'editor.default': string;
259
+ 'editor.recent': string;
260
+ 'editor.nofill': string;
261
+ 'editor.format': string;
262
+ 'editor.draghandle.tooltip': string;
263
+ 'editor.copyToClipboard': string;
264
+ 'editor.importWord.tooltip': string;
265
+ 'editor.slash': string;
266
+ 'editor.slash.empty': string;
267
+ 'editor.slash.format': string;
268
+ 'editor.slash.insert': string;
269
+ 'editor.slash.embed': string;
270
+ 'editor.content': string;
271
+ 'editor.fontFamily.tooltip': string;
272
+ 'editor.fontFamily.default.tooltip': string;
273
+ 'editor.moremark': string;
274
+ 'editor.size.small.tooltip': string;
275
+ 'editor.size.medium.tooltip': string;
276
+ 'editor.size.large.tooltip': string;
277
+ 'editor.bold.tooltip': string;
278
+ 'editor.italic.tooltip': string;
279
+ 'editor.underline.tooltip': string;
280
+ 'editor.strike.tooltip': string;
281
+ 'editor.color.tooltip': string;
282
+ 'editor.color.more': string;
283
+ 'editor.highlight.tooltip': string;
284
+ 'editor.lineheight.tooltip': string;
285
+ 'editor.heading.tooltip': string;
286
+ 'editor.heading.h1.tooltip': string;
287
+ 'editor.heading.h2.tooltip': string;
288
+ 'editor.heading.h3.tooltip': string;
289
+ 'editor.heading.h4.tooltip': string;
290
+ 'editor.heading.h5.tooltip': string;
291
+ 'editor.heading.h6.tooltip': string;
292
+ 'editor.paragraph.tooltip': string;
293
+ 'editor.textalign.tooltip': string;
294
+ 'editor.textalign.left.tooltip': string;
295
+ 'editor.textalign.center.tooltip': string;
296
+ 'editor.textalign.right.tooltip': string;
297
+ 'editor.textalign.justify.tooltip': string;
298
+ 'editor.indent': string;
299
+ 'editor.indent.indent': string;
300
+ 'editor.indent.outdent': string;
301
+ 'editor.fontSize.tooltip': string;
302
+ 'editor.fontSize.default.tooltip': string;
303
+ 'editor.superscript.tooltip': string;
304
+ 'editor.subscript.tooltip': string;
305
+ 'editor.bulletlist.tooltip': string;
306
+ 'editor.orderedlist.tooltip': string;
307
+ 'editor.tasklist.tooltip': string;
308
+ 'editor.indent.tooltip': string;
309
+ 'editor.outdent.tooltip': string;
310
+ 'editor.columns.tooltip': string;
311
+ 'editor.link.tooltip': string;
312
+ 'editor.link.unlink.tooltip': string;
313
+ 'editor.link.open.tooltip': string;
314
+ 'editor.link.edit.tooltip': string;
315
+ 'editor.link.dialog.title': string;
316
+ 'editor.link.dialog.link': string;
317
+ 'editor.link.dialog.text': string;
318
+ 'editor.link.dialog.openInNewTab': string;
319
+ 'editor.link.dialog.link.placeholder': string;
320
+ 'editor.link.dialog.text.placeholder': string;
321
+ 'editor.link.dialog.button.apply': string;
322
+ 'editor.image.tooltip': string;
323
+ 'editor.image.dragger.tooltip': string;
324
+ 'editor.image.float.left.tooltip': string;
325
+ 'editor.image.float.none.tooltip': string;
326
+ 'editor.image.float.right.tooltip': string;
327
+ 'editor.image.dialog.title': string;
328
+ 'editor.image.dialog.tab.url': string;
329
+ 'editor.image.dialog.tab.upload': string;
330
+ 'editor.image.dialog.uploading': string;
331
+ 'editor.image.dialog.form.link': string;
332
+ 'editor.image.dialog.placeholder': string;
333
+ 'editor.image.dialog.form.alt': string;
334
+ 'editor.image.dialog.form.aspectRatio': string;
335
+ 'editor.image.dialog.form.file': string;
336
+ 'editor.image.dialog.button.apply': string;
337
+ 'editor.video.tooltip': string;
338
+ 'editor.video.dialog.tab.upload': string;
339
+ 'editor.video.dialog.uploading': string;
340
+ 'editor.video.dialog.title': string;
341
+ 'editor.video.dialog.link': string;
342
+ 'editor.video.dialog.placeholder': string;
343
+ 'editor.video.dialog.button.apply': string;
344
+ 'editor.table.tooltip': string;
345
+ 'editor.table.menu.insert_table': string;
346
+ 'editor.table.menu.insert_table.with_header_row': string;
347
+ 'editor.table.menu.add_column_before': string;
348
+ 'editor.table.menu.add_column_after': string;
349
+ 'editor.table.menu.delete_column': string;
350
+ 'editor.table.menu.add_row_before': string;
351
+ 'editor.table.menu.add_row_after': string;
352
+ 'editor.table.menu.delete_row': string;
353
+ 'editor.table.menu.merge_or_split_cells': string;
354
+ 'editor.table.menu.delete_table': string;
355
+ 'editor.blockquote.tooltip': string;
356
+ 'editor.horizontalrule.tooltip': string;
357
+ 'editor.code.tooltip': string;
358
+ 'editor.codeblock.tooltip': string;
359
+ 'editor.clear.tooltip': string;
360
+ 'editor.undo.tooltip': string;
361
+ 'editor.redo.tooltip': string;
362
+ 'editor.fullscreen.tooltip.fullscreen': string;
363
+ 'editor.fullscreen.tooltip.exit': string;
364
+ 'editor.imageUpload.fileTypeNotSupported': string;
365
+ 'editor.imageUpload.fileSizeTooBig': string;
366
+ 'editor.table.menu.insertColumnBefore': string;
367
+ 'editor.table.menu.insertColumnAfter': string;
368
+ 'editor.table.menu.deleteColumn': string;
369
+ 'editor.table.menu.insertRowAbove': string;
370
+ 'editor.table.menu.insertRowBelow': string;
371
+ 'editor.table.menu.deleteRow': string;
372
+ 'editor.table.menu.mergeCells': string;
373
+ 'editor.table.menu.splitCells': string;
374
+ 'editor.table.menu.deleteTable': string;
375
+ 'editor.table.menu.setCellsBgColor': string;
376
+ 'editor.emoji.tooltip': string;
377
+ 'editor.iframe.tooltip': string;
378
+ };
379
+
380
+ export declare const FontFamily: Extension<FontFamilyOptions, any>;
381
+
382
+ declare interface FontFamilyOptions extends FontFamilyOptions_2, GeneralOptions<FontFamilyOptions> {
383
+ }
255
384
 
256
385
  export declare const FontSize: Extension<FontSizeOptions, any>;
257
386
 
@@ -291,6 +420,8 @@ declare interface GeneralOptions<T> {
291
420
  button: ButtonView<T>;
292
421
  /** Show on Toolbar */
293
422
  toolbar?: boolean;
423
+ /** Show on Bubble menu */
424
+ bubble?: boolean;
294
425
  }
295
426
 
296
427
  export declare const Heading: Node_2<HeadingOptions, any>;
@@ -370,7 +501,7 @@ export declare const Italic: Mark<ItalicOptions, any>;
370
501
  export declare interface ItalicOptions extends ItalicOptions_2, GeneralOptions<ItalicOptions> {
371
502
  }
372
503
 
373
- declare type LanguageType = 'en' | 'vi' | 'zh_CN';
504
+ declare type LanguageType = 'en' | 'vi' | 'zh_CN' | string;
374
505
 
375
506
  export declare const LineHeight: Extension<LineHeightOptions, any>;
376
507
 
@@ -390,20 +521,22 @@ declare class Locale {
390
521
  constructor();
391
522
  get lang(): LanguageType;
392
523
  set lang(lang: LanguageType);
393
- get message(): Record<LanguageType, Record<string, string>>;
394
- set message(message: Record<LanguageType, Record<string, string>>);
395
- loadLangMessage(lang: LanguageType): Record<string, string>;
524
+ get message(): Record<LanguageType, Record<MessageKeysType, string>>;
525
+ set message(message: Record<LanguageType, Record<MessageKeysType, string>>);
526
+ loadLangMessage(lang: LanguageType): Record<MessageKeysType, string>;
396
527
  private isLangSupported;
397
528
  setLang(lang: LanguageType): void;
398
529
  registerWatchLang(hook: (lang: LanguageType) => void): {
399
530
  unsubscribe: () => void;
400
531
  };
401
- setMessage(lang: LanguageType, message: Record<string, string>): void;
402
- buildLocalesHandler(lang?: LanguageType): (path: string) => string;
532
+ setMessage(lang: string, message: Record<MessageKeysType, string>): void;
533
+ buildLocalesHandler(lang?: LanguageType): (path: MessageKeysType) => string;
403
534
  }
404
535
 
405
536
  export declare const locale: Locale;
406
537
 
538
+ declare type MessageKeysType = keyof typeof en;
539
+
407
540
  export declare const MoreMark: Extension<MoreMarkOptions, any>;
408
541
 
409
542
  export declare interface MoreMarkOptions extends GeneralOptions<MoreMarkOptions> {
@@ -421,6 +554,8 @@ export declare interface MoreMarkOptions extends GeneralOptions<MoreMarkOptions>
421
554
  superscript: Partial<SuperscriptExtensionOptions> | false;
422
555
  }
423
556
 
557
+ export declare const MultiColumn: Node_2<ColumnsOptions, any>;
558
+
424
559
  export declare const OrderedList: Node_2<OrderedListOptions, any>;
425
560
 
426
561
  export declare interface OrderedListOptions extends OrderedListOptions_2, GeneralOptions<OrderedListOptions> {
@@ -465,10 +600,10 @@ export declare interface SubAndSuperScriptOptions extends GeneralOptions<SubAndS
465
600
 
466
601
  export declare const Table: Node_2<TableOptions, any>;
467
602
 
468
- declare type TableCellBackgroundOptions = {
603
+ declare interface TableCellBackgroundOptions {
469
604
  HTMLAttributes: Record<string, any>;
470
605
  types?: any;
471
- };
606
+ }
472
607
 
473
608
  export declare interface TableOptions extends GeneralOptions<TableOptions> {
474
609
  HTMLAttributes: Record<string, any>;
@@ -529,6 +664,133 @@ export declare const Underline: Mark<UnderlineOptions, any>;
529
664
  export declare interface UnderlineOptions extends UnderlineOptions_2, GeneralOptions<UnderlineOptions> {
530
665
  }
531
666
 
667
+ export declare const vi: {
668
+ 'editor.remove': string;
669
+ 'editor.copy': string;
670
+ 'editor.words': string;
671
+ 'editor.characters': string;
672
+ 'editor.default': string;
673
+ 'editor.recent': string;
674
+ 'editor.nofill': string;
675
+ 'editor.format': string;
676
+ 'editor.draghandle.tooltip': string;
677
+ 'editor.copyToClipboard': string;
678
+ 'editor.importWord.tooltip': string;
679
+ 'editor.slash': string;
680
+ 'editor.slash.empty': string;
681
+ 'editor.slash.format': string;
682
+ 'editor.slash.insert': string;
683
+ 'editor.slash.embed': string;
684
+ 'editor.content': string;
685
+ 'editor.moremark': string;
686
+ 'editor.size.small.tooltip': string;
687
+ 'editor.fontFamily.tooltip': string;
688
+ 'editor.fontFamily.default.tooltip': string;
689
+ 'editor.size.medium.tooltip': string;
690
+ 'editor.size.large.tooltip': string;
691
+ 'editor.bold.tooltip': string;
692
+ 'editor.italic.tooltip': string;
693
+ 'editor.underline.tooltip': string;
694
+ 'editor.strike.tooltip': string;
695
+ 'editor.color.tooltip': string;
696
+ 'editor.color.more': string;
697
+ 'editor.highlight.tooltip': string;
698
+ 'editor.lineheight.tooltip': string;
699
+ 'editor.heading.tooltip': string;
700
+ 'editor.heading.h1.tooltip': string;
701
+ 'editor.heading.h2.tooltip': string;
702
+ 'editor.heading.h3.tooltip': string;
703
+ 'editor.heading.h4.tooltip': string;
704
+ 'editor.heading.h5.tooltip': string;
705
+ 'editor.heading.h6.tooltip': string;
706
+ 'editor.paragraph.tooltip': string;
707
+ 'editor.textalign.tooltip': string;
708
+ 'editor.textalign.left.tooltip': string;
709
+ 'editor.textalign.center.tooltip': string;
710
+ 'editor.textalign.right.tooltip': string;
711
+ 'editor.textalign.justify.tooltip': string;
712
+ 'editor.indent': string;
713
+ 'editor.indent.indent': string;
714
+ 'editor.indent.outdent': string;
715
+ 'editor.fontSize.tooltip': string;
716
+ 'editor.fontSize.default.tooltip': string;
717
+ 'editor.superscript.tooltip': string;
718
+ 'editor.subscript.tooltip': string;
719
+ 'editor.bulletlist.tooltip': string;
720
+ 'editor.orderedlist.tooltip': string;
721
+ 'editor.tasklist.tooltip': string;
722
+ 'editor.indent.tooltip': string;
723
+ 'editor.outdent.tooltip': string;
724
+ 'editor.columns.tooltip': string;
725
+ 'editor.link.tooltip': string;
726
+ 'editor.link.unlink.tooltip': string;
727
+ 'editor.link.open.tooltip': string;
728
+ 'editor.link.edit.tooltip': string;
729
+ 'editor.link.dialog.title': string;
730
+ 'editor.link.dialog.link': string;
731
+ 'editor.link.dialog.text': string;
732
+ 'editor.link.dialog.openInNewTab': string;
733
+ 'editor.link.dialog.link.placeholder': string;
734
+ 'editor.link.dialog.text.placeholder': string;
735
+ 'editor.link.dialog.button.apply': string;
736
+ 'editor.image.tooltip': string;
737
+ 'editor.image.dragger.tooltip': string;
738
+ 'editor.image.float.left.tooltip': string;
739
+ 'editor.image.float.none.tooltip': string;
740
+ 'editor.image.float.right.tooltip': string;
741
+ 'editor.image.dialog.title': string;
742
+ 'editor.image.dialog.tab.url': string;
743
+ 'editor.image.dialog.tab.upload': string;
744
+ 'editor.image.dialog.uploading': string;
745
+ 'editor.image.dialog.form.link': string;
746
+ 'editor.image.dialog.placeholder': string;
747
+ 'editor.image.dialog.form.alt': string;
748
+ 'editor.image.dialog.form.aspectRatio': string;
749
+ 'editor.image.dialog.form.file': string;
750
+ 'editor.image.dialog.button.apply': string;
751
+ 'editor.video.tooltip': string;
752
+ 'editor.video.dialog.tab.upload': string;
753
+ 'editor.video.dialog.uploading': string;
754
+ 'editor.video.dialog.title': string;
755
+ 'editor.video.dialog.link': string;
756
+ 'editor.video.dialog.placeholder': string;
757
+ 'editor.video.dialog.button.apply': string;
758
+ 'editor.table.tooltip': string;
759
+ 'editor.table.menu.insert_table': string;
760
+ 'editor.table.menu.insert_table.with_header_row': string;
761
+ 'editor.table.menu.add_column_before': string;
762
+ 'editor.table.menu.add_column_after': string;
763
+ 'editor.table.menu.delete_column': string;
764
+ 'editor.table.menu.add_row_before': string;
765
+ 'editor.table.menu.add_row_after': string;
766
+ 'editor.table.menu.delete_row': string;
767
+ 'editor.table.menu.merge_or_split_cells': string;
768
+ 'editor.table.menu.delete_table': string;
769
+ 'editor.blockquote.tooltip': string;
770
+ 'editor.horizontalrule.tooltip': string;
771
+ 'editor.code.tooltip': string;
772
+ 'editor.codeblock.tooltip': string;
773
+ 'editor.clear.tooltip': string;
774
+ 'editor.undo.tooltip': string;
775
+ 'editor.redo.tooltip': string;
776
+ 'editor.fullscreen.tooltip.fullscreen': string;
777
+ 'editor.fullscreen.tooltip.exit': string;
778
+ 'editor.imageUpload.fileTypeNotSupported': string;
779
+ 'editor.imageUpload.fileSizeTooBig': string;
780
+ 'editor.table.menu.insertColumnBefore': string;
781
+ 'editor.table.menu.insertColumnAfter': string;
782
+ 'editor.table.menu.deleteColumn': string;
783
+ 'editor.table.menu.insertRowAbove': string;
784
+ 'editor.table.menu.insertRowBelow': string;
785
+ 'editor.table.menu.deleteRow': string;
786
+ 'editor.table.menu.mergeCells': string;
787
+ 'editor.table.menu.splitCells': string;
788
+ 'editor.table.menu.deleteTable': string;
789
+ 'editor.table.menu.setCellsBgColor': string;
790
+ 'editor.emoji.tooltip': string;
791
+ 'editor.iframe.tooltip': string;
792
+ };
793
+
532
794
  export declare const Video: Node_2<VideoOptions, any>;
533
795
 
534
796
  /**
@@ -566,6 +828,133 @@ declare interface VideoOptions_2 {
566
828
 
567
829
  export declare const VideoUpload: Node_2<VideoOptions_2, any>;
568
830
 
831
+ export declare const zh_CN: {
832
+ 'editor.remove': string;
833
+ 'editor.copy': string;
834
+ 'editor.words': string;
835
+ 'editor.characters': string;
836
+ 'editor.default': string;
837
+ 'editor.recent': string;
838
+ 'editor.nofill': string;
839
+ 'editor.format': string;
840
+ 'editor.draghandle.tooltip': string;
841
+ 'editor.copyToClipboard': string;
842
+ 'editor.importWord.tooltip': string;
843
+ 'editor.slash': string;
844
+ 'editor.slash.empty': string;
845
+ 'editor.slash.format': string;
846
+ 'editor.slash.insert': string;
847
+ 'editor.slash.embed': string;
848
+ 'editor.content': string;
849
+ 'editor.fontFamily.tooltip': string;
850
+ 'editor.fontFamily.default.tooltip': string;
851
+ 'editor.moremark': string;
852
+ 'editor.size.small.tooltip': string;
853
+ 'editor.size.medium.tooltip': string;
854
+ 'editor.size.large.tooltip': string;
855
+ 'editor.bold.tooltip': string;
856
+ 'editor.italic.tooltip': string;
857
+ 'editor.underline.tooltip': string;
858
+ 'editor.strike.tooltip': string;
859
+ 'editor.color.tooltip': string;
860
+ 'editor.color.more': string;
861
+ 'editor.highlight.tooltip': string;
862
+ 'editor.lineheight.tooltip': string;
863
+ 'editor.heading.tooltip': string;
864
+ 'editor.heading.h1.tooltip': string;
865
+ 'editor.heading.h2.tooltip': string;
866
+ 'editor.heading.h3.tooltip': string;
867
+ 'editor.heading.h4.tooltip': string;
868
+ 'editor.heading.h5.tooltip': string;
869
+ 'editor.heading.h6.tooltip': string;
870
+ 'editor.paragraph.tooltip': string;
871
+ 'editor.textalign.tooltip': string;
872
+ 'editor.textalign.left.tooltip': string;
873
+ 'editor.textalign.center.tooltip': string;
874
+ 'editor.textalign.right.tooltip': string;
875
+ 'editor.textalign.justify.tooltip': string;
876
+ 'editor.indent': string;
877
+ 'editor.indent.indent': string;
878
+ 'editor.indent.outdent': string;
879
+ 'editor.fontSize.tooltip': string;
880
+ 'editor.fontSize.default.tooltip': string;
881
+ 'editor.superscript.tooltip': string;
882
+ 'editor.subscript.tooltip': string;
883
+ 'editor.bulletlist.tooltip': string;
884
+ 'editor.orderedlist.tooltip': string;
885
+ 'editor.tasklist.tooltip': string;
886
+ 'editor.indent.tooltip': string;
887
+ 'editor.outdent.tooltip': string;
888
+ 'editor.columns.tooltip': string;
889
+ 'editor.link.tooltip': string;
890
+ 'editor.link.unlink.tooltip': string;
891
+ 'editor.link.open.tooltip': string;
892
+ 'editor.link.edit.tooltip': string;
893
+ 'editor.link.dialog.title': string;
894
+ 'editor.link.dialog.link': string;
895
+ 'editor.link.dialog.text': string;
896
+ 'editor.link.dialog.openInNewTab': string;
897
+ 'editor.link.dialog.link.placeholder': string;
898
+ 'editor.link.dialog.text.placeholder': string;
899
+ 'editor.link.dialog.button.apply': string;
900
+ 'editor.image.tooltip': string;
901
+ 'editor.image.dragger.tooltip': string;
902
+ 'editor.image.float.left.tooltip': string;
903
+ 'editor.image.float.none.tooltip': string;
904
+ 'editor.image.float.right.tooltip': string;
905
+ 'editor.image.dialog.title': string;
906
+ 'editor.image.dialog.tab.url': string;
907
+ 'editor.image.dialog.tab.upload': string;
908
+ 'editor.image.dialog.uploading': string;
909
+ 'editor.image.dialog.form.link': string;
910
+ 'editor.image.dialog.placeholder': string;
911
+ 'editor.image.dialog.form.alt': string;
912
+ 'editor.image.dialog.form.aspectRatio': string;
913
+ 'editor.image.dialog.form.file': string;
914
+ 'editor.image.dialog.button.apply': string;
915
+ 'editor.video.tooltip': string;
916
+ 'editor.video.dialog.tab.upload': string;
917
+ 'editor.video.dialog.uploading': string;
918
+ 'editor.video.dialog.title': string;
919
+ 'editor.video.dialog.link': string;
920
+ 'editor.video.dialog.placeholder': string;
921
+ 'editor.video.dialog.button.apply': string;
922
+ 'editor.table.tooltip': string;
923
+ 'editor.table.menu.insert_table': string;
924
+ 'editor.table.menu.insert_table.with_header_row': string;
925
+ 'editor.table.menu.add_column_before': string;
926
+ 'editor.table.menu.add_column_after': string;
927
+ 'editor.table.menu.delete_column': string;
928
+ 'editor.table.menu.add_row_before': string;
929
+ 'editor.table.menu.add_row_after': string;
930
+ 'editor.table.menu.delete_row': string;
931
+ 'editor.table.menu.merge_or_split_cells': string;
932
+ 'editor.table.menu.delete_table': string;
933
+ 'editor.blockquote.tooltip': string;
934
+ 'editor.horizontalrule.tooltip': string;
935
+ 'editor.code.tooltip': string;
936
+ 'editor.codeblock.tooltip': string;
937
+ 'editor.clear.tooltip': string;
938
+ 'editor.undo.tooltip': string;
939
+ 'editor.redo.tooltip': string;
940
+ 'editor.fullscreen.tooltip.fullscreen': string;
941
+ 'editor.fullscreen.tooltip.exit': string;
942
+ 'editor.imageUpload.fileTypeNotSupported': string;
943
+ 'editor.imageUpload.fileSizeTooBig': string;
944
+ 'editor.table.menu.insertColumnBefore': string;
945
+ 'editor.table.menu.insertColumnAfter': string;
946
+ 'editor.table.menu.deleteColumn': string;
947
+ 'editor.table.menu.insertRowAbove': string;
948
+ 'editor.table.menu.insertRowBelow': string;
949
+ 'editor.table.menu.deleteRow': string;
950
+ 'editor.table.menu.mergeCells': string;
951
+ 'editor.table.menu.splitCells': string;
952
+ 'editor.table.menu.deleteTable': string;
953
+ 'editor.table.menu.setCellsBgColor': string;
954
+ 'editor.emoji.tooltip': string;
955
+ 'editor.iframe.tooltip': string;
956
+ };
957
+
569
958
  export { }
570
959
 
571
960
 
@@ -603,16 +992,6 @@ declare module '@tiptap/core' {
603
992
  }
604
993
 
605
994
 
606
- declare module '@tiptap/core' {
607
- interface Commands<ReturnType> {
608
- lineHeight: {
609
- setLineHeight: (lineHeight: string) => ReturnType;
610
- unsetLineHeight: () => ReturnType;
611
- };
612
- }
613
- }
614
-
615
-
616
995
  declare module '@tiptap/core' {
617
996
  interface Commands<ReturnType> {
618
997
  indent: {
@@ -631,15 +1010,8 @@ declare module '@tiptap/core' {
631
1010
 
632
1011
  declare module '@tiptap/core' {
633
1012
  interface Commands<ReturnType> {
634
- imageResize: {
635
- /**
636
- * Add an image
637
- */
638
- setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
639
- /**
640
- * Update an image
641
- */
642
- updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1013
+ videoUpload: {
1014
+ setVideoUpload: () => ReturnType;
643
1015
  };
644
1016
  }
645
1017
  }
@@ -647,8 +1019,9 @@ declare module '@tiptap/core' {
647
1019
 
648
1020
  declare module '@tiptap/core' {
649
1021
  interface Commands<ReturnType> {
650
- imageUpload: {
651
- setImageUpload: () => ReturnType;
1022
+ lineHeight: {
1023
+ setLineHeight: (lineHeight: string) => ReturnType;
1024
+ unsetLineHeight: () => ReturnType;
652
1025
  };
653
1026
  }
654
1027
  }
@@ -656,9 +1029,8 @@ declare module '@tiptap/core' {
656
1029
 
657
1030
  declare module '@tiptap/core' {
658
1031
  interface Commands<ReturnType> {
659
- columns: {
660
- setColumns: () => ReturnType;
661
- setLayout: (layout: ColumnLayout) => ReturnType;
1032
+ imageUpload: {
1033
+ setImageUpload: () => ReturnType;
662
1034
  };
663
1035
  }
664
1036
  }
@@ -675,9 +1047,9 @@ declare module '@tiptap/core' {
675
1047
 
676
1048
  declare module '@tiptap/core' {
677
1049
  interface Commands<ReturnType> {
678
- tableCellBackground: {
679
- setTableCellBackground: (color: string) => ReturnType;
680
- unsetTableCellBackground: () => ReturnType;
1050
+ columns: {
1051
+ setColumns: () => ReturnType;
1052
+ setLayout: (layout: ColumnLayout) => ReturnType;
681
1053
  };
682
1054
  }
683
1055
  }
@@ -685,8 +1057,14 @@ declare module '@tiptap/core' {
685
1057
 
686
1058
  declare module '@tiptap/core' {
687
1059
  interface Commands<ReturnType> {
688
- videoUpload: {
689
- setVideoUpload: () => ReturnType;
1060
+ iframe: {
1061
+ /**
1062
+ * Add an iframe
1063
+ */
1064
+ setIframe: (options: {
1065
+ src: string;
1066
+ service: string;
1067
+ }) => ReturnType;
690
1068
  };
691
1069
  }
692
1070
  }
@@ -694,14 +1072,30 @@ declare module '@tiptap/core' {
694
1072
 
695
1073
  declare module '@tiptap/core' {
696
1074
  interface Commands<ReturnType> {
697
- iframe: {
1075
+ imageResize: {
698
1076
  /**
699
- * Add an iframe
1077
+ * Add an image
700
1078
  */
701
- setIframe: (options: {
702
- src: string;
703
- service: string;
704
- }) => ReturnType;
1079
+ setImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
1080
+ /**
1081
+ * Update an image
1082
+ */
1083
+ updateImage: (options: Partial<SetImageAttrsOptions>) => ReturnType;
705
1084
  };
706
1085
  }
707
1086
  }
1087
+
1088
+
1089
+ declare module '@tiptap/core' {
1090
+ interface Commands<ReturnType> {
1091
+ tableCellBackground: {
1092
+ setTableCellBackground: (color: string) => ReturnType;
1093
+ unsetTableCellBackground: () => ReturnType;
1094
+ };
1095
+ }
1096
+ }
1097
+
1098
+
1099
+ declare namespace DropdownMenuShortcut {
1100
+ var displayName: string;
1101
+ }