@umoteam/editor 9.0.0 → 10.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/README.md CHANGED
@@ -5,8 +5,8 @@
5
5
  <p style="text-align: center;">
6
6
  <a href="https://github.com/umodoc/editor/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@umoteam/editor" /></a>
7
7
  <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/v/@umoteam/editor" /></a>
8
- <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/d18m/@umoteam/editor" /></a>
9
- <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/unpacked-size/%40umoteam%2Feditor" /></a>
8
+ <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/dm/@umoteam/editor" /></a>
9
+ <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/unpacked-size/@umoteam/editor" /></a>
10
10
  <a href="https://github.com/umodoc/editor/commits" target="_blank"><img src="https://img.shields.io/github/commit-activity/m/umodoc/editor" /></a>
11
11
  </p>
12
12
 
@@ -14,26 +14,32 @@
14
14
 
15
15
  ## 中文介绍
16
16
 
17
- Umo Editor 是一个基于 Vue3 和 Tiptap 的本土化开源文档编辑器,专为国人用户设计。它提供了强大的文档编辑能力和 AI 创作功能,支持分页模式和普通 Web 模式、Markdown 语法、富文本编辑、多种格式的节点插入、页面样式设置、文档导出与打印等功能。
17
+ Umo Editor 是一个基于 Vue3 和 Tiptap3 的本土化开源文档编辑器,提供类似于 Microsoft Word 的在线编辑功能和浏览体验,专为国人用户设计。它提供了强大的文档编辑能力和 AI 创作功能,支持分页模式和普通 Web 模式、Markdown 语法、富文本编辑、多种格式的节点插入、页面样式设置、文档导出与打印等功能。
18
18
 
19
19
  此外,Umo Editor 还支持自定义扩展、多语言设置和暗色主题。同时我们提供了单独的文本预览组件 [Umo Viewer](https://github.com/umodoc/viewer),用户可以在项目中使用该组件来预览文档。
20
20
 
21
- Umo Editor 最大的特点是代码完全开源且自主可控,支持私有部署,您可以内网环境中使用,而无需担心数据安全问题。同时 Umo Editor 基于 Vue3 和 Tiptap,两者都有丰富的生态系统和社区支持,在遇到问题时可以迅速得到解决。
21
+ Umo Editor 最大的特点是代码完全开源且自主可控,支持私有部署,您可以内网环境中使用,而无需担心数据安全问题。同时 Umo Editor 基于 Vue3 和 Tiptap3,两者都有丰富的生态系统和社区支持,在遇到问题时可以迅速得到解决。
22
22
 
23
23
  ## Introduction
24
24
 
25
- Umo Editor is an open-source document editor based on Vue3 and Tiptap. It provides powerful document editing capabilities and AI-assisted creation features. Umo Editor supports pagination and normal web layout, Markdown syntax, rich text editing, insertion of various node types, page style settings, document export, and printing. Additionally, it supports custom extensions, multi-language settings, and a dark theme. Umo Editor also supports web layout, and you can use it as a regular rich text editor.
25
+ Umo Editor is an open-source document editor based on Vue3 and Tiptap3, providing an online editing experience similar to Microsoft Word. It provides powerful document editing capabilities and AI-assisted creation features. Umo Editor supports pagination and normal web layout, Markdown syntax, rich text editing, insertion of various node types, page style settings, document export, and printing. Additionally, it supports custom extensions, multi-language settings, and a dark theme. Umo Editor also supports web layout, and you can use it as a regular rich text editor.
26
26
 
27
27
  Additionally, Umo Editor supports custom extensions, multi-language settings, and dark theme. We also provide a standalone text preview component, [Umo Viewer](https://github.com/umodoc/viewer), which users can integrate into their projects to preview documents.
28
28
 
29
- Umo Editor's largest feature is that its code is completely open source and controllable. It supports private deployment, allowing you to use it in an intranet environment without worrying about data security issues. At the same time, Umo Editor is based on Vue3 and Tiptap, both of which have rich ecosystems and communities, making it easy to solve problems when needed.
30
-
31
- ![Umo Editor](https://unpkg.com/@umoteam/editor-external@latest/static/umo-editor-en@2x.png)
29
+ Umo Editor's largest feature is that its code is completely open source and controllable. It supports private deployment, allowing you to use it in an intranet environment without worrying about data security issues. At the same time, Umo Editor is based on Vue3 and Tiptap3, both of which have rich ecosystems and communities, making it easy to solve problems when needed.
32
30
 
33
31
  As an independent Vue3 plugin, Umo Editor can be easily integrated into various Vue3 projects with zero configuration. For non-Vue3 projects, you can embed Umo Editor into your project via an iframe.
34
32
 
35
33
  [Website](https://www.umodoc.com/en) | [Documentation](https://dev.umodoc.com/en/docs/editor) | [Playground](https://www.umodoc.com/en/demo) | [GitHub](https://github.com/umodoc/editor) | [NPM](https://www.npmjs.com/package/@umoteam/editor)
36
34
 
35
+ ## Screenshots
36
+
37
+ ![umo editor](https://s2.umodoc.com/images/umo-editor1-en@2x.png)
38
+
39
+ ![umo editor](https://s2.umodoc.com/images/umo-editor2-en@2x.png)
40
+
41
+ ![umo editor](https://s2.umodoc.com/images/umo-editor3-en@2x.png)
42
+
37
43
  ## Online Experience
38
44
 
39
45
  Visit [Playground](https://www.umodoc.com/en/demo?pane=hide) to try Umo Editor.
@@ -65,7 +71,6 @@ Umo Editor aims to simplify document editing in web applications by providing Mi
65
71
  - Presentation mode
66
72
  - Document export and sharing
67
73
  - Page settings
68
- - AI document assistant
69
74
  - Print and print preview support
70
75
  - Custom extensions support
71
76
  - Shortcut key support
@@ -89,11 +94,9 @@ For more details, see [Features](https://dev.umodoc.com/en/docs/editor/features)
89
94
 
90
95
  ## Environment Support
91
96
 
92
- - **Node.js** (>=v18.0.0)
97
+ - **Node.js** (>=v18.x)
93
98
  - **Vue** (>=v3.x)
94
- - **Vite** (>=v5.x)
95
- - **Tiptap** (>=v2.6)
96
- - **TypeScript** (>=v5.5)
99
+ - **Tiptap** (>=v3.x)
97
100
 
98
101
  ## Join the Community
99
102
 
@@ -108,13 +111,12 @@ Report bugs via [GitHub Issues](https://github.com/umodoc/editor/issues).
108
111
  The development of Umo Editor relies on community support. Below is a list of contributors who have contributed code to Umo Editor. We thank them for their efforts:
109
112
 
110
113
  - [Umo Team](https://github.com/umodoc): 👨‍💻 Core developers
111
- - [Cassielxd](https://github.com/Cassielxd): 💪🏻 Implemented pagination and many important features
112
114
  - [china-wangxu](https://github.com/china-wangxu): 💪🏻 Added many important features
113
- - [Na'aman Hirschfeld](https://github.com/Goldziher): 💪🏻 Enhanced TypeScript support and added tests
114
- - [SevenDreamYang](https://github.com/SevenDreamYang):🛠️ Enhanced TypeScript support
115
+ - [Cassielxd](https://github.com/Cassielxd): 💪🏻 Added many important features
116
+ - [Na'aman Hirschfeld](https://github.com/Goldziher): 🛠️ Contributed code
117
+ - [SevenDreamYang](https://github.com/SevenDreamYang):🛠️ Contributed code
115
118
  - [ChenErik](https://github.com/ChenErik): 🛠️ Contributed code
116
119
  - [SerRashin](https://github.com/SerRashin): 🛠️ Added Russian language support
117
- - [SevenDreamYang](https://github.com/SevenDreamYang):🛠️ Fixed some issues
118
120
  - [Sunny Wisozk](https://github.com/SunnyWisozk): 🛠️ Contributed code
119
121
  - [Sherman Xu](https://github.com/xuzhenjun130): 🛠️ Contributed code
120
122
  - [vace](https://github.com/vace):🛠️ Contributed code
@@ -132,7 +134,7 @@ If you have any questions or suggestions, please contact us through the followin
132
134
 
133
135
  ## Technical Exchange
134
136
 
135
- - Discord:[Umo Editor](https://discord.gg/yBwBmm8e)
137
+ - Discord:[Umo Editor](https://discord.gg/k8GjuBBhXD)
136
138
 
137
139
  ## Support Us
138
140
 
@@ -143,8 +145,8 @@ If you find Umo Editor useful, please consider supporting us in the following wa
143
145
 
144
146
  ## Products from Umo Team
145
147
 
146
- - [Umo Editor](https://dev.umodoc.com/en/docs/editor): A localized open-source document editor based on Vue3 and Tiptap.
147
- - [Umo Viewer](https://dev.umodoc.com/en/docs/viewer): A PDF viewer built with Vue3 and PDF.js, enabling direct PDF preview in the browser and also supporting preview of Umo Editor documents.
148
+ - [Umo Editor](https://dev.umodoc.com/en/docs/editor): A localized open-source document editor based on Vue3 and Tiptap3.
149
+ - [Umo Viewer](https://dev.umodoc.com/en/docs/viewer): An open-source, lightweight document viewer for Umo Editor.
148
150
  - [Umo Editor Next](https://dev.umodoc.com/en/docs/next): An enhanced version of Umo Editor that includes all features of the latest Umo Editor while adding or improving support for multi-user real-time collaborative editing, document annotations (comments), document version history, AI-assisted creation, document import/export, tables, and more. It also enhances customization of toolbars and sidebars.
149
151
  - [Umo Editor Server](https://dev.umodoc.com/en/docs/server): A companion server-side software developed to extend Umo Editor capabilities such as multi-user collaborative editing, document annotations, and document import/export.
150
152
  - [Umo Office Viewer](https://dev.umodoc.com/en/docs/office-viewer): An Office document viewer that supports previewing over 40 mainstream office document in web pages.
package/README.zh-CN.md CHANGED
@@ -5,26 +5,44 @@
5
5
  <p style="text-align: center;">
6
6
  <a href="https://github.com/umodoc/editor/blob/main/LICENSE" target="_blank"><img src="https://img.shields.io/npm/l/@umoteam/editor" /></a>
7
7
  <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/v/@umoteam/editor" /></a>
8
- <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/d18m/@umoteam/editor" /></a>
9
- <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/unpacked-size/%40umoteam%2Feditor" /></a>
8
+ <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/dm/@umoteam/editor" /></a>
9
+ <a href="https://www.npmjs.com/package/@umoteam/editor" target="_blank"><img src="https://img.shields.io/npm/unpacked-size/@umoteam/editor" /></a>
10
10
  <a href="https://github.com/umodoc/editor/commits" target="_blank"><img src="https://img.shields.io/github/commit-activity/m/umodoc/editor" /></a>
11
11
  </p>
12
12
  <p style="text-align: center;"><a href="https://dev.umodoc.com/en/docs/editor">[English Documentation]</a> | 中文文档</p>
13
13
 
14
14
  ## 基本介绍
15
15
 
16
- Umo Editor 是一个基于 Vue3 和 Tiptap 的本土化开源文档编辑器,专为国人用户设计。它提供了强大的文档编辑能力和 AI 创作功能,支持分页模式和普通 Web 模式、Markdown 语法、富文本编辑、多种格式的节点插入、页面样式设置、文档导出与打印等功能。
16
+ Umo Editor 是一个基于 Vue3 和 Tiptap3 的本土化开源文档编辑器,提供类似于 Microsoft Word 的在线编辑功能和浏览体验,专为国人用户设计。它提供了强大的文档编辑能力和 AI 创作功能,支持分页模式和普通 Web 模式、Markdown 语法、富文本编辑、多种格式的节点插入、页面样式设置、文档导出与打印等功能。
17
17
 
18
18
  此外,Umo Editor 还支持自定义扩展、多语言设置和暗色主题。同时我们提供了单独的文本预览组件[Umo Viewer](https://github.com/umodoc/viewer),用户可以在项目中使用该组件来预览文档。
19
19
 
20
- Umo Editor 最大的特点是代码完全开源且自主可控,支持私有部署,您可以内网环境中使用,而无需担心数据安全问题。同时 Umo Editor 基于 Vue3 和 Tiptap,两者都有丰富的生态系统和社区支持,在遇到问题时可以迅速得到解决。
21
-
22
- ![Umo Editor](https://unpkg.com/@umoteam/editor-external@latest/static/umo-editor-cn@2x.png)
20
+ Umo Editor 最大的特点是代码完全开源且自主可控,支持私有部署,您可以内网环境中使用,而无需担心数据安全问题。同时 Umo Editor 基于 Vue3 和 Tiptap3,两者都有丰富的生态系统和社区支持,在遇到问题时可以迅速得到解决。
23
21
 
24
22
  作为一个独立的 Vue3 插件,Umo Editor 可以轻松集成到各类 Vue3 项目中。对于非 Vue3 项目,您可以通过 Iframe 将 Umo Editor 嵌入到您的项目中。
25
23
 
26
24
  [官网](https://www.umodoc.com) | [开发文档](https://dev.umodoc.com/cn/docs/editor) | [在线演示](https://www.umodoc.com/demo) | [GitHub](https://github.com/umodoc/editor) | [码云(国内镜像)](https://gitee.com/umodoc/editor) | [NPM](https://www.npmjs.com/package/@umoteam/editor)
27
25
 
26
+ ## 部分截图
27
+
28
+ **Umo Editor**
29
+
30
+ ![umo editor](https://s2.umodoc.com/images/umo-editor1-cn@2x.png)
31
+
32
+ ![umo editor](https://s2.umodoc.com/images/umo-editor2-cn@2x.png)
33
+
34
+ ![umo editor](https://s2.umodoc.com/images/umo-editor3-cn@2x.png)
35
+
36
+ **Umo Editor Next**
37
+
38
+ ![umo editor](https://s2.umodoc.com/images/umo-editor-next1-cn@2x.png)
39
+
40
+ ![umo editor](https://s2.umodoc.com/images/umo-editor-next2-cn@2x.png)
41
+
42
+ ![umo editor](https://s2.umodoc.com/images/umo-editor-next3-cn@2x.png)
43
+
44
+ 了解 Umo Editor Next 更多功能,请访问:[https://www.umodoc.com](https://www.umodoc.com)。
45
+
28
46
  ## 在线体验
29
47
 
30
48
  访问[https://www.umodoc.com/demo?pane=hide](https://www.umodoc.com/demo?pane=hide)快速体验。
@@ -56,7 +74,6 @@ Umo Editor 的诞生旨在解决 Web 应用中文档编辑的复杂性,为 Web
56
74
  - 演示模式
57
75
  - 文档导出与分享
58
76
  - 页面设置
59
- - AI 文档助手
60
77
  - 支持打印及打印预览
61
78
  - 支持自定义扩展
62
79
  - 快捷键支持
@@ -82,11 +99,9 @@ Umo Editor 的诞生旨在解决 Web 应用中文档编辑的复杂性,为 Web
82
99
 
83
100
  ## 环境支持
84
101
 
85
- - **Node.js** (>=v18.0.0)
102
+ - **Node.js** (>=v18.x)
86
103
  - **Vue** (>=v3.x)
87
- - **Vite** (>=v5.x)
88
- - **Tiptap** (>=v2.6)
89
- - **TypeScript** (>=v5.5)
104
+ - **Tiptap** (>=v3.x)
90
105
 
91
106
  ## 加入社区
92
107
 
@@ -101,13 +116,12 @@ Umo Editor 的诞生旨在解决 Web 应用中文档编辑的复杂性,为 Web
101
116
  Umo Editor 的发展离不开社区的支持,以下是为 Umo Editor 贡献过代码的贡献者名单,向他们致谢:
102
117
 
103
118
  - [Umo Team](https://github.com/umodoc):👨‍💻 核心开发者
104
- - [Cassielxd](https://github.com/Cassielxd):💪🏻 实现了分页和许多重要功能
105
119
  - [china-wangxu](https://github.com/china-wangxu):💪🏻 添加了许多重要功能
106
- - [Na'aman Hirschfeld](https://github.com/Goldziher):💪🏻 增强了 TypeScript 支持并添加测试
107
- - [SevenDreamYang](https://github.com/SevenDreamYang):🛠️ 增强 TypeScript 支持
120
+ - [Cassielxd](https://github.com/Cassielxd):💪🏻 添加了许多重要功能
121
+ - [Na'aman Hirschfeld](https://github.com/Goldziher):🛠️ 贡献了部分代码
122
+ - [SevenDreamYang](https://github.com/SevenDreamYang):🛠️ 贡献了部分代码
108
123
  - [ChenErik](https://github.com/ChenErik):🛠️ 贡献了部分代码
109
124
  - [SerRashin](https://github.com/SerRashin):🛠️ 添加了俄语支持
110
- - [SevenDreamYang](https://github.com/SevenDreamYang):🛠️ 修复了部分问题
111
125
  - [Sunny Wisozk](https://github.com/SunnyWisozk):🛠️ 贡献了部分代码
112
126
  - [Sherman Xu](https://github.com/xuzhenjun130):🛠️ 贡献了部分代码
113
127
  - [vace](https://github.com/vace):🛠️ 贡献了部分代码
@@ -127,7 +141,7 @@ Umo Editor 的发展离不开社区的支持,以下是为 Umo Editor 贡献过
127
141
 
128
142
  - Umo Editor 技术交流 1 群(即将满员):[994500039](https://qm.qq.com/q/gFsQShETqE)
129
143
  - Umo Editor 技术交流 2 群:[455825557](https://qm.qq.com/q/rzgt2bUcAE)
130
- - Discord:[Umo Editor](https://discord.gg/yBwBmm8e)
144
+ - Discord:[Umo Editor](https://discord.gg/k8GjuBBhXD)
131
145
 
132
146
  ## 支持我们
133
147
 
@@ -138,8 +152,8 @@ Umo Editor 的发展离不开社区的支持,以下是为 Umo Editor 贡献过
138
152
 
139
153
  ## Umo Team 出品
140
154
 
141
- - [Umo Editor](https://dev.umodoc.com/cn/docs/editor): 基于 Vue3 和 Tiptap 的本土化开源文档编辑器,专为国人用户设计。
142
- - [Umo Viewer](https://dev.umodoc.com/cn/docs/viewer): PDF 文档查看器,基于 Vue3 和 PDF.js 实现,支持在浏览器中直接预览 PDF 文档,同时也支持预览 Umo Editor 文档内容。
155
+ - [Umo Editor](https://dev.umodoc.com/cn/docs/editor): 基于 Vue3 和 Tiptap3 的本土化开源文档编辑器,专为国人用户设计。
156
+ - [Umo Viewer](https://dev.umodoc.com/cn/docs/viewer): 开源轻量级的 Umo Editor 文档查看器。
143
157
  - [Umo Editor Next](https://dev.umodoc.com/cn/docs/next): Umo Editor 的增强版,在包含最新版本的 Umo Editor 所有功能的基础上,重点增加或者增强了对多用户在线协作编辑、文档批注(评论)、文档历史版本管理、AI 创作、文档导入导出、表格等功能的支持,同时增强了工具栏和页边栏等区域的自定义能力。
144
158
  - [Umo Editor Server](https://dev.umodoc.com/cn/docs/server): 为增强 Umo Editor 功能,如多用户在线协作编辑、文档批注(评论)、文档导入导出等功能而开发的配套服务器端软件。
145
159
  - [Umo Office Viewer](https://dev.umodoc.com/cn/docs/office-viewer): Umo Office Viewer 是一款 Office 文档查看器,支持在 Web 页面中查看包括 WPS 文档在内的 40 余种主流的办公文档。