reactjs-tiptap-editor 0.2.2 → 0.2.3
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/extension-bundle.d.cts +77 -77
- package/lib/extension-bundle.d.ts +77 -77
- package/lib/index.d.cts +77 -77
- package/lib/index.d.ts +77 -77
- package/lib/locale-bundle.d.cts +77 -77
- package/lib/locale-bundle.d.ts +77 -77
- package/package.json +1 -5
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -918,22 +918,6 @@ declare module '@tiptap/core' {
|
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
|
|
921
|
-
declare module '@tiptap/core' {
|
|
922
|
-
interface Commands<ReturnType> {
|
|
923
|
-
indent: {
|
|
924
|
-
/**
|
|
925
|
-
* Set the indent attribute
|
|
926
|
-
*/
|
|
927
|
-
indent: () => ReturnType;
|
|
928
|
-
/**
|
|
929
|
-
* Set the outdent attribute
|
|
930
|
-
*/
|
|
931
|
-
outdent: () => ReturnType;
|
|
932
|
-
};
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
|
|
937
921
|
declare module '@tiptap/core' {
|
|
938
922
|
interface Commands<ReturnType> {
|
|
939
923
|
imageUpload: {
|
|
@@ -956,8 +940,9 @@ declare module '@tiptap/core' {
|
|
|
956
940
|
|
|
957
941
|
declare module '@tiptap/core' {
|
|
958
942
|
interface Commands<ReturnType> {
|
|
959
|
-
|
|
960
|
-
|
|
943
|
+
lineHeight: {
|
|
944
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
945
|
+
unsetLineHeight: () => ReturnType;
|
|
961
946
|
};
|
|
962
947
|
}
|
|
963
948
|
}
|
|
@@ -965,9 +950,15 @@ declare module '@tiptap/core' {
|
|
|
965
950
|
|
|
966
951
|
declare module '@tiptap/core' {
|
|
967
952
|
interface Commands<ReturnType> {
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
953
|
+
indent: {
|
|
954
|
+
/**
|
|
955
|
+
* Set the indent attribute
|
|
956
|
+
*/
|
|
957
|
+
indent: () => ReturnType;
|
|
958
|
+
/**
|
|
959
|
+
* Set the outdent attribute
|
|
960
|
+
*/
|
|
961
|
+
outdent: () => ReturnType;
|
|
971
962
|
};
|
|
972
963
|
}
|
|
973
964
|
}
|
|
@@ -975,14 +966,9 @@ declare module '@tiptap/core' {
|
|
|
975
966
|
|
|
976
967
|
declare module '@tiptap/core' {
|
|
977
968
|
interface Commands<ReturnType> {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
*/
|
|
982
|
-
setIframe: (options: {
|
|
983
|
-
src: string;
|
|
984
|
-
service: string;
|
|
985
|
-
}) => ReturnType;
|
|
969
|
+
tableCellBackground: {
|
|
970
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
971
|
+
unsetTableCellBackground: () => ReturnType;
|
|
986
972
|
};
|
|
987
973
|
}
|
|
988
974
|
}
|
|
@@ -990,13 +976,14 @@ declare module '@tiptap/core' {
|
|
|
990
976
|
|
|
991
977
|
declare module '@tiptap/core' {
|
|
992
978
|
interface Commands<ReturnType> {
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
979
|
+
twitter: {
|
|
980
|
+
/**
|
|
981
|
+
* Insert a tweet
|
|
982
|
+
* @param options The tweet attributes
|
|
983
|
+
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
984
|
+
*/
|
|
985
|
+
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
986
|
+
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
1000
987
|
};
|
|
1001
988
|
}
|
|
1002
989
|
}
|
|
@@ -1004,11 +991,8 @@ declare module '@tiptap/core' {
|
|
|
1004
991
|
|
|
1005
992
|
declare module '@tiptap/core' {
|
|
1006
993
|
interface Commands<ReturnType> {
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
name: string;
|
|
1010
|
-
emoji: string;
|
|
1011
|
-
}) => ReturnType;
|
|
994
|
+
excalidraw: {
|
|
995
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1012
996
|
};
|
|
1013
997
|
}
|
|
1014
998
|
}
|
|
@@ -1016,9 +1000,13 @@ declare module '@tiptap/core' {
|
|
|
1016
1000
|
|
|
1017
1001
|
declare module '@tiptap/core' {
|
|
1018
1002
|
interface Commands<ReturnType> {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1003
|
+
columns: {
|
|
1004
|
+
insertColumns: (attrs?: {
|
|
1005
|
+
cols: number;
|
|
1006
|
+
}) => ReturnType;
|
|
1007
|
+
addColBefore: () => ReturnType;
|
|
1008
|
+
addColAfter: () => ReturnType;
|
|
1009
|
+
deleteCol: () => ReturnType;
|
|
1022
1010
|
};
|
|
1023
1011
|
}
|
|
1024
1012
|
}
|
|
@@ -1026,8 +1014,8 @@ declare module '@tiptap/core' {
|
|
|
1026
1014
|
|
|
1027
1015
|
declare module '@tiptap/core' {
|
|
1028
1016
|
interface Commands<ReturnType> {
|
|
1029
|
-
|
|
1030
|
-
|
|
1017
|
+
attachment: {
|
|
1018
|
+
setAttachment: (attrs?: unknown) => ReturnType;
|
|
1031
1019
|
};
|
|
1032
1020
|
}
|
|
1033
1021
|
}
|
|
@@ -1050,8 +1038,8 @@ declare module '@tiptap/core' {
|
|
|
1050
1038
|
|
|
1051
1039
|
declare module '@tiptap/core' {
|
|
1052
1040
|
interface Commands<ReturnType> {
|
|
1053
|
-
|
|
1054
|
-
|
|
1041
|
+
katex: {
|
|
1042
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1055
1043
|
};
|
|
1056
1044
|
}
|
|
1057
1045
|
}
|
|
@@ -1059,9 +1047,9 @@ declare module '@tiptap/core' {
|
|
|
1059
1047
|
|
|
1060
1048
|
declare module '@tiptap/core' {
|
|
1061
1049
|
interface Commands<ReturnType> {
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1050
|
+
mermaid: {
|
|
1051
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
1052
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1065
1053
|
};
|
|
1066
1054
|
}
|
|
1067
1055
|
}
|
|
@@ -1069,8 +1057,19 @@ declare module '@tiptap/core' {
|
|
|
1069
1057
|
|
|
1070
1058
|
declare module '@tiptap/core' {
|
|
1071
1059
|
interface Commands<ReturnType> {
|
|
1072
|
-
|
|
1073
|
-
|
|
1060
|
+
imageGifUpload: {
|
|
1061
|
+
/**
|
|
1062
|
+
* Add an image gif
|
|
1063
|
+
*/
|
|
1064
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1065
|
+
/**
|
|
1066
|
+
* Update an image gif
|
|
1067
|
+
*/
|
|
1068
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1069
|
+
/**
|
|
1070
|
+
* Set image alignment
|
|
1071
|
+
*/
|
|
1072
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1074
1073
|
};
|
|
1075
1074
|
}
|
|
1076
1075
|
}
|
|
@@ -1078,8 +1077,8 @@ declare module '@tiptap/core' {
|
|
|
1078
1077
|
|
|
1079
1078
|
declare module '@tiptap/core' {
|
|
1080
1079
|
interface Commands<ReturnType> {
|
|
1081
|
-
|
|
1082
|
-
|
|
1080
|
+
exportWord: {
|
|
1081
|
+
exportToWord: () => ReturnType;
|
|
1083
1082
|
};
|
|
1084
1083
|
}
|
|
1085
1084
|
}
|
|
@@ -1087,9 +1086,11 @@ declare module '@tiptap/core' {
|
|
|
1087
1086
|
|
|
1088
1087
|
declare module '@tiptap/core' {
|
|
1089
1088
|
interface Commands<ReturnType> {
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1089
|
+
emoji: {
|
|
1090
|
+
setEmoji: (emoji: {
|
|
1091
|
+
name: string;
|
|
1092
|
+
emoji: string;
|
|
1093
|
+
}) => ReturnType;
|
|
1093
1094
|
};
|
|
1094
1095
|
}
|
|
1095
1096
|
}
|
|
@@ -1097,14 +1098,8 @@ declare module '@tiptap/core' {
|
|
|
1097
1098
|
|
|
1098
1099
|
declare module '@tiptap/core' {
|
|
1099
1100
|
interface Commands<ReturnType> {
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
* Insert a tweet
|
|
1103
|
-
* @param options The tweet attributes
|
|
1104
|
-
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
1105
|
-
*/
|
|
1106
|
-
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
1107
|
-
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
1101
|
+
painter: {
|
|
1102
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1108
1103
|
};
|
|
1109
1104
|
}
|
|
1110
1105
|
}
|
|
@@ -1112,19 +1107,24 @@ declare module '@tiptap/core' {
|
|
|
1112
1107
|
|
|
1113
1108
|
declare module '@tiptap/core' {
|
|
1114
1109
|
interface Commands<ReturnType> {
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Add an image gif
|
|
1118
|
-
*/
|
|
1119
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1120
|
-
/**
|
|
1121
|
-
* Update an image gif
|
|
1122
|
-
*/
|
|
1123
|
-
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1110
|
+
iframe: {
|
|
1124
1111
|
/**
|
|
1125
|
-
*
|
|
1112
|
+
* Add an iframe
|
|
1126
1113
|
*/
|
|
1127
|
-
|
|
1114
|
+
setIframe: (options: {
|
|
1115
|
+
src: string;
|
|
1116
|
+
service: string;
|
|
1117
|
+
}) => ReturnType;
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
declare module '@tiptap/core' {
|
|
1124
|
+
interface Commands<ReturnType> {
|
|
1125
|
+
tableOfContents: {
|
|
1126
|
+
setTableOfContents: () => ReturnType;
|
|
1127
|
+
removeTableOfContents: () => ReturnType;
|
|
1128
1128
|
};
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
package/lib/locale-bundle.d.ts
CHANGED
|
@@ -918,22 +918,6 @@ declare module '@tiptap/core' {
|
|
|
918
918
|
}
|
|
919
919
|
|
|
920
920
|
|
|
921
|
-
declare module '@tiptap/core' {
|
|
922
|
-
interface Commands<ReturnType> {
|
|
923
|
-
indent: {
|
|
924
|
-
/**
|
|
925
|
-
* Set the indent attribute
|
|
926
|
-
*/
|
|
927
|
-
indent: () => ReturnType;
|
|
928
|
-
/**
|
|
929
|
-
* Set the outdent attribute
|
|
930
|
-
*/
|
|
931
|
-
outdent: () => ReturnType;
|
|
932
|
-
};
|
|
933
|
-
}
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
|
|
937
921
|
declare module '@tiptap/core' {
|
|
938
922
|
interface Commands<ReturnType> {
|
|
939
923
|
imageUpload: {
|
|
@@ -956,8 +940,9 @@ declare module '@tiptap/core' {
|
|
|
956
940
|
|
|
957
941
|
declare module '@tiptap/core' {
|
|
958
942
|
interface Commands<ReturnType> {
|
|
959
|
-
|
|
960
|
-
|
|
943
|
+
lineHeight: {
|
|
944
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
945
|
+
unsetLineHeight: () => ReturnType;
|
|
961
946
|
};
|
|
962
947
|
}
|
|
963
948
|
}
|
|
@@ -965,9 +950,15 @@ declare module '@tiptap/core' {
|
|
|
965
950
|
|
|
966
951
|
declare module '@tiptap/core' {
|
|
967
952
|
interface Commands<ReturnType> {
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
953
|
+
indent: {
|
|
954
|
+
/**
|
|
955
|
+
* Set the indent attribute
|
|
956
|
+
*/
|
|
957
|
+
indent: () => ReturnType;
|
|
958
|
+
/**
|
|
959
|
+
* Set the outdent attribute
|
|
960
|
+
*/
|
|
961
|
+
outdent: () => ReturnType;
|
|
971
962
|
};
|
|
972
963
|
}
|
|
973
964
|
}
|
|
@@ -975,14 +966,9 @@ declare module '@tiptap/core' {
|
|
|
975
966
|
|
|
976
967
|
declare module '@tiptap/core' {
|
|
977
968
|
interface Commands<ReturnType> {
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
*/
|
|
982
|
-
setIframe: (options: {
|
|
983
|
-
src: string;
|
|
984
|
-
service: string;
|
|
985
|
-
}) => ReturnType;
|
|
969
|
+
tableCellBackground: {
|
|
970
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
971
|
+
unsetTableCellBackground: () => ReturnType;
|
|
986
972
|
};
|
|
987
973
|
}
|
|
988
974
|
}
|
|
@@ -990,13 +976,14 @@ declare module '@tiptap/core' {
|
|
|
990
976
|
|
|
991
977
|
declare module '@tiptap/core' {
|
|
992
978
|
interface Commands<ReturnType> {
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
979
|
+
twitter: {
|
|
980
|
+
/**
|
|
981
|
+
* Insert a tweet
|
|
982
|
+
* @param options The tweet attributes
|
|
983
|
+
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
984
|
+
*/
|
|
985
|
+
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
986
|
+
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
1000
987
|
};
|
|
1001
988
|
}
|
|
1002
989
|
}
|
|
@@ -1004,11 +991,8 @@ declare module '@tiptap/core' {
|
|
|
1004
991
|
|
|
1005
992
|
declare module '@tiptap/core' {
|
|
1006
993
|
interface Commands<ReturnType> {
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
name: string;
|
|
1010
|
-
emoji: string;
|
|
1011
|
-
}) => ReturnType;
|
|
994
|
+
excalidraw: {
|
|
995
|
+
setExcalidraw: (attrs?: IExcalidrawAttrs) => ReturnType;
|
|
1012
996
|
};
|
|
1013
997
|
}
|
|
1014
998
|
}
|
|
@@ -1016,9 +1000,13 @@ declare module '@tiptap/core' {
|
|
|
1016
1000
|
|
|
1017
1001
|
declare module '@tiptap/core' {
|
|
1018
1002
|
interface Commands<ReturnType> {
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1003
|
+
columns: {
|
|
1004
|
+
insertColumns: (attrs?: {
|
|
1005
|
+
cols: number;
|
|
1006
|
+
}) => ReturnType;
|
|
1007
|
+
addColBefore: () => ReturnType;
|
|
1008
|
+
addColAfter: () => ReturnType;
|
|
1009
|
+
deleteCol: () => ReturnType;
|
|
1022
1010
|
};
|
|
1023
1011
|
}
|
|
1024
1012
|
}
|
|
@@ -1026,8 +1014,8 @@ declare module '@tiptap/core' {
|
|
|
1026
1014
|
|
|
1027
1015
|
declare module '@tiptap/core' {
|
|
1028
1016
|
interface Commands<ReturnType> {
|
|
1029
|
-
|
|
1030
|
-
|
|
1017
|
+
attachment: {
|
|
1018
|
+
setAttachment: (attrs?: unknown) => ReturnType;
|
|
1031
1019
|
};
|
|
1032
1020
|
}
|
|
1033
1021
|
}
|
|
@@ -1050,8 +1038,8 @@ declare module '@tiptap/core' {
|
|
|
1050
1038
|
|
|
1051
1039
|
declare module '@tiptap/core' {
|
|
1052
1040
|
interface Commands<ReturnType> {
|
|
1053
|
-
|
|
1054
|
-
|
|
1041
|
+
katex: {
|
|
1042
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1055
1043
|
};
|
|
1056
1044
|
}
|
|
1057
1045
|
}
|
|
@@ -1059,9 +1047,9 @@ declare module '@tiptap/core' {
|
|
|
1059
1047
|
|
|
1060
1048
|
declare module '@tiptap/core' {
|
|
1061
1049
|
interface Commands<ReturnType> {
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1050
|
+
mermaid: {
|
|
1051
|
+
setMermaid: (options: any, replace?: any) => ReturnType;
|
|
1052
|
+
setAlignImageMermaid: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1065
1053
|
};
|
|
1066
1054
|
}
|
|
1067
1055
|
}
|
|
@@ -1069,8 +1057,19 @@ declare module '@tiptap/core' {
|
|
|
1069
1057
|
|
|
1070
1058
|
declare module '@tiptap/core' {
|
|
1071
1059
|
interface Commands<ReturnType> {
|
|
1072
|
-
|
|
1073
|
-
|
|
1060
|
+
imageGifUpload: {
|
|
1061
|
+
/**
|
|
1062
|
+
* Add an image gif
|
|
1063
|
+
*/
|
|
1064
|
+
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1065
|
+
/**
|
|
1066
|
+
* Update an image gif
|
|
1067
|
+
*/
|
|
1068
|
+
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1069
|
+
/**
|
|
1070
|
+
* Set image alignment
|
|
1071
|
+
*/
|
|
1072
|
+
setAlignImageGif: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1074
1073
|
};
|
|
1075
1074
|
}
|
|
1076
1075
|
}
|
|
@@ -1078,8 +1077,8 @@ declare module '@tiptap/core' {
|
|
|
1078
1077
|
|
|
1079
1078
|
declare module '@tiptap/core' {
|
|
1080
1079
|
interface Commands<ReturnType> {
|
|
1081
|
-
|
|
1082
|
-
|
|
1080
|
+
exportWord: {
|
|
1081
|
+
exportToWord: () => ReturnType;
|
|
1083
1082
|
};
|
|
1084
1083
|
}
|
|
1085
1084
|
}
|
|
@@ -1087,9 +1086,11 @@ declare module '@tiptap/core' {
|
|
|
1087
1086
|
|
|
1088
1087
|
declare module '@tiptap/core' {
|
|
1089
1088
|
interface Commands<ReturnType> {
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1089
|
+
emoji: {
|
|
1090
|
+
setEmoji: (emoji: {
|
|
1091
|
+
name: string;
|
|
1092
|
+
emoji: string;
|
|
1093
|
+
}) => ReturnType;
|
|
1093
1094
|
};
|
|
1094
1095
|
}
|
|
1095
1096
|
}
|
|
@@ -1097,14 +1098,8 @@ declare module '@tiptap/core' {
|
|
|
1097
1098
|
|
|
1098
1099
|
declare module '@tiptap/core' {
|
|
1099
1100
|
interface Commands<ReturnType> {
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
* Insert a tweet
|
|
1103
|
-
* @param options The tweet attributes
|
|
1104
|
-
* @example editor.commands.setTweet({ src: 'https://x.com/seanpk/status/1800145949580517852' })
|
|
1105
|
-
*/
|
|
1106
|
-
setTweet: (options: SetTweetOptions) => ReturnType;
|
|
1107
|
-
updateTweet: (options: SetTweetOptions) => ReturnType;
|
|
1101
|
+
painter: {
|
|
1102
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
1108
1103
|
};
|
|
1109
1104
|
}
|
|
1110
1105
|
}
|
|
@@ -1112,19 +1107,24 @@ declare module '@tiptap/core' {
|
|
|
1112
1107
|
|
|
1113
1108
|
declare module '@tiptap/core' {
|
|
1114
1109
|
interface Commands<ReturnType> {
|
|
1115
|
-
|
|
1116
|
-
/**
|
|
1117
|
-
* Add an image gif
|
|
1118
|
-
*/
|
|
1119
|
-
setImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1120
|
-
/**
|
|
1121
|
-
* Update an image gif
|
|
1122
|
-
*/
|
|
1123
|
-
updateImageGif: (options: Partial<SetImageAttrsOptions>) => ReturnType;
|
|
1110
|
+
iframe: {
|
|
1124
1111
|
/**
|
|
1125
|
-
*
|
|
1112
|
+
* Add an iframe
|
|
1126
1113
|
*/
|
|
1127
|
-
|
|
1114
|
+
setIframe: (options: {
|
|
1115
|
+
src: string;
|
|
1116
|
+
service: string;
|
|
1117
|
+
}) => ReturnType;
|
|
1118
|
+
};
|
|
1119
|
+
}
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
|
|
1123
|
+
declare module '@tiptap/core' {
|
|
1124
|
+
interface Commands<ReturnType> {
|
|
1125
|
+
tableOfContents: {
|
|
1126
|
+
setTableOfContents: () => ReturnType;
|
|
1127
|
+
removeTableOfContents: () => ReturnType;
|
|
1128
1128
|
};
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reactjs-tiptap-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.3",
|
|
5
5
|
"packageManager": "pnpm@8.15.9",
|
|
6
6
|
"description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
|
|
7
7
|
"license": "MIT",
|
|
@@ -193,10 +193,6 @@
|
|
|
193
193
|
"svg64": "^2.0.0",
|
|
194
194
|
"tippy.js": "^6.3.7"
|
|
195
195
|
},
|
|
196
|
-
"peerDependencies": {
|
|
197
|
-
"react": ">=17.0.2",
|
|
198
|
-
"react-dom": ">=17.0.2"
|
|
199
|
-
},
|
|
200
196
|
"devDependencies": {
|
|
201
197
|
"@eslint-react/eslint-plugin": "^1.30.2",
|
|
202
198
|
"@hunghg255/eslint-config": "^0.0.16",
|