@umoteam/editor 9.0.1 → 10.0.0
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/README.md +22 -20
- package/README.zh-CN.md +32 -18
- package/dist/umo-editor.css +1 -0
- package/dist/umo-editor.js +51486 -52726
- package/package.json +102 -170
- package/dist/style.css +0 -1
- package/types/index.d.ts +0 -274
- package/types/src/components/index.d.ts +0 -9
- package/types/src/components/index.vue.d.ts +0 -1621
- package/types/src/components/menus/button.vue.d.ts +0 -583
- package/types/src/components/modal.vue.d.ts +0 -2
- package/types/src/components/tooltip.vue.d.ts +0 -27
package/package.json
CHANGED
|
@@ -1,214 +1,146 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umoteam/editor",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"description": "Umo Editor is open-source document editor based on Vue3 and Tiptap. Umo Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.",
|
|
3
|
+
"version": "10.0.0",
|
|
4
|
+
"description": "Umo Editor is open-source document editor based on Vue3 and Tiptap3. Umo Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.",
|
|
6
5
|
"keywords": [
|
|
7
|
-
"umo editor",
|
|
8
|
-
"umodoc editor",
|
|
9
|
-
"document editor",
|
|
10
6
|
"docs editor",
|
|
11
|
-
"
|
|
7
|
+
"document editor",
|
|
8
|
+
"editor",
|
|
12
9
|
"office edtior",
|
|
13
|
-
"
|
|
10
|
+
"online office",
|
|
14
11
|
"richtext editor",
|
|
15
|
-
"
|
|
12
|
+
"tiptap",
|
|
13
|
+
"tiptap3",
|
|
14
|
+
"umo editor",
|
|
15
|
+
"umodoc editor",
|
|
16
16
|
"vue editor",
|
|
17
17
|
"vue3 editor",
|
|
18
|
-
"
|
|
19
|
-
"editor",
|
|
18
|
+
"web editor",
|
|
20
19
|
"web office",
|
|
21
|
-
"
|
|
22
|
-
"
|
|
20
|
+
"word editor",
|
|
21
|
+
"wysiwyg editor"
|
|
23
22
|
],
|
|
23
|
+
"homepage": "https://www.umodoc.com",
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/umodoc/editor/issues",
|
|
26
|
+
"email": "contact@umodoc.com"
|
|
27
|
+
},
|
|
28
|
+
"license": "MIT",
|
|
24
29
|
"author": {
|
|
25
30
|
"name": "umodoc",
|
|
26
31
|
"email": "contact@umodoc.com",
|
|
27
32
|
"url": "https://www.umodoc.com"
|
|
28
33
|
},
|
|
29
|
-
"license": "MIT",
|
|
30
|
-
"homepage": "https://www.umodoc.com",
|
|
31
34
|
"repository": {
|
|
32
35
|
"type": "git",
|
|
33
36
|
"url": "https://github.com/umodoc/editor.git"
|
|
34
37
|
},
|
|
35
|
-
"bugs": {
|
|
36
|
-
"url": "https://github.com/umodoc/editor/issues",
|
|
37
|
-
"email": "contact@umodoc.com"
|
|
38
|
-
},
|
|
39
38
|
"files": [
|
|
40
|
-
"dist"
|
|
41
|
-
"types/index.d.ts",
|
|
42
|
-
"types/src/*"
|
|
39
|
+
"dist"
|
|
43
40
|
],
|
|
41
|
+
"type": "module",
|
|
44
42
|
"exports": {
|
|
45
43
|
".": {
|
|
46
|
-
"types": "./types/index.d.ts",
|
|
47
44
|
"import": "./dist/umo-editor.js"
|
|
48
45
|
},
|
|
49
46
|
"./style": {
|
|
50
|
-
"import": "./dist/
|
|
47
|
+
"import": "./dist/umo-editor.css"
|
|
51
48
|
}
|
|
52
49
|
},
|
|
53
|
-
"types": "./types/index.d.ts",
|
|
54
50
|
"scripts": {
|
|
55
|
-
"build": "
|
|
51
|
+
"build": "vite build",
|
|
56
52
|
"dev": "vite --port 9000 --open --force",
|
|
57
|
-
"format": "
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"check:types": "vue-tsc --noEmit",
|
|
61
|
-
"lint:code": "eslint --cache --fix src",
|
|
62
|
-
"lint:style": "stylelint --fix src/**/*.{css,less,vue}",
|
|
63
|
-
"test": "NODE_NO_WARNINGS=1 vitest",
|
|
64
|
-
"test:coverage": "npm run test --coverage",
|
|
65
|
-
"test:watch": "npm run test --watch --coverage",
|
|
53
|
+
"format": "oxfmt --write .",
|
|
54
|
+
"lint": "oxlint --fix src",
|
|
55
|
+
"analyzer": "vite-bundle-visualizer",
|
|
66
56
|
"prepare": "husky",
|
|
67
57
|
"prepublishOnly": "npm run build"
|
|
68
58
|
},
|
|
69
59
|
"dependencies": {
|
|
70
|
-
"@eslint/object-schema": "
|
|
71
|
-
"@
|
|
72
|
-
"@tiptap
|
|
73
|
-
"@tiptap/
|
|
74
|
-
"@tiptap/extension-
|
|
75
|
-
"@tiptap/extension-
|
|
76
|
-
"@tiptap/extension-
|
|
77
|
-
"@tiptap/extension-
|
|
78
|
-
"@tiptap/extension-
|
|
79
|
-
"@tiptap/extension-
|
|
80
|
-
"@tiptap/extension-
|
|
81
|
-
"@tiptap/extension-
|
|
82
|
-
"@tiptap/extension-
|
|
83
|
-
"@tiptap/extension-
|
|
84
|
-
"@tiptap/extension-
|
|
85
|
-
"@tiptap/extension-
|
|
86
|
-
"@tiptap/extension-
|
|
87
|
-
"@tiptap/extension-
|
|
88
|
-
"@tiptap/extension-
|
|
89
|
-
"@tiptap/extension-
|
|
90
|
-
"@tiptap/extension-
|
|
91
|
-
"@tiptap/extension-
|
|
92
|
-
"@tiptap/extension-
|
|
93
|
-
"@tiptap/extension-
|
|
94
|
-
"@tiptap/extension-
|
|
95
|
-
"@tiptap/extension-
|
|
96
|
-
"@tiptap/extension-
|
|
97
|
-
"@tiptap/
|
|
98
|
-
"@tiptap/
|
|
99
|
-
"@tiptap/
|
|
100
|
-
"@tiptap/
|
|
101
|
-
"@tiptap/
|
|
102
|
-
"@tiptap/
|
|
103
|
-
"@
|
|
104
|
-
"@
|
|
105
|
-
"@
|
|
106
|
-
"
|
|
107
|
-
"@tiptap/pm": "2.11.5",
|
|
108
|
-
"@tiptap/starter-kit": "2.11.5",
|
|
109
|
-
"@tiptap/suggestion": "2.11.5",
|
|
110
|
-
"@tiptap/vue-3": "2.11.5",
|
|
111
|
-
"@tool-belt/type-predicates": "^1.3.0",
|
|
112
|
-
"@types/svg64": "^1.1.2",
|
|
113
|
-
"@umoteam/editor-external": "^9.0.0",
|
|
114
|
-
"@umoteam/viewer": "^0.3.0",
|
|
115
|
-
"@vueuse/core": "^11.0.3",
|
|
116
|
-
"buffer-image-size": "^0.6.4",
|
|
117
|
-
"dom-to-image-more": "^3.4.3",
|
|
60
|
+
"@eslint/object-schema": "3.0.2",
|
|
61
|
+
"@floating-ui/dom": "1.7.5",
|
|
62
|
+
"@tiptap/core": "3.20.0",
|
|
63
|
+
"@tiptap/extension-bold": "3.20.0",
|
|
64
|
+
"@tiptap/extension-code-block": "3.20.0",
|
|
65
|
+
"@tiptap/extension-code-block-lowlight": "3.20.0",
|
|
66
|
+
"@tiptap/extension-collaboration": "3.20.0",
|
|
67
|
+
"@tiptap/extension-details": "3.20.0",
|
|
68
|
+
"@tiptap/extension-document": "3.20.0",
|
|
69
|
+
"@tiptap/extension-drag-handle": "3.20.0",
|
|
70
|
+
"@tiptap/extension-drag-handle-vue-3": "3.20.0",
|
|
71
|
+
"@tiptap/extension-horizontal-rule": "3.20.0",
|
|
72
|
+
"@tiptap/extension-image": "3.20.0",
|
|
73
|
+
"@tiptap/extension-invisible-characters": "3.20.0",
|
|
74
|
+
"@tiptap/extension-link": "3.20.0",
|
|
75
|
+
"@tiptap/extension-list": "3.20.0",
|
|
76
|
+
"@tiptap/extension-mathematics": "3.20.0",
|
|
77
|
+
"@tiptap/extension-mention": "3.20.0",
|
|
78
|
+
"@tiptap/extension-node-range": "3.20.0",
|
|
79
|
+
"@tiptap/extension-subscript": "3.20.0",
|
|
80
|
+
"@tiptap/extension-superscript": "3.20.0",
|
|
81
|
+
"@tiptap/extension-table": "3.20.0",
|
|
82
|
+
"@tiptap/extension-table-of-contents": "3.20.0",
|
|
83
|
+
"@tiptap/extension-text-align": "3.20.0",
|
|
84
|
+
"@tiptap/extension-text-style": "3.20.0",
|
|
85
|
+
"@tiptap/extension-typography": "3.20.0",
|
|
86
|
+
"@tiptap/extension-unique-id": "3.20.0",
|
|
87
|
+
"@tiptap/extensions": "3.20.0",
|
|
88
|
+
"@tiptap/pm": "3.20.0",
|
|
89
|
+
"@tiptap/starter-kit": "3.20.0",
|
|
90
|
+
"@tiptap/suggestion": "3.20.0",
|
|
91
|
+
"@tiptap/vue-3": "3.20.0",
|
|
92
|
+
"@tiptap/y-tiptap": "3.0.2",
|
|
93
|
+
"@tool-belt/type-predicates": "1.4.1",
|
|
94
|
+
"@umoteam/editor-external": "10.0.0",
|
|
95
|
+
"@vueuse/core": "14.2.1",
|
|
96
|
+
"dom-to-image-more": "3.7.2",
|
|
118
97
|
"es-drager": "1.2.11",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"prosemirror
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"smooth-signature": "^1.0.15",
|
|
134
|
-
"svg64": "^2.0.0",
|
|
135
|
-
"tippy.js": "^6.3.7",
|
|
136
|
-
"vue-i18n": "^10.0.0",
|
|
137
|
-
"y-prosemirror": "^1.2.15",
|
|
138
|
-
"y-protocols": "^1.0.6",
|
|
139
|
-
"yjs": "^13.6.23"
|
|
98
|
+
"fast-glob": "3.3.3",
|
|
99
|
+
"file-saver": "2.0.5",
|
|
100
|
+
"hotkeys-js": "4.0.2",
|
|
101
|
+
"jsbarcode": "3.12.3",
|
|
102
|
+
"katex": "0.16.33",
|
|
103
|
+
"lowlight": "3.3.0",
|
|
104
|
+
"nzh": "1.0.14",
|
|
105
|
+
"pretty-bytes": "7.1.0",
|
|
106
|
+
"pure-svg-code": "1.0.6",
|
|
107
|
+
"smooth-signature": "1.0.15",
|
|
108
|
+
"vue-i18n": "11.2.8",
|
|
109
|
+
"y-prosemirror": "1.2.15",
|
|
110
|
+
"y-protocols": "1.0.6",
|
|
111
|
+
"yjs": "13.6.29"
|
|
140
112
|
},
|
|
141
113
|
"devDependencies": {
|
|
142
|
-
"@
|
|
143
|
-
"@
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"@typescript-eslint/parser": "^8.5.0",
|
|
160
|
-
"@vitejs/plugin-vue": "^4.6.2",
|
|
161
|
-
"@vue-macros/reactivity-transform": "^1.0.4",
|
|
162
|
-
"@vue-macros/volar": "^0.29.1",
|
|
163
|
-
"@vue/eslint-config-prettier": "^9.0.0",
|
|
164
|
-
"eslint": "^9.21.0",
|
|
165
|
-
"eslint-config-prettier": "^9.1.0",
|
|
166
|
-
"eslint-plugin-functional": "^5.0.8",
|
|
167
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
168
|
-
"eslint-plugin-unused-imports": "^4.1.3",
|
|
169
|
-
"eslint-plugin-vue": "^9.28.0",
|
|
170
|
-
"globals": "^15.9.0",
|
|
171
|
-
"husky": "^9.1.5",
|
|
172
|
-
"jiti": "^2.4.2",
|
|
173
|
-
"jsdom": "^25.0.0",
|
|
174
|
-
"less": "^4.2.0",
|
|
175
|
-
"less-loader": "^12.2.0",
|
|
176
|
-
"lint-staged": "^15.2.10",
|
|
177
|
-
"postcss": "^8.3.3",
|
|
178
|
-
"postcss-html": "^1.7.0",
|
|
179
|
-
"prettier": "^3.3.3",
|
|
180
|
-
"stylelint": "^16.9.0",
|
|
181
|
-
"stylelint-config-recommended-less": "^3.0.1",
|
|
182
|
-
"stylelint-config-recommended-vue": "^1.5.0",
|
|
183
|
-
"stylelint-less": "^3.0.1",
|
|
184
|
-
"tdesign-vue-next": "1.9.8",
|
|
185
|
-
"typescript": "5.5.4",
|
|
186
|
-
"typescript-eslint": "^8.5.0",
|
|
187
|
-
"unplugin-auto-import": "^0.18.2",
|
|
188
|
-
"unplugin-vue": "^5.1.5",
|
|
189
|
-
"unplugin-vue-components": "^0.27.4",
|
|
190
|
-
"unplugin-vue-macros": "^2.11.11",
|
|
191
|
-
"vite": "^5.0.0",
|
|
192
|
-
"vite-plugin-dts": "^4.5.4",
|
|
193
|
-
"vite-plugin-inspect": "^0.8.7",
|
|
114
|
+
"@vitejs/plugin-vue": "^6.0.4",
|
|
115
|
+
"@vue-macros/reactivity-transform": "^3.1.2",
|
|
116
|
+
"husky": "^9.1.7",
|
|
117
|
+
"less": "^4.5.1",
|
|
118
|
+
"less-loader": "^12.3.1",
|
|
119
|
+
"lint-staged": "^16.2.7",
|
|
120
|
+
"oxfmt": "^0.35.0",
|
|
121
|
+
"oxlint": "^1.50.0",
|
|
122
|
+
"postcss": "^8.5.6",
|
|
123
|
+
"postcss-html": "^1.8.1",
|
|
124
|
+
"tdesign-vue-next": "1.18.2",
|
|
125
|
+
"unplugin-auto-import": "^21.0.0",
|
|
126
|
+
"unplugin-vue": "^7.1.1",
|
|
127
|
+
"unplugin-vue-components": "^31.0.0",
|
|
128
|
+
"unplugin-vue-macros": "^2.14.5",
|
|
129
|
+
"vite": "^7.3.1",
|
|
130
|
+
"vite-bundle-visualizer": "^1.2.1",
|
|
194
131
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
195
|
-
"
|
|
196
|
-
"vitest": "^2.0.5",
|
|
197
|
-
"vue": "^3.0.11",
|
|
198
|
-
"vue-tsc": "^2.1.6"
|
|
132
|
+
"vue": "^3.5.29"
|
|
199
133
|
},
|
|
200
|
-
"
|
|
201
|
-
"
|
|
134
|
+
"overrides": {
|
|
135
|
+
"rolldown": "1.0.0-rc.5"
|
|
202
136
|
},
|
|
203
137
|
"lint-staged": {
|
|
204
|
-
"*.{js,
|
|
205
|
-
"
|
|
206
|
-
|
|
207
|
-
"*.{css,less,vue}": [
|
|
208
|
-
"stylelint --write src/**/*.{css,less,vue}"
|
|
209
|
-
],
|
|
210
|
-
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}": [
|
|
211
|
-
"eslint --fix src"
|
|
138
|
+
"*.{js,vue,less}": [
|
|
139
|
+
"oxfmt --write src",
|
|
140
|
+
"oxlint --fix src"
|
|
212
141
|
]
|
|
142
|
+
},
|
|
143
|
+
"engines": {
|
|
144
|
+
"node": ">=18.0.0"
|
|
213
145
|
}
|
|
214
146
|
}
|