reactjs-tiptap-editor 0.1.14 → 0.1.15
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-BFCJg7ap.cjs +138 -0
- package/lib/RichTextEditor-CqUsKvdf.js +4887 -0
- package/lib/extension-bundle.cjs +15 -0
- package/lib/extension-bundle.d.cts +919 -0
- package/lib/extension-bundle.d.ts +919 -0
- package/lib/extension-bundle.js +8501 -0
- package/lib/{locales--osbCzs-.js → index-BQSRMhtZ.js} +229 -181
- package/lib/index-CHZh3C0I.cjs +1 -0
- package/lib/index.cjs +1 -1
- package/lib/index.d.cts +45 -1583
- package/lib/index.d.ts +45 -1583
- package/lib/index.js +12 -67
- package/lib/locale-bundle.cjs +1 -0
- package/lib/locale-bundle.d.cts +1145 -0
- package/lib/locale-bundle.d.ts +1145 -0
- package/lib/locale-bundle.js +9 -0
- package/lib/style.css +1 -1
- package/lib/{tiptap-CibBmg3k.js → tiptap-CB5MO02_.js} +1453 -1401
- package/lib/tiptap-DkTOfBkj.cjs +116 -0
- package/lib/vendor-BH8HYOJ4.cjs +354 -0
- package/lib/{vendor-CDx3V-R7.js → vendor-DiKgVtSS.js} +23737 -23443
- package/package.json +95 -82
- package/lib/bundle-full.cjs +0 -650
- package/lib/bundle-full.js +0 -82900
- package/lib/locales-DNzXvsXe.cjs +0 -1
- package/lib/tiptap-BWShr3Ps.cjs +0 -116
- package/lib/utils-CpXb61kA.cjs +0 -152
- package/lib/utils-DvW-fR8u.js +0 -13374
- package/lib/vendor-DhcRzB9P.cjs +0 -354
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "reactjs-tiptap-editor",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.15",
|
|
5
5
|
"main": "./lib/index.cjs",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"types": "./lib/index.d.ts",
|
|
8
8
|
"description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
|
|
9
|
-
"packageManager": "pnpm@
|
|
9
|
+
"packageManager": "pnpm@8.15.9",
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
12
|
"import": {
|
|
@@ -18,14 +18,24 @@
|
|
|
18
18
|
"default": "./lib/index.cjs"
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
|
-
"./bundle
|
|
21
|
+
"./extension-bundle": {
|
|
22
22
|
"import": {
|
|
23
|
-
"types": "./lib/
|
|
24
|
-
"default": "./lib/bundle
|
|
23
|
+
"types": "./lib/extension-bundle.d.ts",
|
|
24
|
+
"default": "./lib/extension-bundle.js"
|
|
25
25
|
},
|
|
26
26
|
"require": {
|
|
27
|
-
"types": "./lib/
|
|
28
|
-
"default": "./lib/bundle
|
|
27
|
+
"types": "./lib/extension-bundle.d.cts",
|
|
28
|
+
"default": "./lib/extension-bundle.cjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"./locale-bundle": {
|
|
32
|
+
"import": {
|
|
33
|
+
"types": "./lib/locale-bundle.d.ts",
|
|
34
|
+
"default": "./lib/locale-bundle.js"
|
|
35
|
+
},
|
|
36
|
+
"require": {
|
|
37
|
+
"types": "./lib/locale-bundle.d.cts",
|
|
38
|
+
"default": "./lib/locale-bundle.cjs"
|
|
29
39
|
}
|
|
30
40
|
},
|
|
31
41
|
"./style.css": {
|
|
@@ -38,8 +48,11 @@
|
|
|
38
48
|
},
|
|
39
49
|
"typesVersions": {
|
|
40
50
|
"*": {
|
|
41
|
-
"bundle
|
|
42
|
-
"./lib/
|
|
51
|
+
"extension-bundle": [
|
|
52
|
+
"./lib/extension-bundle.d.ts"
|
|
53
|
+
],
|
|
54
|
+
"locale-bundle": [
|
|
55
|
+
"./lib/locale-bundle.d.ts"
|
|
43
56
|
],
|
|
44
57
|
"*": [
|
|
45
58
|
"./lib/*",
|
|
@@ -59,7 +72,7 @@
|
|
|
59
72
|
"node": ">=18.0.0"
|
|
60
73
|
},
|
|
61
74
|
"scripts": {
|
|
62
|
-
"build:lib": "
|
|
75
|
+
"build:lib": "vite build && pnpm modify-css",
|
|
63
76
|
"build:lib:dev": "vite build --mode development --watch",
|
|
64
77
|
"build:playground": "pnpm build:lib && pnpm --dir ./playground run build",
|
|
65
78
|
"docs:dev": "pnpm --parallel --filter docs... dev",
|
|
@@ -80,69 +93,69 @@
|
|
|
80
93
|
},
|
|
81
94
|
"dependencies": {
|
|
82
95
|
"@excalidraw/excalidraw": "^0.17.6",
|
|
83
|
-
"@radix-ui/react-checkbox": "^1.1.
|
|
84
|
-
"@radix-ui/react-dialog": "^1.1.
|
|
85
|
-
"@radix-ui/react-dropdown-menu": "^2.1.
|
|
96
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
97
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
98
|
+
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
|
86
99
|
"@radix-ui/react-icons": "^1.3.2",
|
|
87
|
-
"@radix-ui/react-label": "^2.1.
|
|
88
|
-
"@radix-ui/react-popover": "^1.1.
|
|
89
|
-
"@radix-ui/react-select": "^2.1.
|
|
90
|
-
"@radix-ui/react-separator": "^1.1.
|
|
91
|
-
"@radix-ui/react-slot": "^1.1.
|
|
92
|
-
"@radix-ui/react-switch": "^1.1.
|
|
93
|
-
"@radix-ui/react-tabs": "^1.1.
|
|
94
|
-
"@radix-ui/react-toast": "^1.2.
|
|
95
|
-
"@radix-ui/react-toggle": "^1.1.
|
|
96
|
-
"@radix-ui/react-tooltip": "^1.1.
|
|
97
|
-
"@tiptap/core": "^2.
|
|
98
|
-
"@tiptap/extension-blockquote": "^2.
|
|
99
|
-
"@tiptap/extension-bold": "^2.
|
|
100
|
-
"@tiptap/extension-bubble-menu": "^2.
|
|
101
|
-
"@tiptap/extension-bullet-list": "^2.
|
|
102
|
-
"@tiptap/extension-character-count": "^2.
|
|
103
|
-
"@tiptap/extension-code": "^2.
|
|
104
|
-
"@tiptap/extension-code-block": "^2.
|
|
105
|
-
"@tiptap/extension-color": "^2.
|
|
106
|
-
"@tiptap/extension-document": "^2.
|
|
107
|
-
"@tiptap/extension-dropcursor": "^2.
|
|
108
|
-
"@tiptap/extension-focus": "^2.
|
|
109
|
-
"@tiptap/extension-font-family": "^2.
|
|
110
|
-
"@tiptap/extension-gapcursor": "^2.
|
|
111
|
-
"@tiptap/extension-hard-break": "^2.
|
|
112
|
-
"@tiptap/extension-heading": "^2.
|
|
113
|
-
"@tiptap/extension-highlight": "^2.
|
|
114
|
-
"@tiptap/extension-history": "^2.
|
|
115
|
-
"@tiptap/extension-horizontal-rule": "^2.
|
|
116
|
-
"@tiptap/extension-image": "^2.
|
|
117
|
-
"@tiptap/extension-italic": "^2.
|
|
118
|
-
"@tiptap/extension-link": "^2.
|
|
119
|
-
"@tiptap/extension-list-item": "^2.
|
|
120
|
-
"@tiptap/extension-mention": "^2.
|
|
121
|
-
"@tiptap/extension-ordered-list": "^2.
|
|
122
|
-
"@tiptap/extension-paragraph": "^2.
|
|
123
|
-
"@tiptap/extension-placeholder": "^2.
|
|
124
|
-
"@tiptap/extension-strike": "^2.
|
|
125
|
-
"@tiptap/extension-subscript": "^2.
|
|
126
|
-
"@tiptap/extension-superscript": "^2.
|
|
127
|
-
"@tiptap/extension-table": "^2.
|
|
128
|
-
"@tiptap/extension-table-cell": "^2.
|
|
129
|
-
"@tiptap/extension-table-header": "^2.
|
|
130
|
-
"@tiptap/extension-table-row": "^2.
|
|
131
|
-
"@tiptap/extension-task-item": "^2.
|
|
132
|
-
"@tiptap/extension-task-list": "^2.
|
|
133
|
-
"@tiptap/extension-text": "^2.
|
|
134
|
-
"@tiptap/extension-text-align": "^2.
|
|
135
|
-
"@tiptap/extension-text-style": "^2.
|
|
136
|
-
"@tiptap/extension-underline": "^2.
|
|
137
|
-
"@tiptap/pm": "^2.
|
|
138
|
-
"@tiptap/react": "^2.
|
|
139
|
-
"@tiptap/suggestion": "^2.
|
|
100
|
+
"@radix-ui/react-label": "^2.1.2",
|
|
101
|
+
"@radix-ui/react-popover": "^1.1.6",
|
|
102
|
+
"@radix-ui/react-select": "^2.1.6",
|
|
103
|
+
"@radix-ui/react-separator": "^1.1.2",
|
|
104
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
105
|
+
"@radix-ui/react-switch": "^1.1.3",
|
|
106
|
+
"@radix-ui/react-tabs": "^1.1.3",
|
|
107
|
+
"@radix-ui/react-toast": "^1.2.6",
|
|
108
|
+
"@radix-ui/react-toggle": "^1.1.2",
|
|
109
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
110
|
+
"@tiptap/core": "^2.11.5",
|
|
111
|
+
"@tiptap/extension-blockquote": "^2.11.5",
|
|
112
|
+
"@tiptap/extension-bold": "^2.11.5",
|
|
113
|
+
"@tiptap/extension-bubble-menu": "^2.11.5",
|
|
114
|
+
"@tiptap/extension-bullet-list": "^2.11.5",
|
|
115
|
+
"@tiptap/extension-character-count": "^2.11.5",
|
|
116
|
+
"@tiptap/extension-code": "^2.11.5",
|
|
117
|
+
"@tiptap/extension-code-block": "^2.11.5",
|
|
118
|
+
"@tiptap/extension-color": "^2.11.5",
|
|
119
|
+
"@tiptap/extension-document": "^2.11.5",
|
|
120
|
+
"@tiptap/extension-dropcursor": "^2.11.5",
|
|
121
|
+
"@tiptap/extension-focus": "^2.11.5",
|
|
122
|
+
"@tiptap/extension-font-family": "^2.11.5",
|
|
123
|
+
"@tiptap/extension-gapcursor": "^2.11.5",
|
|
124
|
+
"@tiptap/extension-hard-break": "^2.11.5",
|
|
125
|
+
"@tiptap/extension-heading": "^2.11.5",
|
|
126
|
+
"@tiptap/extension-highlight": "^2.11.5",
|
|
127
|
+
"@tiptap/extension-history": "^2.11.5",
|
|
128
|
+
"@tiptap/extension-horizontal-rule": "^2.11.5",
|
|
129
|
+
"@tiptap/extension-image": "^2.11.5",
|
|
130
|
+
"@tiptap/extension-italic": "^2.11.5",
|
|
131
|
+
"@tiptap/extension-link": "^2.11.5",
|
|
132
|
+
"@tiptap/extension-list-item": "^2.11.5",
|
|
133
|
+
"@tiptap/extension-mention": "^2.11.5",
|
|
134
|
+
"@tiptap/extension-ordered-list": "^2.11.5",
|
|
135
|
+
"@tiptap/extension-paragraph": "^2.11.5",
|
|
136
|
+
"@tiptap/extension-placeholder": "^2.11.5",
|
|
137
|
+
"@tiptap/extension-strike": "^2.11.5",
|
|
138
|
+
"@tiptap/extension-subscript": "^2.11.5",
|
|
139
|
+
"@tiptap/extension-superscript": "^2.11.5",
|
|
140
|
+
"@tiptap/extension-table": "^2.11.5",
|
|
141
|
+
"@tiptap/extension-table-cell": "^2.11.5",
|
|
142
|
+
"@tiptap/extension-table-header": "^2.11.5",
|
|
143
|
+
"@tiptap/extension-table-row": "^2.11.5",
|
|
144
|
+
"@tiptap/extension-task-item": "^2.11.5",
|
|
145
|
+
"@tiptap/extension-task-list": "^2.11.5",
|
|
146
|
+
"@tiptap/extension-text": "^2.11.5",
|
|
147
|
+
"@tiptap/extension-text-align": "^2.11.5",
|
|
148
|
+
"@tiptap/extension-text-style": "^2.11.5",
|
|
149
|
+
"@tiptap/extension-underline": "^2.11.5",
|
|
150
|
+
"@tiptap/pm": "^2.11.5",
|
|
151
|
+
"@tiptap/react": "^2.11.5",
|
|
152
|
+
"@tiptap/suggestion": "^2.11.5",
|
|
140
153
|
"class-variance-authority": "^0.7.1",
|
|
141
154
|
"clsx": "^2.1.1",
|
|
142
155
|
"deep-equal": "^2.2.3",
|
|
143
156
|
"docx": "^8.6.0",
|
|
144
157
|
"echo-drag-handle-plugin": "^0.0.2",
|
|
145
|
-
"katex": "^0.16.
|
|
158
|
+
"katex": "^0.16.21",
|
|
146
159
|
"lodash-es": "^4.17.21",
|
|
147
160
|
"lucide-react": "^0.427.0",
|
|
148
161
|
"mermaid": "^11.4.1",
|
|
@@ -152,48 +165,48 @@
|
|
|
152
165
|
"react-image-crop": "^11.0.7",
|
|
153
166
|
"react-tweet": "^3.2.1",
|
|
154
167
|
"react-visibility-sensor": "^5.1.1",
|
|
155
|
-
"reactjs-signal": "^1.
|
|
168
|
+
"reactjs-signal": "^1.1.1",
|
|
156
169
|
"scroll-into-view-if-needed": "^3.1.0",
|
|
157
|
-
"shiki": "^1.
|
|
170
|
+
"shiki": "^1.29.2",
|
|
158
171
|
"svg64": "^2.0.0",
|
|
159
172
|
"tippy.js": "^6.3.7"
|
|
160
173
|
},
|
|
161
174
|
"devDependencies": {
|
|
162
175
|
"@antfu/eslint-config": "^2.27.3",
|
|
163
|
-
"@eslint-react/eslint-plugin": "^1.
|
|
176
|
+
"@eslint-react/eslint-plugin": "^1.26.2",
|
|
164
177
|
"@total-typescript/ts-reset": "^0.5.1",
|
|
165
178
|
"@types/deep-equal": "^1.0.4",
|
|
166
179
|
"@types/katex": "^0.16.7",
|
|
167
180
|
"@types/lodash-es": "^4.17.12",
|
|
168
|
-
"@types/node": "^22.
|
|
169
|
-
"@types/react": "^18.3.
|
|
181
|
+
"@types/node": "^22.13.4",
|
|
182
|
+
"@types/react": "^18.3.18",
|
|
170
183
|
"@types/react-dom": "^18.3.5",
|
|
171
184
|
"@vitejs/plugin-react": "^4.3.4",
|
|
172
185
|
"autoprefixer": "^10.4.20",
|
|
173
|
-
"bumpp": "^9.
|
|
186
|
+
"bumpp": "^9.11.1",
|
|
174
187
|
"contributorkit": "^0.0.4",
|
|
175
188
|
"eslint": "^8.57.1",
|
|
176
189
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
177
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
190
|
+
"eslint-plugin-react-refresh": "^0.4.19",
|
|
178
191
|
"esno": "^4.8.0",
|
|
179
192
|
"execa": "^9.5.2",
|
|
180
193
|
"git-scm-hooks": "^0.0.11",
|
|
181
|
-
"globby": "^14.0
|
|
194
|
+
"globby": "^14.1.0",
|
|
182
195
|
"mammoth": "^1.9.0",
|
|
183
196
|
"md5": "^2.3.0",
|
|
184
|
-
"postcss": "^8.
|
|
197
|
+
"postcss": "^8.5.2",
|
|
185
198
|
"postcss-replace": "^2.0.1",
|
|
186
199
|
"postcss-scss": "^4.0.9",
|
|
187
200
|
"react": "^18.3.1",
|
|
188
201
|
"react-dom": "^18.3.1",
|
|
189
|
-
"sass": "^1.
|
|
190
|
-
"tailwind-merge": "^2.
|
|
191
|
-
"tailwindcss": "^3.4.
|
|
202
|
+
"sass": "^1.85.0",
|
|
203
|
+
"tailwind-merge": "^2.6.0",
|
|
204
|
+
"tailwindcss": "^3.4.17",
|
|
192
205
|
"tailwindcss-animate": "^1.0.7",
|
|
193
|
-
"typescript": "^5.7.
|
|
206
|
+
"typescript": "^5.7.3",
|
|
194
207
|
"verify-commit-msg": "^0.0.14",
|
|
195
|
-
"vite": "^5.4.
|
|
196
|
-
"vite-plugin-dts": "^4.
|
|
208
|
+
"vite": "^5.4.14",
|
|
209
|
+
"vite-plugin-dts": "^4.5.0"
|
|
197
210
|
},
|
|
198
211
|
"browserslist": [
|
|
199
212
|
">0.3%",
|