@umoteam/editor 4.5.0 → 4.6.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 +2 -2
- package/README.zh-CN.md +2 -2
- package/dist/style.css +1 -1
- package/dist/umo-editor.js +29057 -28118
- package/package.json +82 -41
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umoteam/editor",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"type": "module",
|
|
5
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.",
|
|
6
6
|
"keywords": [
|
|
@@ -43,17 +43,26 @@
|
|
|
43
43
|
"import": "./dist/style.css"
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
|
+
"types": "./types/index.d.ts",
|
|
46
47
|
"scripts": {
|
|
48
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
47
49
|
"dev": "vite --port 9000 --open --force",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
50
|
+
"format": "prettier --write .",
|
|
51
|
+
"check:code": "eslint --cache src",
|
|
52
|
+
"check:style": "stylelint src/**/*.{css,less,vue}",
|
|
53
|
+
"check:types": "vue-tsc --noEmit",
|
|
54
|
+
"lint:code": "eslint --cache --fix src",
|
|
55
|
+
"lint:style": "stylelint --fix src/**/*.{css,less,vue}",
|
|
56
|
+
"test": "NODE_NO_WARNINGS=1 vitest",
|
|
57
|
+
"test:coverage": "npm run test --coverage",
|
|
58
|
+
"test:watch": "npm run test --watch --coverage",
|
|
59
|
+
"prepare": "husky",
|
|
52
60
|
"prepublishOnly": "npm run build"
|
|
53
61
|
},
|
|
54
62
|
"dependencies": {
|
|
55
63
|
"@eslint/object-schema": "^2.1.4",
|
|
56
|
-
"@imgly/background-removal": "1.5.
|
|
64
|
+
"@imgly/background-removal": "1.5.5",
|
|
65
|
+
"@tiptap-pro/extension-invisible-characters": "^2.11.2",
|
|
57
66
|
"@tiptap/core": "^2.6.6",
|
|
58
67
|
"@tiptap/extension-bold": "^2.6.6",
|
|
59
68
|
"@tiptap/extension-bubble-menu": "^2.6.6",
|
|
@@ -64,11 +73,13 @@
|
|
|
64
73
|
"@tiptap/extension-dropcursor": "^2.6.6",
|
|
65
74
|
"@tiptap/extension-focus": "^2.6.6",
|
|
66
75
|
"@tiptap/extension-font-family": "^2.6.6",
|
|
76
|
+
"@tiptap/extension-heading": "^2.6.6",
|
|
67
77
|
"@tiptap/extension-highlight": "^2.6.6",
|
|
68
78
|
"@tiptap/extension-horizontal-rule": "^2.6.6",
|
|
69
79
|
"@tiptap/extension-image": "^2.6.6",
|
|
70
80
|
"@tiptap/extension-link": "^2.6.6",
|
|
71
81
|
"@tiptap/extension-ordered-list": "^2.6.6",
|
|
82
|
+
"@tiptap/extension-placeholder": "^2.6.6",
|
|
72
83
|
"@tiptap/extension-subscript": "^2.6.6",
|
|
73
84
|
"@tiptap/extension-superscript": "^2.6.6",
|
|
74
85
|
"@tiptap/extension-table": "^2.6.6",
|
|
@@ -84,71 +95,101 @@
|
|
|
84
95
|
"@tiptap/pm": "^2.6.6",
|
|
85
96
|
"@tiptap/starter-kit": "^2.6.6",
|
|
86
97
|
"@tiptap/vue-3": "^2.6.6",
|
|
87
|
-
"@
|
|
98
|
+
"@tool-belt/type-predicates": "^1.3.0",
|
|
99
|
+
"@types/svg64": "^1.1.2",
|
|
100
|
+
"@umoteam/editor-external": "4.5.0",
|
|
88
101
|
"@vue-monaco/editor": "^0.0.6",
|
|
89
|
-
"@vueuse/core": "^
|
|
102
|
+
"@vueuse/core": "^11.0.3",
|
|
103
|
+
"buffer-image-size": "^0.6.4",
|
|
90
104
|
"docx": "^8.5.0",
|
|
91
|
-
"dom-to-image-more": "^3.3
|
|
105
|
+
"dom-to-image-more": "^3.4.3",
|
|
92
106
|
"es-drager": "^1.2.11",
|
|
93
107
|
"file-saver": "^2.0.5",
|
|
94
|
-
"file64": "^1.0.
|
|
108
|
+
"file64": "^1.0.4",
|
|
95
109
|
"hotkeys-js": "^3.13.7",
|
|
96
110
|
"jsbarcode": "^3.11.6",
|
|
97
111
|
"katex": "^0.16.11",
|
|
98
|
-
"mermaid": "^
|
|
99
|
-
"nzh": "^1.0.
|
|
112
|
+
"mermaid": "^11.2.0",
|
|
113
|
+
"nzh": "^1.0.13",
|
|
100
114
|
"plyr": "^3.7.8",
|
|
101
115
|
"pretty-bytes": "^6.1.1",
|
|
102
|
-
"prism-code-editor": "^3.4.0
|
|
116
|
+
"prism-code-editor": "^3.4.0",
|
|
103
117
|
"prismjs": "^1.29.0",
|
|
104
118
|
"prosemirror-docx": "^0.2.0",
|
|
105
119
|
"prosemirror-transform": "^1.10.0",
|
|
106
120
|
"qrcode-svg": "^1.1.0",
|
|
121
|
+
"sign-canvas-plus": "^2.0.3",
|
|
122
|
+
"smooth-signature": "^1.0.15",
|
|
107
123
|
"svg64": "^2.0.0",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
124
|
+
"tippy.js": "^6.3.7",
|
|
125
|
+
"ts-deepmerge": "^7.0.1",
|
|
126
|
+
"vue-i18n": "^10.0.0",
|
|
127
|
+
"zeed-dom": "^0.14.0"
|
|
111
128
|
},
|
|
112
129
|
"devDependencies": {
|
|
113
130
|
"@eslint/eslintrc": "^3.1.0",
|
|
114
|
-
"@eslint/js": "^9.
|
|
115
|
-
"@intlify/unplugin-vue-i18n": "^
|
|
131
|
+
"@eslint/js": "^9.10.0",
|
|
132
|
+
"@intlify/unplugin-vue-i18n": "^5.0.0",
|
|
116
133
|
"@sereneinserenade/tiptap-search-and-replace": "^0.1.1",
|
|
117
|
-
"@
|
|
118
|
-
"@tiptap-pro/extension-
|
|
119
|
-
"@
|
|
120
|
-
"@types/
|
|
121
|
-
"@types/
|
|
122
|
-
"@
|
|
134
|
+
"@testing-library/vue": "^8.1.0",
|
|
135
|
+
"@tiptap-pro/extension-mathematics": "^2.11.2",
|
|
136
|
+
"@tiptap-pro/extension-table-of-contents": "^2.11.2",
|
|
137
|
+
"@types/dom-to-image": "^2.6.7",
|
|
138
|
+
"@types/file-saver": "^2.0.7",
|
|
139
|
+
"@types/node": "^22.5.4",
|
|
140
|
+
"@types/qrcode-svg": "^1.1.5",
|
|
141
|
+
"@typescript-eslint/eslint-plugin": "^8.5.0",
|
|
142
|
+
"@typescript-eslint/parser": "^8.5.0",
|
|
143
|
+
"@vitejs/plugin-vue": "^4.6.2",
|
|
144
|
+
"@vue-macros/reactivity-transform": "^1.0.4",
|
|
145
|
+
"@vue-macros/volar": "^0.29.1",
|
|
123
146
|
"@vue/eslint-config-prettier": "^9.0.0",
|
|
124
|
-
"eslint": "^
|
|
125
|
-
"eslint-
|
|
147
|
+
"eslint": "^8.57.0",
|
|
148
|
+
"eslint-config-prettier": "^9.1.0",
|
|
149
|
+
"eslint-plugin-functional": "^5.0.8",
|
|
150
|
+
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
151
|
+
"eslint-plugin-unused-imports": "^4.1.3",
|
|
152
|
+
"eslint-plugin-vue": "^9.28.0",
|
|
153
|
+
"globals": "^15.9.0",
|
|
126
154
|
"husky": "^9.1.5",
|
|
155
|
+
"jsdom": "^25.0.0",
|
|
127
156
|
"less": "^4.2.0",
|
|
128
157
|
"less-loader": "^12.2.0",
|
|
129
|
-
"lint-staged": "^15.2.
|
|
158
|
+
"lint-staged": "^15.2.10",
|
|
159
|
+
"postcss": "^8.3.3",
|
|
160
|
+
"postcss-html": "^1.7.0",
|
|
130
161
|
"prettier": "^3.3.3",
|
|
131
|
-
"
|
|
132
|
-
"
|
|
162
|
+
"stylelint": "^16.9.0",
|
|
163
|
+
"stylelint-config-recommended-less": "^3.0.1",
|
|
164
|
+
"stylelint-config-recommended-vue": "^1.5.0",
|
|
165
|
+
"stylelint-less": "^3.0.1",
|
|
166
|
+
"tdesign-vue-next": "^1.10.0",
|
|
167
|
+
"typescript": "5.5.4",
|
|
168
|
+
"typescript-eslint": "^8.5.0",
|
|
133
169
|
"unplugin-auto-import": "^0.18.2",
|
|
134
|
-
"unplugin-vue
|
|
135
|
-
"unplugin-vue-
|
|
136
|
-
"
|
|
170
|
+
"unplugin-vue": "^5.1.5",
|
|
171
|
+
"unplugin-vue-components": "^0.27.4",
|
|
172
|
+
"unplugin-vue-macros": "^2.11.11",
|
|
173
|
+
"vite": "^4.5.3",
|
|
174
|
+
"vite-plugin-inspect": "^0.8.7",
|
|
137
175
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
138
|
-
"
|
|
176
|
+
"vite-tsconfig-paths": "^5.0.1",
|
|
177
|
+
"vitest": "^2.0.5",
|
|
178
|
+
"vue": "^3.0.11",
|
|
179
|
+
"vue-tsc": "^2.1.6"
|
|
139
180
|
},
|
|
140
181
|
"engines": {
|
|
141
182
|
"node": ">=18.0.0"
|
|
142
183
|
},
|
|
143
184
|
"lint-staged": {
|
|
144
|
-
"*.{js,jsx,ts,tsx,vue,less,css}": [
|
|
145
|
-
"
|
|
146
|
-
|
|
185
|
+
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue,less,css,yml,yaml,json,md,html}": [
|
|
186
|
+
"prettier --write src"
|
|
187
|
+
],
|
|
188
|
+
"*.{css,less,vue}": [
|
|
189
|
+
"stylelint --write src/**/*.{css,less,vue}"
|
|
190
|
+
],
|
|
191
|
+
"*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}": [
|
|
192
|
+
"eslint --fix src"
|
|
147
193
|
]
|
|
148
|
-
},
|
|
149
|
-
"husky": {
|
|
150
|
-
"hooks": {
|
|
151
|
-
"pre-commit": "lint-staged"
|
|
152
|
-
}
|
|
153
194
|
}
|
|
154
195
|
}
|