@umoteam/editor 2.0.0-beta.1 → 2.2.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 +14 -3
- package/README.zh-CN.md +13 -2
- package/dist/es/style.css +1 -1
- package/dist/es/umo-editor.mjs +5401 -5357
- package/dist/umd/style.css +1 -1
- package/dist/umd/umo-editor.js +3 -3
- package/dist/umd/umo-editor.js.gz +0 -0
- package/package.json +10 -9
package/README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p style="text-align: center; margin: 2rem 0">
|
|
2
|
-
<a href="https://umodoc.com" target="_blank"><img src="https://unpkg.com/@umoteam/editor-external@latest/static/logo.svg" alt="umodoc.com" width="
|
|
2
|
+
<a href="https://umodoc.com" target="_blank"><img src="https://unpkg.com/@umoteam/editor-external@latest/static/logo.svg" alt="umodoc.com" width="280" /></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p style={{ textAlign: 'center' }}>
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
|
|
11
11
|
# 中文介绍
|
|
12
12
|
|
|
13
|
-
Umo Editor 是一个基于 Vue3 适合于国人使用的本土化开源文档编辑器。Umo Editor 提供完善的文档编辑能力,支持 Markdown
|
|
13
|
+
Umo Editor 是一个基于 Vue3 适合于国人使用的本土化开源文档编辑器。Umo Editor 提供完善的文档编辑能力,支持 Markdown 语法,支持基础的富文本编辑功能,支持多种插入多种格式的节点类型、提供了多种类型的实用工具,并支持设置页面的样式,支持导出多种类型的格式,支持打印和打印预览,支持文档块编辑,支持添加自定义扩展,支持多语言设置,支持暗色主题。
|
|
14
14
|
|
|
15
15
|
详细介绍见: [README.zh-CN.md](https://github.com/umodoc/editor/blob/main/README.zh-CN.md)
|
|
16
16
|
|
|
17
17
|
# Introduction
|
|
18
18
|
|
|
19
|
-
Umo Editor is an open-source document editor based on Vue3, offering localized functionalities. It provides comprehensive document editing capabilities, 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, and
|
|
19
|
+
Umo Editor is an open-source document editor based on Vue3, offering localized functionalities. It provides comprehensive document editing capabilities, 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.
|
|
20
20
|
|
|
21
21
|
<img src="https://unpkg.com/@umoteam/editor-external@latest/static/umo-editor-en@2x.png" alt="umo editor" />
|
|
22
22
|
|
|
@@ -28,6 +28,16 @@ As a standalone Vue3 plugin, Umo Editor can be easily integrated into any Vue3 p
|
|
|
28
28
|
|
|
29
29
|
Visit [Playground](https://demo.umodoc.com/editor?pane=no&lang=en) for a fast experience.
|
|
30
30
|
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
npm config set "@tiptap-pro:registry" https://registry.tiptap.dev/
|
|
35
|
+
npm config set "//registry.tiptap.dev/:_authToken" 9fsQEgp8C8pbxpk8PFAjYn64BtBDq6HfXmI2qgpnI7XYr/OwHaMvOUIE5mfVR49y
|
|
36
|
+
npm install --save @umoteam/editor @umoteam/editor-external
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
For more information, please visit the [Developer Documentation](https://editor.umodoc.com/en/docs/getting-started).
|
|
40
|
+
|
|
31
41
|
## Documentation
|
|
32
42
|
|
|
33
43
|
Please visit [Documentation](https://editor.umodoc.com/en/docs).
|
|
@@ -60,6 +70,7 @@ Umo Editor was created to address the complexity of document editing in web appl
|
|
|
60
70
|
- Shortcut key support
|
|
61
71
|
- Theme customization
|
|
62
72
|
- Multi-language settings
|
|
73
|
+
- Dark mode support
|
|
63
74
|
|
|
64
75
|
For more detailed introductions, see [Core Features](./docs/features).
|
|
65
76
|
|
package/README.zh-CN.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p style="text-align: center; margin: 2rem 0">
|
|
2
|
-
<a href="https://umodoc.com" target="_blank"><img src="https://unpkg.com/@umoteam/editor-external@latest/static/logo.svg" alt="umodoc.com" width="
|
|
2
|
+
<a href="https://umodoc.com" target="_blank"><img src="https://unpkg.com/@umoteam/editor-external@latest/static/logo.svg" alt="umodoc.com" width="280" /></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<p style="text-align: center;">
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
## 基本介绍
|
|
12
12
|
|
|
13
|
-
Umo Editor 是一个基于 Vue3 适合于国人使用的本土化开源文档编辑器。Umo Editor 提供完善的文档编辑能力,支持 Markdown
|
|
13
|
+
Umo Editor 是一个基于 Vue3 适合于国人使用的本土化开源文档编辑器。Umo Editor 提供完善的文档编辑能力,支持 Markdown 语法,支持基础的富文本编辑功能,支持多种插入多种格式的节点类型、提供了多种类型的实用工具,并支持设置页面的样式,支持导出多种类型的格式,支持打印和打印预览,支持文档块编辑,支持添加自定义扩展,支持多语言设置,支持暗色主题。
|
|
14
14
|
|
|
15
15
|
<img src="https://unpkg.com/@umoteam/editor-external@latest/static/umo-editor-cn@2x.png" alt="umo editor" />
|
|
16
16
|
|
|
@@ -34,6 +34,16 @@ npm install --save @umoteam/editor @umoteam/editor-external
|
|
|
34
34
|
|
|
35
35
|
访问 [在线演示](https://demo.umodoc.com/editor?pane=no&lang=cn) 快速体验。
|
|
36
36
|
|
|
37
|
+
## 安装说明
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
npm config set "@tiptap-pro:registry" https://registry.tiptap.dev/
|
|
41
|
+
npm config set "//registry.tiptap.dev/:_authToken" 9fsQEgp8C8pbxpk8PFAjYn64BtBDq6HfXmI2qgpnI7XYr/OwHaMvOUIE5mfVR49y
|
|
42
|
+
npm install --save @umoteam/editor @umoteam/editor-external
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
更多信息请访问 [开发文档](https://editor.umodoc.com/cn/docs/getting-started)。
|
|
46
|
+
|
|
37
47
|
## 开发文档
|
|
38
48
|
|
|
39
49
|
请访问 [开发文档](https://editor.umodoc.com/cn/docs) 。
|
|
@@ -66,6 +76,7 @@ Umo Editor 的诞生,旨在解决 Web 应用中文档编辑的复杂性,为
|
|
|
66
76
|
- 支持打印及打印预览
|
|
67
77
|
- 主题定制
|
|
68
78
|
- 多语言设置
|
|
79
|
+
- 暗色主题
|
|
69
80
|
|
|
70
81
|
更多详细介绍见 [核心特性](https://editor.umodoc.com/cn/docs/features)。
|
|
71
82
|
|