reactjs-tiptap-editor 0.2.19 → 0.2.20

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.
@@ -716,9 +716,9 @@ declare module '@tiptap/core' {
716
716
 
717
717
  declare module '@tiptap/core' {
718
718
  interface Commands<ReturnType> {
719
- lineHeight: {
720
- setLineHeight: (lineHeight: string) => ReturnType;
721
- unsetLineHeight: () => ReturnType;
719
+ tableCellBackground: {
720
+ setTableCellBackground: (color: string) => ReturnType;
721
+ unsetTableCellBackground: () => ReturnType;
722
722
  };
723
723
  }
724
724
  }
@@ -746,9 +746,8 @@ declare module '@tiptap/core' {
746
746
 
747
747
  declare module '@tiptap/core' {
748
748
  interface Commands<ReturnType> {
749
- tableCellBackground: {
750
- setTableCellBackground: (color: string) => ReturnType;
751
- unsetTableCellBackground: () => ReturnType;
749
+ katex: {
750
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
752
751
  };
753
752
  }
754
753
  }
@@ -756,8 +755,13 @@ declare module '@tiptap/core' {
756
755
 
757
756
  declare module '@tiptap/core' {
758
757
  interface Commands<ReturnType> {
759
- painter: {
760
- setPainter: (marks: Mark[]) => ReturnType;
758
+ columns: {
759
+ insertColumns: (attrs?: {
760
+ cols: number;
761
+ }) => ReturnType;
762
+ addColBefore: () => ReturnType;
763
+ addColAfter: () => ReturnType;
764
+ deleteCol: () => ReturnType;
761
765
  };
762
766
  }
763
767
  }
@@ -765,13 +769,21 @@ declare module '@tiptap/core' {
765
769
 
766
770
  declare module '@tiptap/core' {
767
771
  interface Commands<ReturnType> {
768
- columns: {
769
- insertColumns: (attrs?: {
770
- cols: number;
772
+ emoji: {
773
+ setEmoji: (emoji: {
774
+ name: string;
775
+ emoji: string;
771
776
  }) => ReturnType;
772
- addColBefore: () => ReturnType;
773
- addColAfter: () => ReturnType;
774
- deleteCol: () => ReturnType;
777
+ };
778
+ }
779
+ }
780
+
781
+
782
+ declare module '@tiptap/core' {
783
+ interface Commands<ReturnType> {
784
+ lineHeight: {
785
+ setLineHeight: (lineHeight: string) => ReturnType;
786
+ unsetLineHeight: () => ReturnType;
775
787
  };
776
788
  }
777
789
  }
@@ -809,11 +821,8 @@ declare module '@tiptap/core' {
809
821
 
810
822
  declare module '@tiptap/core' {
811
823
  interface Commands<ReturnType> {
812
- emoji: {
813
- setEmoji: (emoji: {
814
- name: string;
815
- emoji: string;
816
- }) => ReturnType;
824
+ painter: {
825
+ setPainter: (marks: Mark[]) => ReturnType;
817
826
  };
818
827
  }
819
828
  }
@@ -821,8 +830,8 @@ declare module '@tiptap/core' {
821
830
 
822
831
  declare module '@tiptap/core' {
823
832
  interface Commands<ReturnType> {
824
- katex: {
825
- setKatex: (arg?: IKatexAttrs) => ReturnType;
833
+ exportWord: {
834
+ exportToWord: () => ReturnType;
826
835
  };
827
836
  }
828
837
  }
@@ -830,8 +839,9 @@ declare module '@tiptap/core' {
830
839
 
831
840
  declare module '@tiptap/core' {
832
841
  interface Commands<ReturnType> {
833
- exportWord: {
834
- exportToWord: () => ReturnType;
842
+ tableOfContents: {
843
+ setTableOfContents: () => ReturnType;
844
+ removeTableOfContents: () => ReturnType;
835
845
  };
836
846
  }
837
847
  }
@@ -839,9 +849,8 @@ declare module '@tiptap/core' {
839
849
 
840
850
  declare module '@tiptap/core' {
841
851
  interface Commands<ReturnType> {
842
- tableOfContents: {
843
- setTableOfContents: () => ReturnType;
844
- removeTableOfContents: () => ReturnType;
852
+ excalidraw: {
853
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
845
854
  };
846
855
  }
847
856
  }
@@ -858,9 +867,19 @@ declare module '@tiptap/core' {
858
867
 
859
868
  declare module '@tiptap/core' {
860
869
  interface Commands<ReturnType> {
861
- drawer: {
862
- setDrawer: (options: any, replace?: any) => ReturnType;
863
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
870
+ imageGifUpload: {
871
+ /**
872
+ * Add an image gif
873
+ */
874
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
875
+ /**
876
+ * Update an image gif
877
+ */
878
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
879
+ /**
880
+ * Set image alignment
881
+ */
882
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
864
883
  };
865
884
  }
866
885
  }
@@ -868,8 +887,9 @@ declare module '@tiptap/core' {
868
887
 
869
888
  declare module '@tiptap/core' {
870
889
  interface Commands<ReturnType> {
871
- excalidraw: {
872
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
890
+ drawer: {
891
+ setDrawer: (options: any, replace?: any) => ReturnType;
892
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
873
893
  };
874
894
  }
875
895
  }
@@ -898,23 +918,3 @@ declare module '@tiptap/core' {
898
918
  };
899
919
  }
900
920
  }
901
-
902
-
903
- declare module '@tiptap/core' {
904
- interface Commands<ReturnType> {
905
- imageGifUpload: {
906
- /**
907
- * Add an image gif
908
- */
909
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
910
- /**
911
- * Update an image gif
912
- */
913
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
914
- /**
915
- * Set image alignment
916
- */
917
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
918
- };
919
- }
920
- }
@@ -716,9 +716,9 @@ declare module '@tiptap/core' {
716
716
 
717
717
  declare module '@tiptap/core' {
718
718
  interface Commands<ReturnType> {
719
- lineHeight: {
720
- setLineHeight: (lineHeight: string) => ReturnType;
721
- unsetLineHeight: () => ReturnType;
719
+ tableCellBackground: {
720
+ setTableCellBackground: (color: string) => ReturnType;
721
+ unsetTableCellBackground: () => ReturnType;
722
722
  };
723
723
  }
724
724
  }
@@ -746,9 +746,8 @@ declare module '@tiptap/core' {
746
746
 
747
747
  declare module '@tiptap/core' {
748
748
  interface Commands<ReturnType> {
749
- tableCellBackground: {
750
- setTableCellBackground: (color: string) => ReturnType;
751
- unsetTableCellBackground: () => ReturnType;
749
+ katex: {
750
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
752
751
  };
753
752
  }
754
753
  }
@@ -756,8 +755,13 @@ declare module '@tiptap/core' {
756
755
 
757
756
  declare module '@tiptap/core' {
758
757
  interface Commands<ReturnType> {
759
- painter: {
760
- setPainter: (marks: Mark[]) => ReturnType;
758
+ columns: {
759
+ insertColumns: (attrs?: {
760
+ cols: number;
761
+ }) => ReturnType;
762
+ addColBefore: () => ReturnType;
763
+ addColAfter: () => ReturnType;
764
+ deleteCol: () => ReturnType;
761
765
  };
762
766
  }
763
767
  }
@@ -765,13 +769,21 @@ declare module '@tiptap/core' {
765
769
 
766
770
  declare module '@tiptap/core' {
767
771
  interface Commands<ReturnType> {
768
- columns: {
769
- insertColumns: (attrs?: {
770
- cols: number;
772
+ emoji: {
773
+ setEmoji: (emoji: {
774
+ name: string;
775
+ emoji: string;
771
776
  }) => ReturnType;
772
- addColBefore: () => ReturnType;
773
- addColAfter: () => ReturnType;
774
- deleteCol: () => ReturnType;
777
+ };
778
+ }
779
+ }
780
+
781
+
782
+ declare module '@tiptap/core' {
783
+ interface Commands<ReturnType> {
784
+ lineHeight: {
785
+ setLineHeight: (lineHeight: string) => ReturnType;
786
+ unsetLineHeight: () => ReturnType;
775
787
  };
776
788
  }
777
789
  }
@@ -809,11 +821,8 @@ declare module '@tiptap/core' {
809
821
 
810
822
  declare module '@tiptap/core' {
811
823
  interface Commands<ReturnType> {
812
- emoji: {
813
- setEmoji: (emoji: {
814
- name: string;
815
- emoji: string;
816
- }) => ReturnType;
824
+ painter: {
825
+ setPainter: (marks: Mark[]) => ReturnType;
817
826
  };
818
827
  }
819
828
  }
@@ -821,8 +830,8 @@ declare module '@tiptap/core' {
821
830
 
822
831
  declare module '@tiptap/core' {
823
832
  interface Commands<ReturnType> {
824
- katex: {
825
- setKatex: (arg?: IKatexAttrs) => ReturnType;
833
+ exportWord: {
834
+ exportToWord: () => ReturnType;
826
835
  };
827
836
  }
828
837
  }
@@ -830,8 +839,9 @@ declare module '@tiptap/core' {
830
839
 
831
840
  declare module '@tiptap/core' {
832
841
  interface Commands<ReturnType> {
833
- exportWord: {
834
- exportToWord: () => ReturnType;
842
+ tableOfContents: {
843
+ setTableOfContents: () => ReturnType;
844
+ removeTableOfContents: () => ReturnType;
835
845
  };
836
846
  }
837
847
  }
@@ -839,9 +849,8 @@ declare module '@tiptap/core' {
839
849
 
840
850
  declare module '@tiptap/core' {
841
851
  interface Commands<ReturnType> {
842
- tableOfContents: {
843
- setTableOfContents: () => ReturnType;
844
- removeTableOfContents: () => ReturnType;
852
+ excalidraw: {
853
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
845
854
  };
846
855
  }
847
856
  }
@@ -858,9 +867,19 @@ declare module '@tiptap/core' {
858
867
 
859
868
  declare module '@tiptap/core' {
860
869
  interface Commands<ReturnType> {
861
- drawer: {
862
- setDrawer: (options: any, replace?: any) => ReturnType;
863
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
870
+ imageGifUpload: {
871
+ /**
872
+ * Add an image gif
873
+ */
874
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
875
+ /**
876
+ * Update an image gif
877
+ */
878
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
879
+ /**
880
+ * Set image alignment
881
+ */
882
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
864
883
  };
865
884
  }
866
885
  }
@@ -868,8 +887,9 @@ declare module '@tiptap/core' {
868
887
 
869
888
  declare module '@tiptap/core' {
870
889
  interface Commands<ReturnType> {
871
- excalidraw: {
872
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
890
+ drawer: {
891
+ setDrawer: (options: any, replace?: any) => ReturnType;
892
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
873
893
  };
874
894
  }
875
895
  }
@@ -898,23 +918,3 @@ declare module '@tiptap/core' {
898
918
  };
899
919
  }
900
920
  }
901
-
902
-
903
- declare module '@tiptap/core' {
904
- interface Commands<ReturnType> {
905
- imageGifUpload: {
906
- /**
907
- * Add an image gif
908
- */
909
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
910
- /**
911
- * Update an image gif
912
- */
913
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
914
- /**
915
- * Set image alignment
916
- */
917
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
918
- };
919
- }
920
- }
package/lib/index.d.cts CHANGED
@@ -267,9 +267,9 @@ declare module '@tiptap/core' {
267
267
 
268
268
  declare module '@tiptap/core' {
269
269
  interface Commands<ReturnType> {
270
- lineHeight: {
271
- setLineHeight: (lineHeight: string) => ReturnType;
272
- unsetLineHeight: () => ReturnType;
270
+ tableCellBackground: {
271
+ setTableCellBackground: (color: string) => ReturnType;
272
+ unsetTableCellBackground: () => ReturnType;
273
273
  };
274
274
  }
275
275
  }
@@ -297,9 +297,8 @@ declare module '@tiptap/core' {
297
297
 
298
298
  declare module '@tiptap/core' {
299
299
  interface Commands<ReturnType> {
300
- tableCellBackground: {
301
- setTableCellBackground: (color: string) => ReturnType;
302
- unsetTableCellBackground: () => ReturnType;
300
+ katex: {
301
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
303
302
  };
304
303
  }
305
304
  }
@@ -307,8 +306,13 @@ declare module '@tiptap/core' {
307
306
 
308
307
  declare module '@tiptap/core' {
309
308
  interface Commands<ReturnType> {
310
- painter: {
311
- setPainter: (marks: Mark[]) => ReturnType;
309
+ columns: {
310
+ insertColumns: (attrs?: {
311
+ cols: number;
312
+ }) => ReturnType;
313
+ addColBefore: () => ReturnType;
314
+ addColAfter: () => ReturnType;
315
+ deleteCol: () => ReturnType;
312
316
  };
313
317
  }
314
318
  }
@@ -316,13 +320,21 @@ declare module '@tiptap/core' {
316
320
 
317
321
  declare module '@tiptap/core' {
318
322
  interface Commands<ReturnType> {
319
- columns: {
320
- insertColumns: (attrs?: {
321
- cols: number;
323
+ emoji: {
324
+ setEmoji: (emoji: {
325
+ name: string;
326
+ emoji: string;
322
327
  }) => ReturnType;
323
- addColBefore: () => ReturnType;
324
- addColAfter: () => ReturnType;
325
- deleteCol: () => ReturnType;
328
+ };
329
+ }
330
+ }
331
+
332
+
333
+ declare module '@tiptap/core' {
334
+ interface Commands<ReturnType> {
335
+ lineHeight: {
336
+ setLineHeight: (lineHeight: string) => ReturnType;
337
+ unsetLineHeight: () => ReturnType;
326
338
  };
327
339
  }
328
340
  }
@@ -360,11 +372,8 @@ declare module '@tiptap/core' {
360
372
 
361
373
  declare module '@tiptap/core' {
362
374
  interface Commands<ReturnType> {
363
- emoji: {
364
- setEmoji: (emoji: {
365
- name: string;
366
- emoji: string;
367
- }) => ReturnType;
375
+ painter: {
376
+ setPainter: (marks: Mark[]) => ReturnType;
368
377
  };
369
378
  }
370
379
  }
@@ -372,8 +381,8 @@ declare module '@tiptap/core' {
372
381
 
373
382
  declare module '@tiptap/core' {
374
383
  interface Commands<ReturnType> {
375
- katex: {
376
- setKatex: (arg?: IKatexAttrs) => ReturnType;
384
+ exportWord: {
385
+ exportToWord: () => ReturnType;
377
386
  };
378
387
  }
379
388
  }
@@ -381,8 +390,9 @@ declare module '@tiptap/core' {
381
390
 
382
391
  declare module '@tiptap/core' {
383
392
  interface Commands<ReturnType> {
384
- exportWord: {
385
- exportToWord: () => ReturnType;
393
+ tableOfContents: {
394
+ setTableOfContents: () => ReturnType;
395
+ removeTableOfContents: () => ReturnType;
386
396
  };
387
397
  }
388
398
  }
@@ -390,9 +400,8 @@ declare module '@tiptap/core' {
390
400
 
391
401
  declare module '@tiptap/core' {
392
402
  interface Commands<ReturnType> {
393
- tableOfContents: {
394
- setTableOfContents: () => ReturnType;
395
- removeTableOfContents: () => ReturnType;
403
+ excalidraw: {
404
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
396
405
  };
397
406
  }
398
407
  }
@@ -409,9 +418,19 @@ declare module '@tiptap/core' {
409
418
 
410
419
  declare module '@tiptap/core' {
411
420
  interface Commands<ReturnType> {
412
- drawer: {
413
- setDrawer: (options: any, replace?: any) => ReturnType;
414
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
421
+ imageGifUpload: {
422
+ /**
423
+ * Add an image gif
424
+ */
425
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
426
+ /**
427
+ * Update an image gif
428
+ */
429
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
430
+ /**
431
+ * Set image alignment
432
+ */
433
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
415
434
  };
416
435
  }
417
436
  }
@@ -419,8 +438,9 @@ declare module '@tiptap/core' {
419
438
 
420
439
  declare module '@tiptap/core' {
421
440
  interface Commands<ReturnType> {
422
- excalidraw: {
423
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
441
+ drawer: {
442
+ setDrawer: (options: any, replace?: any) => ReturnType;
443
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
424
444
  };
425
445
  }
426
446
  }
@@ -449,23 +469,3 @@ declare module '@tiptap/core' {
449
469
  };
450
470
  }
451
471
  }
452
-
453
-
454
- declare module '@tiptap/core' {
455
- interface Commands<ReturnType> {
456
- imageGifUpload: {
457
- /**
458
- * Add an image gif
459
- */
460
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
461
- /**
462
- * Update an image gif
463
- */
464
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
465
- /**
466
- * Set image alignment
467
- */
468
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
469
- };
470
- }
471
- }
package/lib/index.d.ts CHANGED
@@ -267,9 +267,9 @@ declare module '@tiptap/core' {
267
267
 
268
268
  declare module '@tiptap/core' {
269
269
  interface Commands<ReturnType> {
270
- lineHeight: {
271
- setLineHeight: (lineHeight: string) => ReturnType;
272
- unsetLineHeight: () => ReturnType;
270
+ tableCellBackground: {
271
+ setTableCellBackground: (color: string) => ReturnType;
272
+ unsetTableCellBackground: () => ReturnType;
273
273
  };
274
274
  }
275
275
  }
@@ -297,9 +297,8 @@ declare module '@tiptap/core' {
297
297
 
298
298
  declare module '@tiptap/core' {
299
299
  interface Commands<ReturnType> {
300
- tableCellBackground: {
301
- setTableCellBackground: (color: string) => ReturnType;
302
- unsetTableCellBackground: () => ReturnType;
300
+ katex: {
301
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
303
302
  };
304
303
  }
305
304
  }
@@ -307,8 +306,13 @@ declare module '@tiptap/core' {
307
306
 
308
307
  declare module '@tiptap/core' {
309
308
  interface Commands<ReturnType> {
310
- painter: {
311
- setPainter: (marks: Mark[]) => ReturnType;
309
+ columns: {
310
+ insertColumns: (attrs?: {
311
+ cols: number;
312
+ }) => ReturnType;
313
+ addColBefore: () => ReturnType;
314
+ addColAfter: () => ReturnType;
315
+ deleteCol: () => ReturnType;
312
316
  };
313
317
  }
314
318
  }
@@ -316,13 +320,21 @@ declare module '@tiptap/core' {
316
320
 
317
321
  declare module '@tiptap/core' {
318
322
  interface Commands<ReturnType> {
319
- columns: {
320
- insertColumns: (attrs?: {
321
- cols: number;
323
+ emoji: {
324
+ setEmoji: (emoji: {
325
+ name: string;
326
+ emoji: string;
322
327
  }) => ReturnType;
323
- addColBefore: () => ReturnType;
324
- addColAfter: () => ReturnType;
325
- deleteCol: () => ReturnType;
328
+ };
329
+ }
330
+ }
331
+
332
+
333
+ declare module '@tiptap/core' {
334
+ interface Commands<ReturnType> {
335
+ lineHeight: {
336
+ setLineHeight: (lineHeight: string) => ReturnType;
337
+ unsetLineHeight: () => ReturnType;
326
338
  };
327
339
  }
328
340
  }
@@ -360,11 +372,8 @@ declare module '@tiptap/core' {
360
372
 
361
373
  declare module '@tiptap/core' {
362
374
  interface Commands<ReturnType> {
363
- emoji: {
364
- setEmoji: (emoji: {
365
- name: string;
366
- emoji: string;
367
- }) => ReturnType;
375
+ painter: {
376
+ setPainter: (marks: Mark[]) => ReturnType;
368
377
  };
369
378
  }
370
379
  }
@@ -372,8 +381,8 @@ declare module '@tiptap/core' {
372
381
 
373
382
  declare module '@tiptap/core' {
374
383
  interface Commands<ReturnType> {
375
- katex: {
376
- setKatex: (arg?: IKatexAttrs) => ReturnType;
384
+ exportWord: {
385
+ exportToWord: () => ReturnType;
377
386
  };
378
387
  }
379
388
  }
@@ -381,8 +390,9 @@ declare module '@tiptap/core' {
381
390
 
382
391
  declare module '@tiptap/core' {
383
392
  interface Commands<ReturnType> {
384
- exportWord: {
385
- exportToWord: () => ReturnType;
393
+ tableOfContents: {
394
+ setTableOfContents: () => ReturnType;
395
+ removeTableOfContents: () => ReturnType;
386
396
  };
387
397
  }
388
398
  }
@@ -390,9 +400,8 @@ declare module '@tiptap/core' {
390
400
 
391
401
  declare module '@tiptap/core' {
392
402
  interface Commands<ReturnType> {
393
- tableOfContents: {
394
- setTableOfContents: () => ReturnType;
395
- removeTableOfContents: () => ReturnType;
403
+ excalidraw: {
404
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
396
405
  };
397
406
  }
398
407
  }
@@ -409,9 +418,19 @@ declare module '@tiptap/core' {
409
418
 
410
419
  declare module '@tiptap/core' {
411
420
  interface Commands<ReturnType> {
412
- drawer: {
413
- setDrawer: (options: any, replace?: any) => ReturnType;
414
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
421
+ imageGifUpload: {
422
+ /**
423
+ * Add an image gif
424
+ */
425
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
426
+ /**
427
+ * Update an image gif
428
+ */
429
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
430
+ /**
431
+ * Set image alignment
432
+ */
433
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
415
434
  };
416
435
  }
417
436
  }
@@ -419,8 +438,9 @@ declare module '@tiptap/core' {
419
438
 
420
439
  declare module '@tiptap/core' {
421
440
  interface Commands<ReturnType> {
422
- excalidraw: {
423
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
441
+ drawer: {
442
+ setDrawer: (options: any, replace?: any) => ReturnType;
443
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
424
444
  };
425
445
  }
426
446
  }
@@ -449,23 +469,3 @@ declare module '@tiptap/core' {
449
469
  };
450
470
  }
451
471
  }
452
-
453
-
454
- declare module '@tiptap/core' {
455
- interface Commands<ReturnType> {
456
- imageGifUpload: {
457
- /**
458
- * Add an image gif
459
- */
460
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
461
- /**
462
- * Update an image gif
463
- */
464
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
465
- /**
466
- * Set image alignment
467
- */
468
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
469
- };
470
- }
471
- }