reactjs-tiptap-editor 0.2.2 → 0.2.4
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/RichTextEditor-B4ASZID5.cjs +138 -0
- package/lib/{RichTextEditor-S3oDQ7DG.js → RichTextEditor-yL5SRS_H.js} +675 -684
- package/lib/extension-bundle.cjs +2 -2
- package/lib/extension-bundle.d.cts +42 -42
- package/lib/extension-bundle.d.ts +42 -42
- package/lib/extension-bundle.js +578 -601
- package/lib/{index-BEUeIQfa.js → index-BUxFK1y_.js} +1 -1
- package/lib/{index-CvbViqY1.cjs → index-DGpT32KX.cjs} +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +42 -42
- package/lib/index.d.ts +42 -42
- package/lib/index.js +2 -2
- package/lib/locale-bundle.cjs +1 -1
- package/lib/locale-bundle.d.cts +42 -42
- package/lib/locale-bundle.d.ts +42 -42
- package/lib/locale-bundle.js +1 -1
- package/lib/{tiptap-CYz8BQhm.cjs → tiptap-BhYF9Ndj.cjs} +1 -1
- package/lib/{tiptap-B9VypLMv.js → tiptap-DXj1s_xP.js} +1 -1
- package/lib/vendor-DIvoV5tx.js +41663 -0
- package/lib/vendor-Dp07eU0H.cjs +266 -0
- package/package.json +1 -5
- package/lib/RichTextEditor-BNLeCZNj.cjs +0 -138
- package/lib/vendor-BeclCw8p.js +0 -60431
- package/lib/vendor-CwNzD6m_.cjs +0 -457
|
@@ -690,6 +690,16 @@ declare module '@tiptap/core' {
|
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
|
|
693
|
+
declare module '@tiptap/core' {
|
|
694
|
+
interface Commands<ReturnType> {
|
|
695
|
+
lineHeight: {
|
|
696
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
697
|
+
unsetLineHeight: () => ReturnType;
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
|
|
693
703
|
declare module '@tiptap/core' {
|
|
694
704
|
interface Commands<ReturnType> {
|
|
695
705
|
indent: {
|
|
@@ -745,21 +755,6 @@ declare module '@tiptap/core' {
|
|
|
745
755
|
}
|
|
746
756
|
|
|
747
757
|
|
|
748
|
-
declare module '@tiptap/core' {
|
|
749
|
-
interface Commands<ReturnType> {
|
|
750
|
-
iframe: {
|
|
751
|
-
/**
|
|
752
|
-
* Add an iframe
|
|
753
|
-
*/
|
|
754
|
-
setIframe: (options: {
|
|
755
|
-
src: string;
|
|
756
|
-
service: string;
|
|
757
|
-
}) => ReturnType;
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
|
|
763
758
|
declare module '@tiptap/core' {
|
|
764
759
|
interface Commands<ReturnType> {
|
|
765
760
|
columns: {
|
|
@@ -776,10 +771,13 @@ declare module '@tiptap/core' {
|
|
|
776
771
|
|
|
777
772
|
declare module '@tiptap/core' {
|
|
778
773
|
interface Commands<ReturnType> {
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
774
|
+
iframe: {
|
|
775
|
+
/**
|
|
776
|
+
* Add an iframe
|
|
777
|
+
*/
|
|
778
|
+
setIframe: (options: {
|
|
779
|
+
src: string;
|
|
780
|
+
service: string;
|
|
783
781
|
}) => ReturnType;
|
|
784
782
|
};
|
|
785
783
|
}
|
|
@@ -788,9 +786,11 @@ declare module '@tiptap/core' {
|
|
|
788
786
|
|
|
789
787
|
declare module '@tiptap/core' {
|
|
790
788
|
interface Commands<ReturnType> {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
789
|
+
emoji: {
|
|
790
|
+
setEmoji: (emoji: {
|
|
791
|
+
name: string;
|
|
792
|
+
emoji: string;
|
|
793
|
+
}) => ReturnType;
|
|
794
794
|
};
|
|
795
795
|
}
|
|
796
796
|
}
|
|
@@ -848,6 +848,26 @@ declare module '@tiptap/core' {
|
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
|
|
851
|
+
declare module '@tiptap/core' {
|
|
852
|
+
interface Commands<ReturnType> {
|
|
853
|
+
imageGifUpload: {
|
|
854
|
+
/**
|
|
855
|
+
* Add an image gif
|
|
856
|
+
*/
|
|
857
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
858
|
+
/**
|
|
859
|
+
* Update an image gif
|
|
860
|
+
*/
|
|
861
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
862
|
+
/**
|
|
863
|
+
* Set image alignment
|
|
864
|
+
*/
|
|
865
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
866
|
+
};
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
|
|
851
871
|
declare module '@tiptap/core' {
|
|
852
872
|
interface Commands<ReturnType> {
|
|
853
873
|
attachment: {
|
|
@@ -880,23 +900,3 @@ declare module '@tiptap/core' {
|
|
|
880
900
|
};
|
|
881
901
|
}
|
|
882
902
|
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
declare module '@tiptap/core' {
|
|
886
|
-
interface Commands<ReturnType> {
|
|
887
|
-
imageGifUpload: {
|
|
888
|
-
/**
|
|
889
|
-
* Add an image gif
|
|
890
|
-
*/
|
|
891
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
892
|
-
/**
|
|
893
|
-
* Update an image gif
|
|
894
|
-
*/
|
|
895
|
-
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
896
|
-
/**
|
|
897
|
-
* Set image alignment
|
|
898
|
-
*/
|
|
899
|
-
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
}
|
|
@@ -690,6 +690,16 @@ declare module '@tiptap/core' {
|
|
|
690
690
|
}
|
|
691
691
|
|
|
692
692
|
|
|
693
|
+
declare module '@tiptap/core' {
|
|
694
|
+
interface Commands<ReturnType> {
|
|
695
|
+
lineHeight: {
|
|
696
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
697
|
+
unsetLineHeight: () => ReturnType;
|
|
698
|
+
};
|
|
699
|
+
}
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
|
|
693
703
|
declare module '@tiptap/core' {
|
|
694
704
|
interface Commands<ReturnType> {
|
|
695
705
|
indent: {
|
|
@@ -745,21 +755,6 @@ declare module '@tiptap/core' {
|
|
|
745
755
|
}
|
|
746
756
|
|
|
747
757
|
|
|
748
|
-
declare module '@tiptap/core' {
|
|
749
|
-
interface Commands<ReturnType> {
|
|
750
|
-
iframe: {
|
|
751
|
-
/**
|
|
752
|
-
* Add an iframe
|
|
753
|
-
*/
|
|
754
|
-
setIframe: (options: {
|
|
755
|
-
src: string;
|
|
756
|
-
service: string;
|
|
757
|
-
}) => ReturnType;
|
|
758
|
-
};
|
|
759
|
-
}
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
|
|
763
758
|
declare module '@tiptap/core' {
|
|
764
759
|
interface Commands<ReturnType> {
|
|
765
760
|
columns: {
|
|
@@ -776,10 +771,13 @@ declare module '@tiptap/core' {
|
|
|
776
771
|
|
|
777
772
|
declare module '@tiptap/core' {
|
|
778
773
|
interface Commands<ReturnType> {
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
774
|
+
iframe: {
|
|
775
|
+
/**
|
|
776
|
+
* Add an iframe
|
|
777
|
+
*/
|
|
778
|
+
setIframe: (options: {
|
|
779
|
+
src: string;
|
|
780
|
+
service: string;
|
|
783
781
|
}) => ReturnType;
|
|
784
782
|
};
|
|
785
783
|
}
|
|
@@ -788,9 +786,11 @@ declare module '@tiptap/core' {
|
|
|
788
786
|
|
|
789
787
|
declare module '@tiptap/core' {
|
|
790
788
|
interface Commands<ReturnType> {
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
789
|
+
emoji: {
|
|
790
|
+
setEmoji: (emoji: {
|
|
791
|
+
name: string;
|
|
792
|
+
emoji: string;
|
|
793
|
+
}) => ReturnType;
|
|
794
794
|
};
|
|
795
795
|
}
|
|
796
796
|
}
|
|
@@ -848,6 +848,26 @@ declare module '@tiptap/core' {
|
|
|
848
848
|
}
|
|
849
849
|
|
|
850
850
|
|
|
851
|
+
declare module '@tiptap/core' {
|
|
852
|
+
interface Commands<ReturnType> {
|
|
853
|
+
imageGifUpload: {
|
|
854
|
+
/**
|
|
855
|
+
* Add an image gif
|
|
856
|
+
*/
|
|
857
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
858
|
+
/**
|
|
859
|
+
* Update an image gif
|
|
860
|
+
*/
|
|
861
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
862
|
+
/**
|
|
863
|
+
* Set image alignment
|
|
864
|
+
*/
|
|
865
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
866
|
+
};
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
|
|
851
871
|
declare module '@tiptap/core' {
|
|
852
872
|
interface Commands<ReturnType> {
|
|
853
873
|
attachment: {
|
|
@@ -880,23 +900,3 @@ declare module '@tiptap/core' {
|
|
|
880
900
|
};
|
|
881
901
|
}
|
|
882
902
|
}
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
declare module '@tiptap/core' {
|
|
886
|
-
interface Commands<ReturnType> {
|
|
887
|
-
imageGifUpload: {
|
|
888
|
-
/**
|
|
889
|
-
* Add an image gif
|
|
890
|
-
*/
|
|
891
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
892
|
-
/**
|
|
893
|
-
* Update an image gif
|
|
894
|
-
*/
|
|
895
|
-
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
896
|
-
/**
|
|
897
|
-
* Set image alignment
|
|
898
|
-
*/
|
|
899
|
-
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
900
|
-
};
|
|
901
|
-
}
|
|
902
|
-
}
|