@umoteam/editor 4.5.0 → 4.6.1
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.1",
|
|
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,25 @@
|
|
|
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",
|
|
57
65
|
"@tiptap/core": "^2.6.6",
|
|
58
66
|
"@tiptap/extension-bold": "^2.6.6",
|
|
59
67
|
"@tiptap/extension-bubble-menu": "^2.6.6",
|
|
@@ -64,11 +72,13 @@
|
|
|
64
72
|
"@tiptap/extension-dropcursor": "^2.6.6",
|
|
65
73
|
"@tiptap/extension-focus": "^2.6.6",
|
|
66
74
|
"@tiptap/extension-font-family": "^2.6.6",
|
|
75
|
+
"@tiptap/extension-heading": "^2.6.6",
|
|
67
76
|
"@tiptap/extension-highlight": "^2.6.6",
|
|
68
77
|
"@tiptap/extension-horizontal-rule": "^2.6.6",
|
|
69
78
|
"@tiptap/extension-image": "^2.6.6",
|
|
70
79
|
"@tiptap/extension-link": "^2.6.6",
|
|
71
80
|
"@tiptap/extension-ordered-list": "^2.6.6",
|
|
81
|
+
"@tiptap/extension-placeholder": "^2.6.6",
|
|
72
82
|
"@tiptap/extension-subscript": "^2.6.6",
|
|
73
83
|
"@tiptap/extension-superscript": "^2.6.6",
|
|
74
84
|
"@tiptap/extension-table": "^2.6.6",
|
|
@@ -84,71 +94,102 @@
|
|
|
84
94
|
"@tiptap/pm": "^2.6.6",
|
|
85
95
|
"@tiptap/starter-kit": "^2.6.6",
|
|
86
96
|
"@tiptap/vue-3": "^2.6.6",
|
|
87
|
-
"@
|
|
97
|
+
"@tool-belt/type-predicates": "^1.3.0",
|
|
98
|
+
"@types/svg64": "^1.1.2",
|
|
99
|
+
"@umoteam/editor-external": "4.5.0",
|
|
88
100
|
"@vue-monaco/editor": "^0.0.6",
|
|
89
|
-
"@vueuse/core": "^
|
|
101
|
+
"@vueuse/core": "^11.0.3",
|
|
102
|
+
"buffer-image-size": "^0.6.4",
|
|
90
103
|
"docx": "^8.5.0",
|
|
91
|
-
"dom-to-image-more": "^3.3
|
|
104
|
+
"dom-to-image-more": "^3.4.3",
|
|
92
105
|
"es-drager": "^1.2.11",
|
|
93
106
|
"file-saver": "^2.0.5",
|
|
94
|
-
"file64": "^1.0.
|
|
107
|
+
"file64": "^1.0.4",
|
|
95
108
|
"hotkeys-js": "^3.13.7",
|
|
96
109
|
"jsbarcode": "^3.11.6",
|
|
97
110
|
"katex": "^0.16.11",
|
|
98
|
-
"mermaid": "^
|
|
99
|
-
"nzh": "^1.0.
|
|
111
|
+
"mermaid": "^11.2.0",
|
|
112
|
+
"nzh": "^1.0.13",
|
|
100
113
|
"plyr": "^3.7.8",
|
|
101
114
|
"pretty-bytes": "^6.1.1",
|
|
102
|
-
"prism-code-editor": "^3.4.0
|
|
115
|
+
"prism-code-editor": "^3.4.0",
|
|
103
116
|
"prismjs": "^1.29.0",
|
|
104
117
|
"prosemirror-docx": "^0.2.0",
|
|
105
118
|
"prosemirror-transform": "^1.10.0",
|
|
106
119
|
"qrcode-svg": "^1.1.0",
|
|
120
|
+
"sign-canvas-plus": "^2.0.3",
|
|
121
|
+
"smooth-signature": "^1.0.15",
|
|
107
122
|
"svg64": "^2.0.0",
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
123
|
+
"tippy.js": "^6.3.7",
|
|
124
|
+
"ts-deepmerge": "^7.0.1",
|
|
125
|
+
"vue-i18n": "^10.0.0",
|
|
126
|
+
"zeed-dom": "^0.14.0"
|
|
111
127
|
},
|
|
112
128
|
"devDependencies": {
|
|
113
129
|
"@eslint/eslintrc": "^3.1.0",
|
|
114
|
-
"@eslint/js": "^9.
|
|
115
|
-
"@intlify/unplugin-vue-i18n": "^
|
|
130
|
+
"@eslint/js": "^9.10.0",
|
|
131
|
+
"@intlify/unplugin-vue-i18n": "^5.0.0",
|
|
116
132
|
"@sereneinserenade/tiptap-search-and-replace": "^0.1.1",
|
|
117
|
-
"@
|
|
118
|
-
"@tiptap-pro/extension-
|
|
119
|
-
"@
|
|
120
|
-
"@
|
|
121
|
-
"@types/
|
|
122
|
-
"@
|
|
133
|
+
"@testing-library/vue": "^8.1.0",
|
|
134
|
+
"@tiptap-pro/extension-invisible-characters": "^2.11.2",
|
|
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
|
}
|