@umoteam/editor 1.0.0-beta.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.
Files changed (80) hide show
  1. package/LICENSE +8 -0
  2. package/README.md +102 -0
  3. package/dist/es/icons/file/ai.svg +1 -0
  4. package/dist/es/icons/file/app.svg +1 -0
  5. package/dist/es/icons/file/axure.svg +1 -0
  6. package/dist/es/icons/file/book.svg +1 -0
  7. package/dist/es/icons/file/common.svg +1 -0
  8. package/dist/es/icons/file/css.svg +1 -0
  9. package/dist/es/icons/file/dmg.svg +1 -0
  10. package/dist/es/icons/file/excel.svg +1 -0
  11. package/dist/es/icons/file/exe.svg +1 -0
  12. package/dist/es/icons/file/font.svg +1 -0
  13. package/dist/es/icons/file/html.svg +1 -0
  14. package/dist/es/icons/file/img.svg +1 -0
  15. package/dist/es/icons/file/jar.svg +1 -0
  16. package/dist/es/icons/file/java.svg +1 -0
  17. package/dist/es/icons/file/js.svg +1 -0
  18. package/dist/es/icons/file/json.svg +1 -0
  19. package/dist/es/icons/file/keynote.svg +1 -0
  20. package/dist/es/icons/file/md.svg +1 -0
  21. package/dist/es/icons/file/music.svg +1 -0
  22. package/dist/es/icons/file/numbers.svg +1 -0
  23. package/dist/es/icons/file/pages.svg +1 -0
  24. package/dist/es/icons/file/pdf.svg +1 -0
  25. package/dist/es/icons/file/php.svg +1 -0
  26. package/dist/es/icons/file/pkg.svg +1 -0
  27. package/dist/es/icons/file/ppt.svg +1 -0
  28. package/dist/es/icons/file/psd.svg +1 -0
  29. package/dist/es/icons/file/python.svg +1 -0
  30. package/dist/es/icons/file/sh.svg +1 -0
  31. package/dist/es/icons/file/sketch.svg +1 -0
  32. package/dist/es/icons/file/sql.svg +1 -0
  33. package/dist/es/icons/file/text.svg +1 -0
  34. package/dist/es/icons/file/video.svg +1 -0
  35. package/dist/es/icons/file/vue.svg +1 -0
  36. package/dist/es/icons/file/word.svg +1 -0
  37. package/dist/es/icons/file/xmind.svg +1 -0
  38. package/dist/es/icons/file/zip.svg +1 -0
  39. package/dist/es/style.css +1 -0
  40. package/dist/es/umo-editor.mjs +35300 -0
  41. package/dist/umd/icons/file/ai.svg +1 -0
  42. package/dist/umd/icons/file/app.svg +1 -0
  43. package/dist/umd/icons/file/axure.svg +1 -0
  44. package/dist/umd/icons/file/book.svg +1 -0
  45. package/dist/umd/icons/file/common.svg +1 -0
  46. package/dist/umd/icons/file/css.svg +1 -0
  47. package/dist/umd/icons/file/dmg.svg +1 -0
  48. package/dist/umd/icons/file/excel.svg +1 -0
  49. package/dist/umd/icons/file/exe.svg +1 -0
  50. package/dist/umd/icons/file/font.svg +1 -0
  51. package/dist/umd/icons/file/html.svg +1 -0
  52. package/dist/umd/icons/file/img.svg +1 -0
  53. package/dist/umd/icons/file/jar.svg +1 -0
  54. package/dist/umd/icons/file/java.svg +1 -0
  55. package/dist/umd/icons/file/js.svg +1 -0
  56. package/dist/umd/icons/file/json.svg +1 -0
  57. package/dist/umd/icons/file/keynote.svg +1 -0
  58. package/dist/umd/icons/file/md.svg +1 -0
  59. package/dist/umd/icons/file/music.svg +1 -0
  60. package/dist/umd/icons/file/numbers.svg +1 -0
  61. package/dist/umd/icons/file/pages.svg +1 -0
  62. package/dist/umd/icons/file/pdf.svg +1 -0
  63. package/dist/umd/icons/file/php.svg +1 -0
  64. package/dist/umd/icons/file/pkg.svg +1 -0
  65. package/dist/umd/icons/file/ppt.svg +1 -0
  66. package/dist/umd/icons/file/psd.svg +1 -0
  67. package/dist/umd/icons/file/python.svg +1 -0
  68. package/dist/umd/icons/file/sh.svg +1 -0
  69. package/dist/umd/icons/file/sketch.svg +1 -0
  70. package/dist/umd/icons/file/sql.svg +1 -0
  71. package/dist/umd/icons/file/text.svg +1 -0
  72. package/dist/umd/icons/file/video.svg +1 -0
  73. package/dist/umd/icons/file/vue.svg +1 -0
  74. package/dist/umd/icons/file/word.svg +1 -0
  75. package/dist/umd/icons/file/xmind.svg +1 -0
  76. package/dist/umd/icons/file/zip.svg +1 -0
  77. package/dist/umd/style.css +1 -0
  78. package/dist/umd/umo-editor.js +8 -0
  79. package/dist/umd/umo-editor.js.gz +0 -0
  80. package/package.json +115 -0
Binary file
package/package.json ADDED
@@ -0,0 +1,115 @@
1
+ {
2
+ "name": "@umoteam/editor",
3
+ "version": "1.0.0-beta.1",
4
+ "description": "Umo Editor 是一个基于 Vue3 适合于国人使用的本土化开源文档编辑器。Umo Editor 提供完善的文档编辑能力,支持 Markdown 语法,支持基础的富文本编辑功能,支持多种插入多种格式的节点类型、提供了多种类型的实用工具,并支持设置页面的样式,支持导出多种类型的格式。",
5
+ "keywords": [
6
+ "umo editor",
7
+ "umodoc editor",
8
+ "document editor",
9
+ "word editor",
10
+ "office edtior",
11
+ "web editor",
12
+ "richtext editor",
13
+ "wysiwyg editor",
14
+ "vue editor",
15
+ "vue3 editor",
16
+ "editor"
17
+ ],
18
+ "author": {
19
+ "name": "umodoc",
20
+ "email": "contact@umodoc.com",
21
+ "url": "https://umodoc.com"
22
+ },
23
+ "license": "MIT",
24
+ "homepage": "https://umodoc.com",
25
+ "bugs": {
26
+ "url": "https://github.com/umodoc/editor/issues",
27
+ "email": "support@umodoc.com"
28
+ },
29
+ "files": [
30
+ "dist"
31
+ ],
32
+ "exports": {
33
+ ".": {
34
+ "import": "./dist/es/umo-editor.mjs"
35
+ }
36
+ },
37
+ "scripts": {
38
+ "dev": "vite --port 9000 --open --force",
39
+ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
40
+ "format": "prettier --write src/",
41
+ "build": "vite build",
42
+ "build:all": "vite build && vite build --config vite.config.umd.js",
43
+ "libs:copy": "cp -r node_modules/@imgly/background-removal-data/dist/* libs/imgly/ && cp -r node_modules/monaco-editor/* libs/monaco-editor/ && cp -r node_modules/katex/dist/* libs/katex/"
44
+ },
45
+ "dependencies": {
46
+ "@humanwhocodes/object-schema": "^2.0.3",
47
+ "@imgly/background-removal": "^1.4.5",
48
+ "@imgly/background-removal-data": "^1.4.5",
49
+ "@sereneinserenade/tiptap-search-and-replace": "^0.1.1",
50
+ "@tiptap-pro/extension-invisible-characters": "^2.8.6",
51
+ "@tiptap-pro/extension-mathematics": "^2.8.6",
52
+ "@tiptap-pro/extension-table-of-contents": "^2.8.6",
53
+ "@tiptap/extension-bubble-menu": "^2.3.2",
54
+ "@tiptap/extension-character-count": "^2.3.2",
55
+ "@tiptap/extension-color": "^2.3.2",
56
+ "@tiptap/extension-font-family": "^2.3.2",
57
+ "@tiptap/extension-highlight": "^2.3.2",
58
+ "@tiptap/extension-horizontal-rule": "^2.3.2",
59
+ "@tiptap/extension-image": "^2.3.2",
60
+ "@tiptap/extension-link": "^2.3.2",
61
+ "@tiptap/extension-placeholder": "^2.3.2",
62
+ "@tiptap/extension-subscript": "^2.3.2",
63
+ "@tiptap/extension-superscript": "^2.3.2",
64
+ "@tiptap/extension-table": "^2.3.2",
65
+ "@tiptap/extension-table-cell": "^2.3.2",
66
+ "@tiptap/extension-table-header": "^2.3.2",
67
+ "@tiptap/extension-table-row": "^2.3.2",
68
+ "@tiptap/extension-task-item": "^2.3.2",
69
+ "@tiptap/extension-task-list": "^2.3.2",
70
+ "@tiptap/extension-text-align": "^2.3.2",
71
+ "@tiptap/extension-text-style": "^2.3.2",
72
+ "@tiptap/extension-typography": "^2.3.2",
73
+ "@tiptap/extension-underline": "^2.3.2",
74
+ "@tiptap/pm": "^2.3.2",
75
+ "@tiptap/starter-kit": "^2.3.2",
76
+ "@tiptap/vue-3": "^2.3.2",
77
+ "@vue-monaco/editor": "^0.0.6",
78
+ "@vueuse/core": "^10.9.0",
79
+ "dom-to-image-more": "^3.3.0",
80
+ "es-drager": "^1.2.10",
81
+ "file-saver": "^2.0.5",
82
+ "file64": "^1.0.3",
83
+ "hotkeys-js": "^3.13.7",
84
+ "jsbarcode": "^3.11.6",
85
+ "katex": "^0.16.10",
86
+ "mermaid": "^10.9.0",
87
+ "monaco-editor": "^0.48.0",
88
+ "nzh": "^1.0.12",
89
+ "plyr": "^3.7.8",
90
+ "pretty-bytes": "^6.1.1",
91
+ "prism-code-editor": "^3.3.1",
92
+ "qrcode-svg": "^1.1.0",
93
+ "simple-code-editor": "^2.0.9",
94
+ "svg64": "^2.0.0",
95
+ "tdesign-vue-next": "^1.9.4",
96
+ "vue": "^3.4.27",
97
+ "vue-esign": "^1.1.4"
98
+ },
99
+ "devDependencies": {
100
+ "@vitejs/plugin-vue": "^5.0.4",
101
+ "@vue/eslint-config-prettier": "^9.0.0",
102
+ "eslint": "^9.2.0",
103
+ "eslint-plugin-vue": "^9.26.0",
104
+ "less": "^4.2.0",
105
+ "less-loader": "^12.2.0",
106
+ "prettier": "^3.2.5",
107
+ "terser": "^5.31.0",
108
+ "unplugin-auto-import": "^0.17.5",
109
+ "unplugin-vue-components": "^0.27.0",
110
+ "unplugin-vue-macros": "^2.9.2",
111
+ "vite": "^5.2.11",
112
+ "vite-plugin-compression2": "^1.1.0",
113
+ "vite-plugin-svg-icons": "^2.0.1"
114
+ }
115
+ }