@umoteam/editor 3.1.4 → 4.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@umoteam/editor",
3
- "version": "3.1.4",
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.",
3
+ "version": "4.0.0",
4
+ "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.",
5
5
  "keywords": [
6
6
  "umo editor",
7
7
  "umodoc editor",
@@ -23,7 +23,7 @@
23
23
  "author": {
24
24
  "name": "umodoc",
25
25
  "email": "contact@umodoc.com",
26
- "url": "https://umodoc.com"
26
+ "url": "https://www.umodoc.com"
27
27
  },
28
28
  "license": "MIT",
29
29
  "homepage": "https://editor.umodoc.com/en/docs",
@@ -46,7 +46,8 @@
46
46
  "dev": "vite --port 9000 --open --force",
47
47
  "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
48
48
  "format": "prettier --write src/",
49
- "build": "vite build"
49
+ "build": "vite build",
50
+ "prepublishOnly": "npm run build"
50
51
  },
51
52
  "dependencies": {
52
53
  "@eslint/object-schema": "^2.1.4",
@@ -57,6 +58,7 @@
57
58
  "@tiptap/extension-bullet-list": "^2.5.8",
58
59
  "@tiptap/extension-character-count": "^2.5.8",
59
60
  "@tiptap/extension-color": "^2.5.8",
61
+ "@tiptap/extension-document": "^2.5.8",
60
62
  "@tiptap/extension-dropcursor": "^2.5.8",
61
63
  "@tiptap/extension-focus": "^2.5.8",
62
64
  "@tiptap/extension-font-family": "^2.5.8",
@@ -81,7 +83,7 @@
81
83
  "@tiptap/pm": "^2.5.8",
82
84
  "@tiptap/starter-kit": "^2.5.8",
83
85
  "@tiptap/vue-3": "^2.5.8",
84
- "@umoteam/editor-external": "3.1.2",
86
+ "@umoteam/editor-external": "4.0.0",
85
87
  "@vue-monaco/editor": "^0.0.6",
86
88
  "@vueuse/core": "^10.11.0",
87
89
  "dom-to-image-more": "^3.3.1",
@@ -101,18 +103,19 @@
101
103
  "qrcode-svg": "^1.1.0",
102
104
  "svg64": "^2.0.0",
103
105
  "vue-esign": "^1.1.4",
104
- "vue-i18n": "^9.13.1"
106
+ "vue-i18n": "^9.13.1",
107
+ "zeed-dom": "^0.13.3"
105
108
  },
106
109
  "devDependencies": {
107
110
  "@intlify/unplugin-vue-i18n": "^4.0.0",
108
111
  "@sereneinserenade/tiptap-search-and-replace": "^0.1.1",
109
- "@tiptap-pro/extension-invisible-characters": "^2.10.5",
110
112
  "@tiptap-pro/extension-mathematics": "^2.10.5",
111
113
  "@tiptap-pro/extension-table-of-contents": "^2.10.5",
112
114
  "@vitejs/plugin-vue": "^5.1.1",
113
115
  "@vue/eslint-config-prettier": "^9.0.0",
114
116
  "eslint": "^9.8.0",
115
117
  "eslint-plugin-vue": "^9.27.0",
118
+ "husky": "^9.1.4",
116
119
  "less": "^4.2.0",
117
120
  "less-loader": "^12.2.0",
118
121
  "prettier": "^3.3.3",
@@ -126,5 +129,10 @@
126
129
  },
127
130
  "engines": {
128
131
  "node": ">=18.0.0"
132
+ },
133
+ "husky": {
134
+ "hooks": {
135
+ "pre-commit": "npm run format"
136
+ }
129
137
  }
130
138
  }