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
package/lib/locale-bundle.d.cts
CHANGED
|
@@ -936,30 +936,9 @@ declare module '@tiptap/core' {
|
|
|
936
936
|
|
|
937
937
|
declare module '@tiptap/core' {
|
|
938
938
|
interface Commands<ReturnType> {
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
};
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
declare module '@tiptap/core' {
|
|
948
|
-
interface Commands<ReturnType> {
|
|
949
|
-
emoji: {
|
|
950
|
-
setEmoji: (emoji: {
|
|
951
|
-
name: string;
|
|
952
|
-
emoji: string;
|
|
953
|
-
}) => ReturnType;
|
|
954
|
-
};
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
declare module '@tiptap/core' {
|
|
960
|
-
interface Commands<ReturnType> {
|
|
961
|
-
painter: {
|
|
962
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
939
|
+
lineHeight: {
|
|
940
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
941
|
+
unsetLineHeight: () => ReturnType;
|
|
963
942
|
};
|
|
964
943
|
}
|
|
965
944
|
}
|
|
@@ -987,8 +966,8 @@ declare module '@tiptap/core' {
|
|
|
987
966
|
|
|
988
967
|
declare module '@tiptap/core' {
|
|
989
968
|
interface Commands<ReturnType> {
|
|
990
|
-
|
|
991
|
-
|
|
969
|
+
painter: {
|
|
970
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
992
971
|
};
|
|
993
972
|
}
|
|
994
973
|
}
|
|
@@ -996,14 +975,23 @@ declare module '@tiptap/core' {
|
|
|
996
975
|
|
|
997
976
|
declare module '@tiptap/core' {
|
|
998
977
|
interface Commands<ReturnType> {
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
978
|
+
columns: {
|
|
979
|
+
insertColumns: (attrs?: {
|
|
980
|
+
cols: number;
|
|
981
|
+
}) => ReturnType;
|
|
982
|
+
addColBefore: () => ReturnType;
|
|
983
|
+
addColAfter: () => ReturnType;
|
|
984
|
+
deleteCol: () => ReturnType;
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
declare module '@tiptap/core' {
|
|
991
|
+
interface Commands<ReturnType> {
|
|
992
|
+
tableCellBackground: {
|
|
993
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
994
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1007
995
|
};
|
|
1008
996
|
}
|
|
1009
997
|
}
|
|
@@ -1026,13 +1014,14 @@ declare module '@tiptap/core' {
|
|
|
1026
1014
|
|
|
1027
1015
|
declare module '@tiptap/core' {
|
|
1028
1016
|
interface Commands<ReturnType> {
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1017
|
+
search: {
|
|
1018
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1019
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1020
|
+
replace: () => ReturnType;
|
|
1021
|
+
replaceAll: () => ReturnType;
|
|
1022
|
+
goToPrevSearchResult: () => void;
|
|
1023
|
+
goToNextSearchResult: () => void;
|
|
1024
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
1036
1025
|
};
|
|
1037
1026
|
}
|
|
1038
1027
|
}
|
|
@@ -1040,9 +1029,11 @@ declare module '@tiptap/core' {
|
|
|
1040
1029
|
|
|
1041
1030
|
declare module '@tiptap/core' {
|
|
1042
1031
|
interface Commands<ReturnType> {
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1032
|
+
emoji: {
|
|
1033
|
+
setEmoji: (emoji: {
|
|
1034
|
+
name: string;
|
|
1035
|
+
emoji: string;
|
|
1036
|
+
}) => ReturnType;
|
|
1046
1037
|
};
|
|
1047
1038
|
}
|
|
1048
1039
|
}
|
|
@@ -1050,8 +1041,8 @@ declare module '@tiptap/core' {
|
|
|
1050
1041
|
|
|
1051
1042
|
declare module '@tiptap/core' {
|
|
1052
1043
|
interface Commands<ReturnType> {
|
|
1053
|
-
|
|
1054
|
-
|
|
1044
|
+
katex: {
|
|
1045
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1055
1046
|
};
|
|
1056
1047
|
}
|
|
1057
1048
|
}
|
|
@@ -1076,6 +1067,15 @@ declare module '@tiptap/core' {
|
|
|
1076
1067
|
}
|
|
1077
1068
|
|
|
1078
1069
|
|
|
1070
|
+
declare module '@tiptap/core' {
|
|
1071
|
+
interface Commands<ReturnType> {
|
|
1072
|
+
exportWord: {
|
|
1073
|
+
exportToWord: () => ReturnType;
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
1079
|
declare module '@tiptap/core' {
|
|
1080
1080
|
interface Commands<ReturnType> {
|
|
1081
1081
|
imageGifUpload: {
|
|
@@ -1115,16 +1115,6 @@ declare module '@tiptap/core' {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
|
|
1118
|
-
declare module '@tiptap/core' {
|
|
1119
|
-
interface Commands<ReturnType> {
|
|
1120
|
-
drawer: {
|
|
1121
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1122
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1123
|
-
};
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
1118
|
declare module '@tiptap/core' {
|
|
1129
1119
|
interface Commands<ReturnType> {
|
|
1130
1120
|
twitter: {
|
|
@@ -1138,3 +1128,13 @@ declare module '@tiptap/core' {
|
|
|
1138
1128
|
};
|
|
1139
1129
|
}
|
|
1140
1130
|
}
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
declare module '@tiptap/core' {
|
|
1134
|
+
interface Commands<ReturnType> {
|
|
1135
|
+
drawer: {
|
|
1136
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1137
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
}
|
package/lib/locale-bundle.d.ts
CHANGED
|
@@ -936,30 +936,9 @@ declare module '@tiptap/core' {
|
|
|
936
936
|
|
|
937
937
|
declare module '@tiptap/core' {
|
|
938
938
|
interface Commands<ReturnType> {
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
};
|
|
943
|
-
}
|
|
944
|
-
}
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
declare module '@tiptap/core' {
|
|
948
|
-
interface Commands<ReturnType> {
|
|
949
|
-
emoji: {
|
|
950
|
-
setEmoji: (emoji: {
|
|
951
|
-
name: string;
|
|
952
|
-
emoji: string;
|
|
953
|
-
}) => ReturnType;
|
|
954
|
-
};
|
|
955
|
-
}
|
|
956
|
-
}
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
declare module '@tiptap/core' {
|
|
960
|
-
interface Commands<ReturnType> {
|
|
961
|
-
painter: {
|
|
962
|
-
setPainter: (marks: Mark[]) => ReturnType;
|
|
939
|
+
lineHeight: {
|
|
940
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
941
|
+
unsetLineHeight: () => ReturnType;
|
|
963
942
|
};
|
|
964
943
|
}
|
|
965
944
|
}
|
|
@@ -987,8 +966,8 @@ declare module '@tiptap/core' {
|
|
|
987
966
|
|
|
988
967
|
declare module '@tiptap/core' {
|
|
989
968
|
interface Commands<ReturnType> {
|
|
990
|
-
|
|
991
|
-
|
|
969
|
+
painter: {
|
|
970
|
+
setPainter: (marks: Mark[]) => ReturnType;
|
|
992
971
|
};
|
|
993
972
|
}
|
|
994
973
|
}
|
|
@@ -996,14 +975,23 @@ declare module '@tiptap/core' {
|
|
|
996
975
|
|
|
997
976
|
declare module '@tiptap/core' {
|
|
998
977
|
interface Commands<ReturnType> {
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
978
|
+
columns: {
|
|
979
|
+
insertColumns: (attrs?: {
|
|
980
|
+
cols: number;
|
|
981
|
+
}) => ReturnType;
|
|
982
|
+
addColBefore: () => ReturnType;
|
|
983
|
+
addColAfter: () => ReturnType;
|
|
984
|
+
deleteCol: () => ReturnType;
|
|
985
|
+
};
|
|
986
|
+
}
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
declare module '@tiptap/core' {
|
|
991
|
+
interface Commands<ReturnType> {
|
|
992
|
+
tableCellBackground: {
|
|
993
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
994
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1007
995
|
};
|
|
1008
996
|
}
|
|
1009
997
|
}
|
|
@@ -1026,13 +1014,14 @@ declare module '@tiptap/core' {
|
|
|
1026
1014
|
|
|
1027
1015
|
declare module '@tiptap/core' {
|
|
1028
1016
|
interface Commands<ReturnType> {
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1017
|
+
search: {
|
|
1018
|
+
setSearchTerm: (searchTerm: string) => ReturnType;
|
|
1019
|
+
setReplaceTerm: (replaceTerm: string) => ReturnType;
|
|
1020
|
+
replace: () => ReturnType;
|
|
1021
|
+
replaceAll: () => ReturnType;
|
|
1022
|
+
goToPrevSearchResult: () => void;
|
|
1023
|
+
goToNextSearchResult: () => void;
|
|
1024
|
+
setCaseSensitive: (caseSensitive: boolean) => ReturnType;
|
|
1036
1025
|
};
|
|
1037
1026
|
}
|
|
1038
1027
|
}
|
|
@@ -1040,9 +1029,11 @@ declare module '@tiptap/core' {
|
|
|
1040
1029
|
|
|
1041
1030
|
declare module '@tiptap/core' {
|
|
1042
1031
|
interface Commands<ReturnType> {
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1032
|
+
emoji: {
|
|
1033
|
+
setEmoji: (emoji: {
|
|
1034
|
+
name: string;
|
|
1035
|
+
emoji: string;
|
|
1036
|
+
}) => ReturnType;
|
|
1046
1037
|
};
|
|
1047
1038
|
}
|
|
1048
1039
|
}
|
|
@@ -1050,8 +1041,8 @@ declare module '@tiptap/core' {
|
|
|
1050
1041
|
|
|
1051
1042
|
declare module '@tiptap/core' {
|
|
1052
1043
|
interface Commands<ReturnType> {
|
|
1053
|
-
|
|
1054
|
-
|
|
1044
|
+
katex: {
|
|
1045
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1055
1046
|
};
|
|
1056
1047
|
}
|
|
1057
1048
|
}
|
|
@@ -1076,6 +1067,15 @@ declare module '@tiptap/core' {
|
|
|
1076
1067
|
}
|
|
1077
1068
|
|
|
1078
1069
|
|
|
1070
|
+
declare module '@tiptap/core' {
|
|
1071
|
+
interface Commands<ReturnType> {
|
|
1072
|
+
exportWord: {
|
|
1073
|
+
exportToWord: () => ReturnType;
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
|
|
1079
1079
|
declare module '@tiptap/core' {
|
|
1080
1080
|
interface Commands<ReturnType> {
|
|
1081
1081
|
imageGifUpload: {
|
|
@@ -1115,16 +1115,6 @@ declare module '@tiptap/core' {
|
|
|
1115
1115
|
}
|
|
1116
1116
|
|
|
1117
1117
|
|
|
1118
|
-
declare module '@tiptap/core' {
|
|
1119
|
-
interface Commands<ReturnType> {
|
|
1120
|
-
drawer: {
|
|
1121
|
-
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1122
|
-
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1123
|
-
};
|
|
1124
|
-
}
|
|
1125
|
-
}
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
1118
|
declare module '@tiptap/core' {
|
|
1129
1119
|
interface Commands<ReturnType> {
|
|
1130
1120
|
twitter: {
|
|
@@ -1138,3 +1128,13 @@ declare module '@tiptap/core' {
|
|
|
1138
1128
|
};
|
|
1139
1129
|
}
|
|
1140
1130
|
}
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
declare module '@tiptap/core' {
|
|
1134
|
+
interface Commands<ReturnType> {
|
|
1135
|
+
drawer: {
|
|
1136
|
+
setDrawer: (options: any, replace?: any) => ReturnType;
|
|
1137
|
+
setAlignImageDrawer: (align: 'left' | 'center' | 'right') => ReturnType;
|
|
1138
|
+
};
|
|
1139
|
+
}
|
|
1140
|
+
}
|
package/lib/locale-bundle.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { o, p as e, n as p, s as r, q as _, r as h } from "./locale-bundle-DxCAtRDI.js";
|
|
2
2
|
export {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
o as en,
|
|
4
|
+
e as hu_HU,
|
|
5
|
+
p as locale,
|
|
6
|
+
r as pt_BR,
|
|
7
|
+
_ as vi,
|
|
8
8
|
h as zh_CN
|
|
9
9
|
};
|