reactjs-tiptap-editor-pro 0.2.28 → 0.2.29

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.
@@ -727,9 +727,24 @@ declare module '@tiptap/core' {
727
727
 
728
728
  declare module '@tiptap/core' {
729
729
  interface Commands<ReturnType> {
730
- lineHeight: {
731
- setLineHeight: (lineHeight: string) => ReturnType;
732
- unsetLineHeight: () => ReturnType;
730
+ painter: {
731
+ setPainter: (marks: Mark[]) => ReturnType;
732
+ };
733
+ }
734
+ }
735
+
736
+
737
+ declare module '@tiptap/core' {
738
+ interface Commands<ReturnType> {
739
+ indent: {
740
+ /**
741
+ * Set the indent attribute
742
+ */
743
+ indent: () => ReturnType;
744
+ /**
745
+ * Set the outdent attribute
746
+ */
747
+ outdent: () => ReturnType;
733
748
  };
734
749
  }
735
750
  }
@@ -771,20 +786,9 @@ declare module '@tiptap/core' {
771
786
 
772
787
  declare module '@tiptap/core' {
773
788
  interface Commands<ReturnType> {
774
- painter: {
775
- setPainter: (marks: Mark[]) => ReturnType;
776
- };
777
- }
778
- }
779
-
780
-
781
- declare module '@tiptap/core' {
782
- interface Commands<ReturnType> {
783
- emoji: {
784
- setEmoji: (emoji: {
785
- name: string;
786
- emoji: string;
787
- }) => ReturnType;
789
+ lineHeight: {
790
+ setLineHeight: (lineHeight: string) => ReturnType;
791
+ unsetLineHeight: () => ReturnType;
788
792
  };
789
793
  }
790
794
  }
@@ -800,22 +804,6 @@ declare module '@tiptap/core' {
800
804
  }
801
805
 
802
806
 
803
- declare module '@tiptap/core' {
804
- interface Commands<ReturnType> {
805
- indent: {
806
- /**
807
- * Set the indent attribute
808
- */
809
- indent: () => ReturnType;
810
- /**
811
- * Set the outdent attribute
812
- */
813
- outdent: () => ReturnType;
814
- };
815
- }
816
- }
817
-
818
-
819
807
  declare module '@tiptap/core' {
820
808
  interface Commands<ReturnType> {
821
809
  iframe: {
@@ -848,8 +836,9 @@ declare module '@tiptap/core' {
848
836
 
849
837
  declare module '@tiptap/core' {
850
838
  interface Commands<ReturnType> {
851
- exportWord: {
852
- exportToWord: () => ReturnType;
839
+ tableOfContents: {
840
+ setTableOfContents: () => ReturnType;
841
+ removeTableOfContents: () => ReturnType;
853
842
  };
854
843
  }
855
844
  }
@@ -857,8 +846,11 @@ declare module '@tiptap/core' {
857
846
 
858
847
  declare module '@tiptap/core' {
859
848
  interface Commands<ReturnType> {
860
- excalidraw: {
861
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
849
+ emoji: {
850
+ setEmoji: (emoji: {
851
+ name: string;
852
+ emoji: string;
853
+ }) => ReturnType;
862
854
  };
863
855
  }
864
856
  }
@@ -866,9 +858,8 @@ declare module '@tiptap/core' {
866
858
 
867
859
  declare module '@tiptap/core' {
868
860
  interface Commands<ReturnType> {
869
- tableOfContents: {
870
- setTableOfContents: () => ReturnType;
871
- removeTableOfContents: () => ReturnType;
861
+ exportWord: {
862
+ exportToWord: () => ReturnType;
872
863
  };
873
864
  }
874
865
  }
@@ -876,8 +867,8 @@ declare module '@tiptap/core' {
876
867
 
877
868
  declare module '@tiptap/core' {
878
869
  interface Commands<ReturnType> {
879
- katex: {
880
- setKatex: (arg?: IKatexAttrs) => ReturnType;
870
+ excalidraw: {
871
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
881
872
  };
882
873
  }
883
874
  }
@@ -885,19 +876,8 @@ declare module '@tiptap/core' {
885
876
 
886
877
  declare module '@tiptap/core' {
887
878
  interface Commands<ReturnType> {
888
- imageGifUpload: {
889
- /**
890
- * Add an image gif
891
- */
892
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
893
- /**
894
- * Update an image gif
895
- */
896
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
897
- /**
898
- * Set image alignment
899
- */
900
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
879
+ katex: {
880
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
901
881
  };
902
882
  }
903
883
  }
@@ -922,6 +902,16 @@ declare module '@tiptap/core' {
922
902
  }
923
903
 
924
904
 
905
+ declare module '@tiptap/core' {
906
+ interface Commands<ReturnType> {
907
+ drawer: {
908
+ setDrawer: (options: any, replace?: any) => ReturnType;
909
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
910
+ };
911
+ }
912
+ }
913
+
914
+
925
915
  declare module '@tiptap/core' {
926
916
  interface Commands<ReturnType> {
927
917
  twitter: {
@@ -939,9 +929,19 @@ declare module '@tiptap/core' {
939
929
 
940
930
  declare module '@tiptap/core' {
941
931
  interface Commands<ReturnType> {
942
- drawer: {
943
- setDrawer: (options: any, replace?: any) => ReturnType;
944
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
932
+ imageGifUpload: {
933
+ /**
934
+ * Add an image gif
935
+ */
936
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
937
+ /**
938
+ * Update an image gif
939
+ */
940
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
941
+ /**
942
+ * Set image alignment
943
+ */
944
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
945
945
  };
946
946
  }
947
947
  }
@@ -727,9 +727,24 @@ declare module '@tiptap/core' {
727
727
 
728
728
  declare module '@tiptap/core' {
729
729
  interface Commands<ReturnType> {
730
- lineHeight: {
731
- setLineHeight: (lineHeight: string) => ReturnType;
732
- unsetLineHeight: () => ReturnType;
730
+ painter: {
731
+ setPainter: (marks: Mark[]) => ReturnType;
732
+ };
733
+ }
734
+ }
735
+
736
+
737
+ declare module '@tiptap/core' {
738
+ interface Commands<ReturnType> {
739
+ indent: {
740
+ /**
741
+ * Set the indent attribute
742
+ */
743
+ indent: () => ReturnType;
744
+ /**
745
+ * Set the outdent attribute
746
+ */
747
+ outdent: () => ReturnType;
733
748
  };
734
749
  }
735
750
  }
@@ -771,20 +786,9 @@ declare module '@tiptap/core' {
771
786
 
772
787
  declare module '@tiptap/core' {
773
788
  interface Commands<ReturnType> {
774
- painter: {
775
- setPainter: (marks: Mark[]) => ReturnType;
776
- };
777
- }
778
- }
779
-
780
-
781
- declare module '@tiptap/core' {
782
- interface Commands<ReturnType> {
783
- emoji: {
784
- setEmoji: (emoji: {
785
- name: string;
786
- emoji: string;
787
- }) => ReturnType;
789
+ lineHeight: {
790
+ setLineHeight: (lineHeight: string) => ReturnType;
791
+ unsetLineHeight: () => ReturnType;
788
792
  };
789
793
  }
790
794
  }
@@ -800,22 +804,6 @@ declare module '@tiptap/core' {
800
804
  }
801
805
 
802
806
 
803
- declare module '@tiptap/core' {
804
- interface Commands<ReturnType> {
805
- indent: {
806
- /**
807
- * Set the indent attribute
808
- */
809
- indent: () => ReturnType;
810
- /**
811
- * Set the outdent attribute
812
- */
813
- outdent: () => ReturnType;
814
- };
815
- }
816
- }
817
-
818
-
819
807
  declare module '@tiptap/core' {
820
808
  interface Commands<ReturnType> {
821
809
  iframe: {
@@ -848,8 +836,9 @@ declare module '@tiptap/core' {
848
836
 
849
837
  declare module '@tiptap/core' {
850
838
  interface Commands<ReturnType> {
851
- exportWord: {
852
- exportToWord: () => ReturnType;
839
+ tableOfContents: {
840
+ setTableOfContents: () => ReturnType;
841
+ removeTableOfContents: () => ReturnType;
853
842
  };
854
843
  }
855
844
  }
@@ -857,8 +846,11 @@ declare module '@tiptap/core' {
857
846
 
858
847
  declare module '@tiptap/core' {
859
848
  interface Commands<ReturnType> {
860
- excalidraw: {
861
- setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
849
+ emoji: {
850
+ setEmoji: (emoji: {
851
+ name: string;
852
+ emoji: string;
853
+ }) => ReturnType;
862
854
  };
863
855
  }
864
856
  }
@@ -866,9 +858,8 @@ declare module '@tiptap/core' {
866
858
 
867
859
  declare module '@tiptap/core' {
868
860
  interface Commands<ReturnType> {
869
- tableOfContents: {
870
- setTableOfContents: () => ReturnType;
871
- removeTableOfContents: () => ReturnType;
861
+ exportWord: {
862
+ exportToWord: () => ReturnType;
872
863
  };
873
864
  }
874
865
  }
@@ -876,8 +867,8 @@ declare module '@tiptap/core' {
876
867
 
877
868
  declare module '@tiptap/core' {
878
869
  interface Commands<ReturnType> {
879
- katex: {
880
- setKatex: (arg?: IKatexAttrs) => ReturnType;
870
+ excalidraw: {
871
+ setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
881
872
  };
882
873
  }
883
874
  }
@@ -885,19 +876,8 @@ declare module '@tiptap/core' {
885
876
 
886
877
  declare module '@tiptap/core' {
887
878
  interface Commands<ReturnType> {
888
- imageGifUpload: {
889
- /**
890
- * Add an image gif
891
- */
892
- setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
893
- /**
894
- * Update an image gif
895
- */
896
- updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
897
- /**
898
- * Set image alignment
899
- */
900
- setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
879
+ katex: {
880
+ setKatex: (arg?: IKatexAttrs) => ReturnType;
901
881
  };
902
882
  }
903
883
  }
@@ -922,6 +902,16 @@ declare module '@tiptap/core' {
922
902
  }
923
903
 
924
904
 
905
+ declare module '@tiptap/core' {
906
+ interface Commands<ReturnType> {
907
+ drawer: {
908
+ setDrawer: (options: any, replace?: any) => ReturnType;
909
+ setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
910
+ };
911
+ }
912
+ }
913
+
914
+
925
915
  declare module '@tiptap/core' {
926
916
  interface Commands<ReturnType> {
927
917
  twitter: {
@@ -939,9 +929,19 @@ declare module '@tiptap/core' {
939
929
 
940
930
  declare module '@tiptap/core' {
941
931
  interface Commands<ReturnType> {
942
- drawer: {
943
- setDrawer: (options: any, replace?: any) => ReturnType;
944
- setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
932
+ imageGifUpload: {
933
+ /**
934
+ * Add an image gif
935
+ */
936
+ setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
937
+ /**
938
+ * Update an image gif
939
+ */
940
+ updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
941
+ /**
942
+ * Set image alignment
943
+ */
944
+ setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
945
945
  };
946
946
  }
947
947
  }