reactjs-tiptap-editor-pro 0.2.22
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/LICENSE +21 -0
- package/README.md +79 -0
- package/lib/RichTextEditor-BnruDETn.js +8270 -0
- package/lib/RichTextEditor-CRJ-dSCW.cjs +141 -0
- package/lib/extension-bundle.cjs +33 -0
- package/lib/extension-bundle.d.cts +947 -0
- package/lib/extension-bundle.d.ts +947 -0
- package/lib/extension-bundle.js +5931 -0
- package/lib/index-8id9bPv5.js +1147 -0
- package/lib/index-CYg22iLG.cjs +1 -0
- package/lib/index.cjs +1 -0
- package/lib/index.d.cts +511 -0
- package/lib/index.d.ts +511 -0
- package/lib/index.js +16 -0
- package/lib/locale-bundle.cjs +1 -0
- package/lib/locale-bundle.d.cts +1140 -0
- package/lib/locale-bundle.d.ts +1140 -0
- package/lib/locale-bundle.js +9 -0
- package/lib/reactjs-tiptap-editor-pro.css +1 -0
- package/lib/tiptap-BV9BUpUC.js +6097 -0
- package/lib/tiptap-Ufn12SjW.cjs +116 -0
- package/lib/vendor-CRmKyn1B.cjs +264 -0
- package/lib/vendor-DyAqAGVt.js +37115 -0
- package/package.json +242 -0
package/package.json
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "reactjs-tiptap-editor-pro",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.2.22",
|
|
5
|
+
"packageManager": "pnpm@8.15.9",
|
|
6
|
+
"description": "A modern WYSIWYG rich text editor based on tiptap and shadcn ui for React",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"homepage": "https://reactjs-tiptap-editor.vercel.app/",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/hunghg255/reactjs-tiptap-editor.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": "https://github.com/hunghg255/reactjs-tiptap-editor/issues",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"react",
|
|
16
|
+
"tiptap",
|
|
17
|
+
"editor",
|
|
18
|
+
"wysiwyg",
|
|
19
|
+
"rich-text",
|
|
20
|
+
"reactjs-tiptap-editor",
|
|
21
|
+
"tiptap-editor",
|
|
22
|
+
"tiptap-react",
|
|
23
|
+
"tiptap-react-editor",
|
|
24
|
+
"tiptap-react-wysiwyg",
|
|
25
|
+
"tiptap-react-rich-text",
|
|
26
|
+
"tiptap-react-rc-editor",
|
|
27
|
+
"tiptap-react-rc-wysiwyg",
|
|
28
|
+
"tiptap-react-rc-rich-text"
|
|
29
|
+
],
|
|
30
|
+
"sideEffects": false,
|
|
31
|
+
"main": "./lib/index.cjs",
|
|
32
|
+
"module": "./lib/index.js",
|
|
33
|
+
"types": "./lib/index.d.ts",
|
|
34
|
+
"exports": {
|
|
35
|
+
".": {
|
|
36
|
+
"require": {
|
|
37
|
+
"types": "./lib/index.d.cts",
|
|
38
|
+
"default": "./lib/index.cjs"
|
|
39
|
+
},
|
|
40
|
+
"import": {
|
|
41
|
+
"types": "./lib/index.d.ts",
|
|
42
|
+
"default": "./lib/index.js"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"./extension-bundle": {
|
|
46
|
+
"require": {
|
|
47
|
+
"types": "./lib/extension-bundle.d.cts",
|
|
48
|
+
"default": "./lib/extension-bundle.cjs"
|
|
49
|
+
},
|
|
50
|
+
"import": {
|
|
51
|
+
"types": "./lib/extension-bundle.d.ts",
|
|
52
|
+
"default": "./lib/extension-bundle.js"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"./locale-bundle": {
|
|
56
|
+
"require": {
|
|
57
|
+
"types": "./lib/locale-bundle.d.cts",
|
|
58
|
+
"default": "./lib/locale-bundle.cjs"
|
|
59
|
+
},
|
|
60
|
+
"import": {
|
|
61
|
+
"types": "./lib/locale-bundle.d.ts",
|
|
62
|
+
"default": "./lib/locale-bundle.js"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"./style.css": {
|
|
66
|
+
"require": "./lib/style.css",
|
|
67
|
+
"import": "./lib/style.css"
|
|
68
|
+
},
|
|
69
|
+
"./lib/*": "./lib/*",
|
|
70
|
+
"./package.json": "./package.json",
|
|
71
|
+
"./*": "./lib/*"
|
|
72
|
+
},
|
|
73
|
+
"typesVersions": {
|
|
74
|
+
"*": {
|
|
75
|
+
"extension-bundle": [
|
|
76
|
+
"./lib/extension-bundle.d.ts"
|
|
77
|
+
],
|
|
78
|
+
"locale-bundle": [
|
|
79
|
+
"./lib/locale-bundle.d.ts"
|
|
80
|
+
],
|
|
81
|
+
"*": [
|
|
82
|
+
"./lib/*",
|
|
83
|
+
"./*"
|
|
84
|
+
]
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"files": [
|
|
88
|
+
"lib",
|
|
89
|
+
"package.json",
|
|
90
|
+
"README.md",
|
|
91
|
+
"LICENSE"
|
|
92
|
+
],
|
|
93
|
+
"engines": {
|
|
94
|
+
"node": ">=18.0.0"
|
|
95
|
+
},
|
|
96
|
+
"dependencies": {
|
|
97
|
+
"@excalidraw/excalidraw": "^0.17.6",
|
|
98
|
+
"@radix-ui/react-checkbox": "^1.1.4",
|
|
99
|
+
"@radix-ui/react-dialog": "^1.1.6",
|
|
100
|
+
"@radix-ui/react-dropdown-menu": "^2.1.6",
|
|
101
|
+
"@radix-ui/react-icons": "^1.3.2",
|
|
102
|
+
"@radix-ui/react-label": "^2.1.2",
|
|
103
|
+
"@radix-ui/react-popover": "^1.1.6",
|
|
104
|
+
"@radix-ui/react-select": "^2.1.6",
|
|
105
|
+
"@radix-ui/react-separator": "^1.1.2",
|
|
106
|
+
"@radix-ui/react-slot": "^1.1.2",
|
|
107
|
+
"@radix-ui/react-switch": "^1.1.3",
|
|
108
|
+
"@radix-ui/react-tabs": "^1.1.3",
|
|
109
|
+
"@radix-ui/react-toast": "^1.2.6",
|
|
110
|
+
"@radix-ui/react-toggle": "^1.1.2",
|
|
111
|
+
"@radix-ui/react-tooltip": "^1.1.8",
|
|
112
|
+
"@tiptap/core": "^2.11.7",
|
|
113
|
+
"@tiptap/extension-blockquote": "^2.11.7",
|
|
114
|
+
"@tiptap/extension-bold": "^2.11.7",
|
|
115
|
+
"@tiptap/extension-bubble-menu": "^2.11.7",
|
|
116
|
+
"@tiptap/extension-bullet-list": "^2.11.7",
|
|
117
|
+
"@tiptap/extension-character-count": "^2.11.7",
|
|
118
|
+
"@tiptap/extension-code": "^2.11.7",
|
|
119
|
+
"@tiptap/extension-code-block": "^2.11.7",
|
|
120
|
+
"@tiptap/extension-color": "^2.11.7",
|
|
121
|
+
"@tiptap/extension-document": "^2.11.7",
|
|
122
|
+
"@tiptap/extension-dropcursor": "^2.11.7",
|
|
123
|
+
"@tiptap/extension-focus": "^2.11.7",
|
|
124
|
+
"@tiptap/extension-font-family": "^2.11.7",
|
|
125
|
+
"@tiptap/extension-gapcursor": "^2.11.7",
|
|
126
|
+
"@tiptap/extension-hard-break": "^2.11.7",
|
|
127
|
+
"@tiptap/extension-heading": "^2.11.7",
|
|
128
|
+
"@tiptap/extension-highlight": "^2.11.7",
|
|
129
|
+
"@tiptap/extension-history": "^2.11.7",
|
|
130
|
+
"@tiptap/extension-horizontal-rule": "^2.11.7",
|
|
131
|
+
"@tiptap/extension-image": "^2.11.7",
|
|
132
|
+
"@tiptap/extension-italic": "^2.11.7",
|
|
133
|
+
"@tiptap/extension-link": "^2.11.7",
|
|
134
|
+
"@tiptap/extension-list-item": "^2.11.7",
|
|
135
|
+
"@tiptap/extension-mention": "^2.11.7",
|
|
136
|
+
"@tiptap/extension-ordered-list": "^2.11.7",
|
|
137
|
+
"@tiptap/extension-paragraph": "^2.11.7",
|
|
138
|
+
"@tiptap/extension-placeholder": "^2.11.7",
|
|
139
|
+
"@tiptap/extension-strike": "^2.11.7",
|
|
140
|
+
"@tiptap/extension-subscript": "^2.11.7",
|
|
141
|
+
"@tiptap/extension-superscript": "^2.11.7",
|
|
142
|
+
"@tiptap/extension-table": "^2.11.7",
|
|
143
|
+
"@tiptap/extension-table-cell": "^2.11.7",
|
|
144
|
+
"@tiptap/extension-table-header": "^2.11.7",
|
|
145
|
+
"@tiptap/extension-table-row": "^2.11.7",
|
|
146
|
+
"@tiptap/extension-task-item": "^2.11.7",
|
|
147
|
+
"@tiptap/extension-task-list": "^2.11.7",
|
|
148
|
+
"@tiptap/extension-text": "^2.11.7",
|
|
149
|
+
"@tiptap/extension-text-align": "^2.11.7",
|
|
150
|
+
"@tiptap/extension-text-style": "^2.11.7",
|
|
151
|
+
"@tiptap/extension-underline": "^2.11.7",
|
|
152
|
+
"@tiptap/pm": "^2.11.7",
|
|
153
|
+
"@tiptap/react": "^2.11.7",
|
|
154
|
+
"@tiptap/suggestion": "^2.11.7",
|
|
155
|
+
"class-variance-authority": "^0.7.1",
|
|
156
|
+
"clsx": "^2.1.1",
|
|
157
|
+
"deep-equal": "^2.2.3",
|
|
158
|
+
"docx": "^8.6.0",
|
|
159
|
+
"easydrawer": "^0.0.15",
|
|
160
|
+
"frimousse": "^0.1.1",
|
|
161
|
+
"katex": "^0.16.21",
|
|
162
|
+
"lodash-es": "^4.17.21",
|
|
163
|
+
"lucide-react": "^0.427.0",
|
|
164
|
+
"mermaid": "^11.6.0",
|
|
165
|
+
"prosemirror-docx": "^0.2.1",
|
|
166
|
+
"re-resizable": "^6.11.2",
|
|
167
|
+
"react-colorful": "^5.6.1",
|
|
168
|
+
"react-image-crop": "^11.0.7",
|
|
169
|
+
"react-tweet": "^3.2.2",
|
|
170
|
+
"react-visibility-sensor": "^5.1.1",
|
|
171
|
+
"reactjs-signal": "^1.1.3",
|
|
172
|
+
"scroll-into-view-if-needed": "^3.1.0",
|
|
173
|
+
"shiki": "^1.29.2",
|
|
174
|
+
"svg64": "^2.0.0",
|
|
175
|
+
"tippy.js": "^6.3.7"
|
|
176
|
+
},
|
|
177
|
+
"peerDependencies": {
|
|
178
|
+
"react": ">=17.0.2",
|
|
179
|
+
"react-dom": ">=17.0.2"
|
|
180
|
+
},
|
|
181
|
+
"devDependencies": {
|
|
182
|
+
"@hunghg255/eslint-config": "^0.1.0",
|
|
183
|
+
"@types/deep-equal": "^1.0.4",
|
|
184
|
+
"@types/katex": "^0.16.7",
|
|
185
|
+
"@types/lodash-es": "^4.17.12",
|
|
186
|
+
"@types/node": "^22.14.0",
|
|
187
|
+
"@types/react": "^19.1.0",
|
|
188
|
+
"@types/react-dom": "^19.1.1",
|
|
189
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
190
|
+
"autoprefixer": "^10.4.21",
|
|
191
|
+
"bumpp": "^9.11.1",
|
|
192
|
+
"contributorkit": "^0.0.4",
|
|
193
|
+
"eslint": "^9.23.0",
|
|
194
|
+
"eslint-plugin-tailwindcss": "^3.18.0",
|
|
195
|
+
"esno": "^4.8.0",
|
|
196
|
+
"execa": "^9.5.2",
|
|
197
|
+
"git-scm-hooks": "^0.0.11",
|
|
198
|
+
"globby": "^14.1.0",
|
|
199
|
+
"mammoth": "^1.9.0",
|
|
200
|
+
"md5": "^2.3.0",
|
|
201
|
+
"postcss": "^8.5.3",
|
|
202
|
+
"postcss-replace": "^2.0.1",
|
|
203
|
+
"postcss-scss": "^4.0.9",
|
|
204
|
+
"react": "^19.1.0",
|
|
205
|
+
"react-dom": "^19.1.0",
|
|
206
|
+
"sass": "^1.86.2",
|
|
207
|
+
"tailwind-merge": "^2.6.0",
|
|
208
|
+
"tailwindcss": "^3.4.17",
|
|
209
|
+
"typescript": "^5.8.2",
|
|
210
|
+
"verify-commit-msg": "^0.0.14",
|
|
211
|
+
"vite": "^6.2.4",
|
|
212
|
+
"vite-plugin-dts": "^4.5.3"
|
|
213
|
+
},
|
|
214
|
+
"browserslist": [
|
|
215
|
+
">0.3%",
|
|
216
|
+
"not ie 11",
|
|
217
|
+
"not dead",
|
|
218
|
+
"not op_mini all"
|
|
219
|
+
],
|
|
220
|
+
"git-hooks": {
|
|
221
|
+
"pre-commit": "npm run lint:fix",
|
|
222
|
+
"commit-msg": "npm run verify-commit"
|
|
223
|
+
},
|
|
224
|
+
"scripts": {
|
|
225
|
+
"build:lib": "vite build && pnpm modify-css",
|
|
226
|
+
"build:lib:dev": "vite build --mode development --watch",
|
|
227
|
+
"build:playground": "pnpm build:lib && pnpm --dir ./playground run build",
|
|
228
|
+
"docs:dev": "pnpm --parallel --filter docs... dev",
|
|
229
|
+
"docs:build": "pnpm --filter docs... build",
|
|
230
|
+
"docs:preview": "pnpm -C docs preview",
|
|
231
|
+
"playground": "pnpm --dir ./playground run dev",
|
|
232
|
+
"preview": "pnpm --dir ./playground run preview",
|
|
233
|
+
"lint": "eslint src --quiet",
|
|
234
|
+
"lint:fix": "eslint src --fix --quiet",
|
|
235
|
+
"type-check": "tsc",
|
|
236
|
+
"verify-commit": "verify-commit-msg",
|
|
237
|
+
"release": "bumpp -r",
|
|
238
|
+
"gen-changelog": "esno ./scripts/genExtensions.ts && esno ./scripts/changelog.ts",
|
|
239
|
+
"modify-css": "esno ./scripts/modifyCss.ts",
|
|
240
|
+
"gen-contributors": "contributorkit"
|
|
241
|
+
}
|
|
242
|
+
}
|