@umoteam/editor-external 6.1.0 → 8.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 +2 -2
- package/build.js +5 -3
- package/edgeone.json +17 -0
- package/libs/flowchart/flowchart.js +2767 -0
- package/libs/flowchart/raphael.min.js +6058 -0
- package/libs/mammoth/mammoth.browser.min.js +21 -21
- package/libs/plantuml/plantuml-encoder.min.js +1904 -0
- package/package.json +3 -2
- package/imgly/background-removal-data/12086412521285f855c2921ae13d3370ab243c9a250ebe340430075780f4624b +0 -0
- package/imgly/background-removal-data/26a663c5a768f39155009f52e0f66815f36983ae275eec676365f7d09ef97edd +0 -0
- package/imgly/background-removal-data/378cd0ab154b324c0b1fe3136a605a8618865d4ce38824a30c938cc1e6312ce4 +0 -0
- package/imgly/background-removal-data/391ce9664d3a506e4333adb82581fc2dc6fbef0354f497ab417c050cb6eba6c4 +0 -0
- package/imgly/background-removal-data/417316220b16ddd1c2a4730a315206ec0405aac7b64a878bdbe514e687b07b6f +0 -0
- package/imgly/background-removal-data/7b64520a3747dd5dcf6ac48f612504bb3b1e273a08b42b5a7efd614b9e4a397c +0 -0
- package/imgly/background-removal-data/7b95dd2733643f999b985105afb755122ca36de12decadc7855ebfbdab6920e6 +0 -0
- package/imgly/background-removal-data/8b993f75a6dc28aab79d1f216e62b59aaa6b3a15e62159bcad4a2ac197c4db0a +0 -0
- package/imgly/background-removal-data/90741e8ae8b47de7666ae4163ba26087500d534973a853bbd02cea715f24b5ee +0 -0
- package/imgly/background-removal-data/9f0512f9be98be0f44ad2f9ec9fe706ae626f2037aca910df6d1396a06a30d41 +0 -0
- package/imgly/background-removal-data/a2a1f2d68cd58b5a6262755e434dee496fc0f27c0ba8fcbb5d57c56ffa1bb15f +0 -0
- package/imgly/background-removal-data/a984abd436e7a8119dc170730260a37436ce0d0542984b71c5a1a386777ab7fd +0 -0
- package/imgly/background-removal-data/af8fb2b72ffb03ed999778c4de73fd4ade196890be6e0253230b198dd11e9db0 +0 -0
- package/imgly/background-removal-data/b53229786ebfbaabcfec4955c248135ba47a13972bf700116a2ff85b86507d2e +0 -0
- package/imgly/background-removal-data/bbf8e366b8f11bb64e60c8532fc2ffed21535fa1cf981464ac45485972107855 +0 -0
- package/imgly/background-removal-data/c1eba9d5d2ee58ba832bf98b50624ea8813f2279505643401c23674c6b326d0b +0 -0
- package/imgly/background-removal-data/c9f954707cb992edf62319d9aed365b4fc9ec3f08693a020db30040c0f953198 +0 -0
- package/imgly/background-removal-data/cad6b95099faeba3ea1299d717990453208cc075b53332db9123a4e2bdaf160c +0 -0
- package/imgly/background-removal-data/dd4fad06953738263bc4d5f94974376467fc74081cba665cef18af8223894ed4 +0 -0
- package/imgly/background-removal-data/e9445ca5ac21e04579658183cd886440f3524caafe6a8947dd20a73b34fba5b0 +0 -0
- package/imgly/background-removal-data/ea46f83f60203065638f183fc8a5446dfc28a163d7ba1922fc3bc6cf40347fa2 +0 -0
- package/imgly/background-removal-data/ef7fb517ae63534f48efa657702b3821fb5d59e4fd372016793edc0389341cc0 +0 -0
- package/imgly/background-removal-data/f69890cf74d0a687904dd088c0aaadce598c8bc217366ebee6993eadd4d56208 +0 -0
- package/imgly/background-removal-data/f6e7e01556358ed875f260bdfb22fb6f7213ac6fd4098ed72c0e7af081f0c23c +0 -0
- package/imgly/background-removal-data/fa3e4102c796fb6d1dab5417c5c0b4b5d219e6b9624d045d7361a033e7db183f +0 -0
- package/imgly/background-removal-data/resources.json +0 -462
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ This project consists of certain modules upon which Umo Editor relies.
|
|
|
6
6
|
|
|
7
7
|
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, 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.
|
|
8
8
|
|
|
9
|
-
[Documentation](https://editor.umodoc.com/en/docs) | [中文文档](https://editor.umodoc.com/cn/docs) | [Live Demo](https://
|
|
9
|
+
[Website](https://umodoc.com/en) | [Documentation](https://editor.umodoc.com/en/docs) | [中文文档](https://editor.umodoc.com/cn/docs) | [Live Demo](https://umodoc.com/en/demo) | [GitHub](https://github.com/umodoc/editor) | [NPM](https://www.npmjs.com/package/@umodoc/editor)
|
|
10
10
|
|
|
11
11
|
## Open Source License
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ The source code of Umo-Editor is released under the [MIT License](https://openso
|
|
|
22
22
|
|
|
23
23
|
Umo Editor 是一个基于 Vue3 和 Tiptap 的本土化开源文档编辑器,专为国人用户设计。它提供了强大的文档编辑能力和 AI 创作功能,支持分页模式、Markdown 语法、富文本编辑、多种格式的节点插入、页面样式设置、文档导出与打印等功能。此外,Umo Editor 还支持自定义扩展、多语言设置和暗色主题。
|
|
24
24
|
|
|
25
|
-
[开发文档](https://editor.umodoc.com/cn/docs) | [在线演示](https://
|
|
25
|
+
[官网](https://umodoc.com) | [开发文档](https://editor.umodoc.com/cn/docs) | [在线演示](https://umodoc.com/demo) | [GitHub](https://github.com/umodoc/editor) | [码云(国内镜像)](https://gitee.com/umodoc/editor) | [NPM](https://www.npmjs.com/package/@umodoc/editor)
|
|
26
26
|
|
|
27
27
|
## 开源协议
|
|
28
28
|
|
package/build.js
CHANGED
|
@@ -35,14 +35,16 @@ const copyDir = (sourcePath, targetPath) => {
|
|
|
35
35
|
// 定义要复制的文件和目录列表
|
|
36
36
|
const files = [
|
|
37
37
|
{ from: 'imgly/background-removal-data', to: 'imgly/background-removal-data', npm: false },
|
|
38
|
+
{ from: 'mammoth', to: 'mammoth', npm: false },
|
|
39
|
+
{ from: 'flowchart', to: 'flowchart', npm: false },
|
|
40
|
+
{ from: 'plantuml', to: 'plantuml', npm: false },
|
|
38
41
|
{ from: 'katex/dist', to: 'katex' },
|
|
39
|
-
{ from:
|
|
40
|
-
{from:'echarts/dist',to:'echarts'}
|
|
42
|
+
{ from:'echarts/dist',to:'echarts' }
|
|
41
43
|
];
|
|
42
44
|
|
|
43
45
|
// 循环遍历每个要复制的文件或目录
|
|
44
46
|
files.forEach((item) => {
|
|
45
|
-
const sourcePath = item.npm === false ? item.from : path.join(__dirname, 'node_modules', item.from);
|
|
47
|
+
const sourcePath = item.npm === false ? `src/${item.from}` : path.join(__dirname, 'node_modules', item.from);
|
|
46
48
|
const targetPath = path.join(__dirname, 'libs', item.to);
|
|
47
49
|
|
|
48
50
|
// 如果是文件,使用fs.copyFileSync
|
package/edgeone.json
ADDED