reactjs-tiptap-editor-pro 0.2.32 → 0.2.33
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/ColorPicker-MEAh4MhG.js +28181 -0
- package/lib/ColorPicker-ZncOwjAP.cjs +142 -0
- package/lib/extension-bundle.cjs +103 -3
- package/lib/extension-bundle.d.cts +56 -56
- package/lib/extension-bundle.d.ts +56 -56
- package/lib/extension-bundle.js +20643 -2477
- package/lib/index.cjs +140 -1
- package/lib/index.d.cts +56 -56
- package/lib/index.d.ts +56 -56
- package/lib/index.js +3697 -13
- package/lib/locale-bundle-DiqW5jwb.cjs +1 -0
- package/lib/{index-M6H3FoBi.js → locale-bundle-DxCAtRDI.js} +445 -105
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +56 -56
- package/lib/locale-bundle.d.ts +56 -56
- package/lib/locale-bundle.js +6 -6
- package/lib/lucide-react-BFZtMawV.js +30462 -0
- package/lib/lucide-react-CMPhLW1m.cjs +7851 -0
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/lib/RichTextEditor-BwbqJLnA.cjs +0 -141
- package/lib/RichTextEditor-iGJ6-rbq.js +0 -8833
- package/lib/index-DV-nXpU1.cjs +0 -1
- package/lib/tiptap-DkWHMWDt.js +0 -6061
- package/lib/tiptap-gBG-1T-V.cjs +0 -116
- package/lib/vendor-BJ0Yf78E.cjs +0 -8114
- package/lib/vendor-Cpa6z-M0.js +0 -67575
|
@@ -743,30 +743,9 @@ declare module '@tiptap/core' {
|
|
|
743
743
|
|
|
744
744
|
declare module '@tiptap/core' {
|
|
745
745
|
interface Commands<ReturnType> {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
declare module '@tiptap/core' {
|
|
755
|
-
interface Commands<ReturnType> {
|
|
756
|
-
emoji: {
|
|
757
|
-
setEmoji: (emoji: {
|
|
758
|
-
name: string;
|
|
759
|
-
emoji: string;
|
|
760
|
-
}) => ReturnType;
|
|
761
|
-
};
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
declare module '@tiptap/core' {
|
|
767
|
-
interface Commands<ReturnType> {
|
|
768
|
-
painter: {
|
|
769
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
746
|
+
lineHeight: {
|
|
747
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
748
|
+
unsetLineHeight: () => ReturnType;
|
|
770
749
|
};
|
|
771
750
|
}
|
|
772
751
|
}
|
|
@@ -794,8 +773,8 @@ declare module '@tiptap/core' {
|
|
|
794
773
|
|
|
795
774
|
declare module '@tiptap/core' {
|
|
796
775
|
interface Commands<ReturnType> {
|
|
797
|
-
|
|
798
|
-
|
|
776
|
+
painter: {
|
|
777
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
799
778
|
};
|
|
800
779
|
}
|
|
801
780
|
}
|
|
@@ -803,14 +782,23 @@ declare module '@tiptap/core' {
|
|
|
803
782
|
|
|
804
783
|
declare module '@tiptap/core' {
|
|
805
784
|
interface Commands<ReturnType> {
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
785
|
+
columns: {
|
|
786
|
+
insertColumns: (attrs?: {
|
|
787
|
+
cols: number;
|
|
788
|
+
}) => ReturnType;
|
|
789
|
+
addColBefore: () => ReturnType;
|
|
790
|
+
addColAfter: () => ReturnType;
|
|
791
|
+
deleteCol: () => ReturnType;
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
declare module '@tiptap/core' {
|
|
798
|
+
interface Commands<ReturnType> {
|
|
799
|
+
tableCellBackground: {
|
|
800
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
801
|
+
unsetTableCellBackground: () => ReturnType;
|
|
814
802
|
};
|
|
815
803
|
}
|
|
816
804
|
}
|
|
@@ -833,13 +821,14 @@ declare module '@tiptap/core' {
|
|
|
833
821
|
|
|
834
822
|
declare module '@tiptap/core' {
|
|
835
823
|
interface Commands<ReturnType> {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
824
|
+
search: {
|
|
825
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
826
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
827
|
+
replace: () => ReturnType;
|
|
828
|
+
replaceAll: () => ReturnType;
|
|
829
|
+
goToPrevSearchResult: () => void;
|
|
830
|
+
goToNextSearchResult: () => void;
|
|
831
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
843
832
|
};
|
|
844
833
|
}
|
|
845
834
|
}
|
|
@@ -847,9 +836,11 @@ declare module '@tiptap/core' {
|
|
|
847
836
|
|
|
848
837
|
declare module '@tiptap/core' {
|
|
849
838
|
interface Commands<ReturnType> {
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
839
|
+
emoji: {
|
|
840
|
+
setEmoji: (emoji: {
|
|
841
|
+
name: string;
|
|
842
|
+
emoji: string;
|
|
843
|
+
}) => ReturnType;
|
|
853
844
|
};
|
|
854
845
|
}
|
|
855
846
|
}
|
|
@@ -857,8 +848,8 @@ declare module '@tiptap/core' {
|
|
|
857
848
|
|
|
858
849
|
declare module '@tiptap/core' {
|
|
859
850
|
interface Commands<ReturnType> {
|
|
860
|
-
|
|
861
|
-
|
|
851
|
+
katex: {
|
|
852
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
862
853
|
};
|
|
863
854
|
}
|
|
864
855
|
}
|
|
@@ -883,6 +874,15 @@ declare module '@tiptap/core' {
|
|
|
883
874
|
}
|
|
884
875
|
|
|
885
876
|
|
|
877
|
+
declare module '@tiptap/core' {
|
|
878
|
+
interface Commands<ReturnType> {
|
|
879
|
+
exportWord: {
|
|
880
|
+
exportToWord: () => ReturnType;
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
|
|
886
886
|
declare module '@tiptap/core' {
|
|
887
887
|
interface Commands<ReturnType> {
|
|
888
888
|
imageGifUpload: {
|
|
@@ -922,16 +922,6 @@ declare module '@tiptap/core' {
|
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
|
|
925
|
-
declare module '@tiptap/core' {
|
|
926
|
-
interface Commands<ReturnType> {
|
|
927
|
-
drawer: {
|
|
928
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
929
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
930
|
-
};
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
|
|
935
925
|
declare module '@tiptap/core' {
|
|
936
926
|
interface Commands<ReturnType> {
|
|
937
927
|
twitter: {
|
|
@@ -945,3 +935,13 @@ declare module '@tiptap/core' {
|
|
|
945
935
|
};
|
|
946
936
|
}
|
|
947
937
|
}
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
declare module '@tiptap/core' {
|
|
941
|
+
interface Commands<ReturnType> {
|
|
942
|
+
drawer: {
|
|
943
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
944
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
945
|
+
};
|
|
946
|
+
}
|
|
947
|
+
}
|
|
@@ -743,30 +743,9 @@ declare module '@tiptap/core' {
|
|
|
743
743
|
|
|
744
744
|
declare module '@tiptap/core' {
|
|
745
745
|
interface Commands<ReturnType> {
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
};
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
declare module '@tiptap/core' {
|
|
755
|
-
interface Commands<ReturnType> {
|
|
756
|
-
emoji: {
|
|
757
|
-
setEmoji: (emoji: {
|
|
758
|
-
name: string;
|
|
759
|
-
emoji: string;
|
|
760
|
-
}) => ReturnType;
|
|
761
|
-
};
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
declare module '@tiptap/core' {
|
|
767
|
-
interface Commands<ReturnType> {
|
|
768
|
-
painter: {
|
|
769
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
746
|
+
lineHeight: {
|
|
747
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
748
|
+
unsetLineHeight: () => ReturnType;
|
|
770
749
|
};
|
|
771
750
|
}
|
|
772
751
|
}
|
|
@@ -794,8 +773,8 @@ declare module '@tiptap/core' {
|
|
|
794
773
|
|
|
795
774
|
declare module '@tiptap/core' {
|
|
796
775
|
interface Commands<ReturnType> {
|
|
797
|
-
|
|
798
|
-
|
|
776
|
+
painter: {
|
|
777
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
799
778
|
};
|
|
800
779
|
}
|
|
801
780
|
}
|
|
@@ -803,14 +782,23 @@ declare module '@tiptap/core' {
|
|
|
803
782
|
|
|
804
783
|
declare module '@tiptap/core' {
|
|
805
784
|
interface Commands<ReturnType> {
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
785
|
+
columns: {
|
|
786
|
+
insertColumns: (attrs?: {
|
|
787
|
+
cols: number;
|
|
788
|
+
}) => ReturnType;
|
|
789
|
+
addColBefore: () => ReturnType;
|
|
790
|
+
addColAfter: () => ReturnType;
|
|
791
|
+
deleteCol: () => ReturnType;
|
|
792
|
+
};
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
declare module '@tiptap/core' {
|
|
798
|
+
interface Commands<ReturnType> {
|
|
799
|
+
tableCellBackground: {
|
|
800
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
801
|
+
unsetTableCellBackground: () => ReturnType;
|
|
814
802
|
};
|
|
815
803
|
}
|
|
816
804
|
}
|
|
@@ -833,13 +821,14 @@ declare module '@tiptap/core' {
|
|
|
833
821
|
|
|
834
822
|
declare module '@tiptap/core' {
|
|
835
823
|
interface Commands<ReturnType> {
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
824
|
+
search: {
|
|
825
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
826
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
827
|
+
replace: () => ReturnType;
|
|
828
|
+
replaceAll: () => ReturnType;
|
|
829
|
+
goToPrevSearchResult: () => void;
|
|
830
|
+
goToNextSearchResult: () => void;
|
|
831
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
843
832
|
};
|
|
844
833
|
}
|
|
845
834
|
}
|
|
@@ -847,9 +836,11 @@ declare module '@tiptap/core' {
|
|
|
847
836
|
|
|
848
837
|
declare module '@tiptap/core' {
|
|
849
838
|
interface Commands<ReturnType> {
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
839
|
+
emoji: {
|
|
840
|
+
setEmoji: (emoji: {
|
|
841
|
+
name: string;
|
|
842
|
+
emoji: string;
|
|
843
|
+
}) => ReturnType;
|
|
853
844
|
};
|
|
854
845
|
}
|
|
855
846
|
}
|
|
@@ -857,8 +848,8 @@ declare module '@tiptap/core' {
|
|
|
857
848
|
|
|
858
849
|
declare module '@tiptap/core' {
|
|
859
850
|
interface Commands<ReturnType> {
|
|
860
|
-
|
|
861
|
-
|
|
851
|
+
katex: {
|
|
852
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
862
853
|
};
|
|
863
854
|
}
|
|
864
855
|
}
|
|
@@ -883,6 +874,15 @@ declare module '@tiptap/core' {
|
|
|
883
874
|
}
|
|
884
875
|
|
|
885
876
|
|
|
877
|
+
declare module '@tiptap/core' {
|
|
878
|
+
interface Commands<ReturnType> {
|
|
879
|
+
exportWord: {
|
|
880
|
+
exportToWord: () => ReturnType;
|
|
881
|
+
};
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
|
|
886
886
|
declare module '@tiptap/core' {
|
|
887
887
|
interface Commands<ReturnType> {
|
|
888
888
|
imageGifUpload: {
|
|
@@ -922,16 +922,6 @@ declare module '@tiptap/core' {
|
|
|
922
922
|
}
|
|
923
923
|
|
|
924
924
|
|
|
925
|
-
declare module '@tiptap/core' {
|
|
926
|
-
interface Commands<ReturnType> {
|
|
927
|
-
drawer: {
|
|
928
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
929
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
930
|
-
};
|
|
931
|
-
}
|
|
932
|
-
}
|
|
933
|
-
|
|
934
|
-
|
|
935
925
|
declare module '@tiptap/core' {
|
|
936
926
|
interface Commands<ReturnType> {
|
|
937
927
|
twitter: {
|
|
@@ -945,3 +935,13 @@ declare module '@tiptap/core' {
|
|
|
945
935
|
};
|
|
946
936
|
}
|
|
947
937
|
}
|
|
938
|
+
|
|
939
|
+
|
|
940
|
+
declare module '@tiptap/core' {
|
|
941
|
+
interface Commands<ReturnType> {
|
|
942
|
+
drawer: {
|
|
943
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
944
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
945
|
+
};
|
|
946
|
+
}
|
|
947
|
+
}
|