@umoteam/editor 2.3.1 → 3.1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@umoteam/editor",
3
- "version": "2.3.1",
4
- "description": "Umo Editor is an open-source document editor based on Vue3. It offers comprehensive document editing capabilities, supports Markdown syntax, and basic rich-text editing functions. It also supports the insertion of various formatted node types, provides a variety of practical tools, and allows for page style customization. Additionally, it supports exporting in multiple formats, printing and print preview, document block editing, the addition of custom extensions, i18n settings, and dark mode support.",
3
+ "version": "3.1.0",
4
+ "description": "Umo Editor is an open-source document editor based on Vue3, offering localized functionalities. It provides comprehensive document editing capabilities and AI creation features, supports Markdown syntax, basic rich-text editing features, a variety of node types in multiple formats, a range of practical tools, and customization of page styles. It also supports exporting in various formats, printing and print preview, document block editing, adding custom extensions, i18n settings, and dark mode support.",
5
5
  "keywords": [
6
6
  "umo editor",
7
7
  "umodoc editor",
@@ -14,6 +14,7 @@
14
14
  "wysiwyg editor",
15
15
  "vue editor",
16
16
  "vue3 editor",
17
+ "ai editor",
17
18
  "editor",
18
19
  "web office",
19
20
  "online office",
@@ -35,7 +36,10 @@
35
36
  ],
36
37
  "exports": {
37
38
  ".": {
38
- "import": "./dist/es/umo-editor.mjs"
39
+ "import": "./dist/umo-editor.mjs"
40
+ },
41
+ "./style": {
42
+ "import": "./dist/style.css"
39
43
  }
40
44
  },
41
45
  "scripts": {
@@ -43,78 +47,83 @@
43
47
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
44
48
  "format": "prettier --write src/",
45
49
  "build": "vite build",
46
- "build:all": "vite build && vite build --config vite.config.umd.js"
50
+ "prepublishOnly": "npm run build"
47
51
  },
48
52
  "dependencies": {
49
53
  "@eslint/object-schema": "^2.1.4",
50
54
  "@imgly/background-removal": "1.5.3",
51
- "@sereneinserenade/tiptap-search-and-replace": "^0.1.1",
52
- "@tiptap-pro/extension-invisible-characters": "^2.10.3",
53
- "@tiptap-pro/extension-mathematics": "^2.10.3",
54
- "@tiptap-pro/extension-table-of-contents": "^2.10.3",
55
- "@tiptap/extension-bubble-menu": "^2.5.4",
56
- "@tiptap/extension-character-count": "^2.5.4",
57
- "@tiptap/extension-color": "^2.5.4",
58
- "@tiptap/extension-focus": "^2.5.4",
59
- "@tiptap/extension-font-family": "^2.5.4",
60
- "@tiptap/extension-highlight": "^2.5.4",
61
- "@tiptap/extension-horizontal-rule": "^2.5.4",
62
- "@tiptap/extension-image": "^2.5.4",
63
- "@tiptap/extension-link": "^2.5.4",
64
- "@tiptap/extension-placeholder": "^2.5.4",
65
- "@tiptap/extension-subscript": "^2.5.4",
66
- "@tiptap/extension-superscript": "^2.5.4",
67
- "@tiptap/extension-table": "^2.5.4",
68
- "@tiptap/extension-table-cell": "^2.5.4",
69
- "@tiptap/extension-table-header": "^2.5.4",
70
- "@tiptap/extension-table-row": "^2.5.4",
71
- "@tiptap/extension-task-item": "^2.5.4",
72
- "@tiptap/extension-task-list": "^2.5.4",
73
- "@tiptap/extension-text-align": "^2.5.4",
74
- "@tiptap/extension-text-style": "^2.5.4",
75
- "@tiptap/extension-typography": "^2.5.4",
76
- "@tiptap/extension-underline": "^2.5.4",
77
- "@tiptap/pm": "^2.5.4",
78
- "@tiptap/starter-kit": "^2.5.4",
79
- "@tiptap/vue-3": "^2.5.4",
55
+ "@tiptap/core": "^2.5.8",
56
+ "@tiptap/extension-bold": "^2.5.8",
57
+ "@tiptap/extension-bubble-menu": "^2.5.8",
58
+ "@tiptap/extension-bullet-list": "^2.5.8",
59
+ "@tiptap/extension-character-count": "^2.5.8",
60
+ "@tiptap/extension-color": "^2.5.8",
61
+ "@tiptap/extension-dropcursor": "^2.5.8",
62
+ "@tiptap/extension-focus": "^2.5.8",
63
+ "@tiptap/extension-font-family": "^2.5.8",
64
+ "@tiptap/extension-highlight": "^2.5.8",
65
+ "@tiptap/extension-horizontal-rule": "^2.5.8",
66
+ "@tiptap/extension-image": "^2.5.8",
67
+ "@tiptap/extension-link": "^2.5.8",
68
+ "@tiptap/extension-ordered-list": "^2.5.8",
69
+ "@tiptap/extension-placeholder": "^2.5.8",
70
+ "@tiptap/extension-subscript": "^2.5.8",
71
+ "@tiptap/extension-superscript": "^2.5.8",
72
+ "@tiptap/extension-table": "^2.5.8",
73
+ "@tiptap/extension-table-cell": "^2.5.8",
74
+ "@tiptap/extension-table-header": "^2.5.8",
75
+ "@tiptap/extension-table-row": "^2.5.8",
76
+ "@tiptap/extension-task-item": "^2.5.8",
77
+ "@tiptap/extension-task-list": "^2.5.8",
78
+ "@tiptap/extension-text-align": "^2.5.8",
79
+ "@tiptap/extension-text-style": "^2.5.8",
80
+ "@tiptap/extension-typography": "^2.5.8",
81
+ "@tiptap/extension-underline": "^2.5.8",
82
+ "@tiptap/pm": "^2.5.8",
83
+ "@tiptap/starter-kit": "^2.5.8",
84
+ "@tiptap/vue-3": "^2.5.8",
85
+ "@umoteam/editor-external": "3.1.0",
80
86
  "@vue-monaco/editor": "^0.0.6",
81
87
  "@vueuse/core": "^10.11.0",
82
- "dom-to-image-more": "^3.3.0",
88
+ "dom-to-image-more": "^3.3.1",
83
89
  "es-drager": "^1.2.11",
84
90
  "file-saver": "^2.0.5",
85
91
  "file64": "^1.0.3",
86
92
  "hotkeys-js": "^3.13.7",
87
93
  "jsbarcode": "^3.11.6",
88
94
  "katex": "^0.16.11",
95
+ "mammoth": "^1.8.0",
89
96
  "mermaid": "^10.9.1",
90
97
  "nzh": "^1.0.12",
91
98
  "plyr": "^3.7.8",
92
99
  "pretty-bytes": "^6.1.1",
93
- "prism-code-editor": "^3.3.3",
100
+ "prism-code-editor": "^3.4.0-beta.1",
94
101
  "prismjs": "^1.29.0",
95
102
  "qrcode-svg": "^1.1.0",
96
103
  "svg64": "^2.0.0",
97
- "tdesign-vue-next": "^1.9.7",
98
- "vue": "^3.4.33",
99
104
  "vue-esign": "^1.1.4",
100
105
  "vue-i18n": "^9.13.1"
101
106
  },
102
107
  "devDependencies": {
103
108
  "@intlify/unplugin-vue-i18n": "^4.0.0",
104
- "@vitejs/plugin-vue": "^5.0.5",
109
+ "@sereneinserenade/tiptap-search-and-replace": "^0.1.1",
110
+ "@tiptap-pro/extension-invisible-characters": "^2.10.5",
111
+ "@tiptap-pro/extension-mathematics": "^2.10.5",
112
+ "@tiptap-pro/extension-table-of-contents": "^2.10.5",
113
+ "@vitejs/plugin-vue": "^5.1.1",
105
114
  "@vue/eslint-config-prettier": "^9.0.0",
106
- "eslint": "^9.7.0",
115
+ "eslint": "^9.8.0",
107
116
  "eslint-plugin-vue": "^9.27.0",
108
117
  "less": "^4.2.0",
109
118
  "less-loader": "^12.2.0",
110
119
  "prettier": "^3.3.3",
111
- "terser": "^5.31.3",
112
- "unplugin-auto-import": "^0.18.0",
120
+ "tdesign-vue-next": "^1.9.8",
121
+ "unplugin-auto-import": "^0.18.2",
113
122
  "unplugin-vue-components": "^0.27.3",
114
- "unplugin-vue-macros": "^2.9.5",
115
- "vite": "^5.3.4",
116
- "vite-plugin-compression2": "^1.1.3",
117
- "vite-plugin-svg-icons": "^2.0.1"
123
+ "unplugin-vue-macros": "^2.10.0",
124
+ "vite": "^5.3.5",
125
+ "vite-plugin-svg-icons": "^2.0.1",
126
+ "vue": "^3.4.34"
118
127
  },
119
128
  "engines": {
120
129
  "node": ">=18.0.0"