From 43ecdafdd1f1c407c50d9077cec45e7b1359c558 Mon Sep 17 00:00:00 2001 From: wanglin2 <1013335014@qq.com> Date: Fri, 25 Aug 2023 17:25:56 +0800 Subject: [PATCH] Doc: update --- README.md | 10 ++++- simple-mind-map/package.json | 2 +- web/src/assets/avatar/棐.jpg | Bin 0 -> 3564 bytes web/src/pages/Doc/en/changelog/index.md | 16 +++++++ web/src/pages/Doc/en/changelog/index.vue | 12 ++++++ web/src/pages/Doc/en/constructor/index.md | 1 + web/src/pages/Doc/en/constructor/index.vue | 7 ++++ web/src/pages/Doc/en/introduction/index.md | 11 +++++ web/src/pages/Doc/en/introduction/index.vue | 40 +++++++++++------- web/src/pages/Doc/zh/changelog/index.md | 16 +++++++ web/src/pages/Doc/zh/changelog/index.vue | 12 ++++++ web/src/pages/Doc/zh/constructor/index.md | 1 + web/src/pages/Doc/zh/constructor/index.vue | 7 ++++ web/src/pages/Doc/zh/introduction/index.md | 15 ++++++- web/src/pages/Doc/zh/introduction/index.vue | 44 ++++++++++++-------- 15 files changed, 158 insertions(+), 36 deletions(-) create mode 100644 web/src/assets/avatar/棐.jpg diff --git a/README.md b/README.md index f2a9e985..227c077b 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ const mindMap = new MindMap({ > 厚椰乳一盒 + 纯牛奶半盒 + 冰块 + 咖啡液 = 生椰拿铁 yyds -> 转账请备注【思维导图】。你的头像和名字将会出现在下面和[文档页面](https://wanglin2.github.io/mind-map/#/doc/zh/introduction/%E8%AF%B7%E4%BD%9C%E8%80%85%E5%96%9D%E6%9D%AF%E5%92%96%E5%95%A1) +> 推荐使用支付宝,微信获取不到头像。转账请备注【思维导图】。你的头像和名字将会出现在下面和[文档页面](https://wanglin2.github.io/mind-map/#/doc/zh/introduction/%E8%AF%B7%E4%BD%9C%E8%80%85%E5%96%9D%E6%9D%AF%E5%92%96%E5%95%A1)
@@ -157,4 +157,12 @@ const mindMap = new MindMap({
小米bbᯤ²ᴳ
+
+
+ *棐
+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5q z(@b@Kdluw2WLr8Y#ZG@LDf^3+?~nU}q{Al-`L*JP z93yh3Wz_F%Tt?jTr?eC1QW}~)Qm3%ft2p^JhxIWUt||D|Oh%KwPw{3;$dQxA5fOam z`>* Dsr}lc@16O>+&>^Y!uB$ zH$-bx6t`&XzW+)qQVv$9H&XfgFWoG1Bp8Q?ny_27*``*$wUOaEmZ&mY_FCIhI+Jii zR72~+^);Omx3x%5&Sa;|t;|1{f5gsMc1~u?H2S!WxVW@jQ5Lc&6TfK4#};%zLkChp z(UB)-H837jwIA;c6GACmL&3UH?r* S1njj6vf&zZ- 1YD$2wFFw(<+LS}&jhse#;YfWxiuiG~J20Rj7cJshTbDIrtb{e7)eO3&xCQRt zaDeKl<}7Je94-DMo+x~ILytMMEoj9Ak&lR1$*K1C8USG iD@7*-IohZ5nFFca_htW%%qm6X?8L3;U6)W)ruwB9LQii3{ Gs0!iaz)sCWt6u0(1p;vG@Ud zAx2 (zS2C|ye9$(cX=6k(JN zeTlatw!a03G-h*0=e%eMA=evJTDr{zopirvZ?__sd#Nu&tenP$CpvFHI3ywb&?f}| u!4BijEca&uIBXzi#wO+ %f|Zo{)@WDtIqsjj{h4GTT?>- literal 0 HcmV?d00001 diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index 0e6f5775..2122c69f 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -1,5 +1,21 @@ # Changelog +## 0.6.17 + +Fix: + +> 1.Fix the issue of error reporting in the xmind file exported from Baidu Brain Map. +> +> 2.Fix the mindMap. export method code error. + +New: + +> 1.Create index.d.ts file。 +> +> 2.Support configuration to enable double click reset mind map. +> +> 3.Intercept paste operations during rich text editing, remove formatting, and only allow pasting pure text. + ## 0.6.16 Fix: diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index 32c1ae75..e0c5e977 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -1,6 +1,18 @@ + + +Changelog
+0.6.17
+Fix:
+++1.Fix the issue of error reporting in the xmind file exported from Baidu Brain Map.
+2.Fix the mindMap. export method code error.
+New:
++1.Create index.d.ts file。
+2.Support configuration to enable double click reset mind map.
+3.Intercept paste operations during rich text editing, remove formatting, and only allow pasting pure text.
+0.6.16
Fix:
diff --git a/web/src/pages/Doc/en/constructor/index.md b/web/src/pages/Doc/en/constructor/index.md index 1ee06622..837f3268 100644 --- a/web/src/pages/Doc/en/constructor/index.md +++ b/web/src/pages/Doc/en/constructor/index.md @@ -80,6 +80,7 @@ const mindMap = new MindMap({ | errorHandler(v0.6.15+) | Function | | Custom error handling functions currently only throw some asynchronous logic errors. Can pass a function that takes two parameters, the first being the wrong type and the second being the wrong object | | | disableMouseWheelZoom(v0.6.15+) | Boolean | false | Prohibit mouse wheel scaling, you can still use the API for scaling | | | resetCss(v0.6.16+) | String | * { margin: 0; padding: 0; box-sizing: border-box; } | When exporting images and SVGs, the default style overlay for rich text node content, which is embedded in HTML nodes in SVGs, will occur. If not overlaid, the node content will be offset | | +| enableDblclickReset(v0.6.17+) | Boolean | true | Turn on the mouse and double-click to reset the position and zoom of the mind map | | ### Watermark config diff --git a/web/src/pages/Doc/en/constructor/index.vue b/web/src/pages/Doc/en/constructor/index.vue index 312dc863..3df147c2 100644 --- a/web/src/pages/Doc/en/constructor/index.vue +++ b/web/src/pages/Doc/en/constructor/index.vue @@ -420,6 +420,13 @@When exporting images and SVGs, the default style overlay for rich text node content, which is embedded in HTML nodes in SVGs, will occur. If not overlaid, the node content will be offset + + enableDblclickReset(v0.6.17+) +Boolean +true +Turn on the mouse and double-click to reset the position and zoom of the mind map ++ Watermark config
diff --git a/web/src/pages/Doc/en/introduction/index.md b/web/src/pages/Doc/en/introduction/index.md index 4f352423..eaf89e63 100644 --- a/web/src/pages/Doc/en/introduction/index.md +++ b/web/src/pages/Doc/en/introduction/index.md @@ -173,4 +173,15 @@ Open source is not easy. If this project is helpful to you, you can invite the a![]()
小米bbᯤ²ᴳ
+\ No newline at end of file diff --git a/web/src/pages/Doc/en/introduction/index.vue b/web/src/pages/Doc/en/introduction/index.vue index 2fb06686..038b9696 100644 --- a/web/src/pages/Doc/en/introduction/index.vue +++ b/web/src/pages/Doc/en/introduction/index.vue @@ -8,16 +8,16 @@+++
*棐
+++
Luke
+Features
- - - - - - - -
- - - + + + + + + + +
json、png、svg、markdown、xmind, support import fromjson、xmind、markdown- + +
json、png、svg、markdown、xmind, support import fromjson、xmind、markdownRepository Catalog Introduction
1.
@@ -27,16 +27,16 @@ frameworks such as Vue and React, or without a framework.simple-mind-mapThis is an online mind map built using the
simple-mind-maplibrary and based onVue2.xandElementUI. Features include:-
@@ -133,6 +133,16 @@ full screen, support mini map- +
- images, icons, hyperlinks, notes, tags, and summaries
-- +
- outline, theme selection, and structure selection
-- +
- storage by default, but it also supports creating, opening, and editing local files on the computer directly
-- +
- and organizing layout
-- +
- between edit and read-only modes, zooming in and out, and switching to full screen, support mini map
![]()
小米bbᯤ²ᴳ
+ ++diff --git a/web/src/pages/Doc/zh/changelog/index.md b/web/src/pages/Doc/zh/changelog/index.md index 784506cc..213a6609 100644 --- a/web/src/pages/Doc/zh/changelog/index.md +++ b/web/src/pages/Doc/zh/changelog/index.md @@ -1,5 +1,21 @@ # Changelog +## 0.6.17 + +修复: + +> 1.修复导入百度脑图导出的xmind文件报错的问题。 +> +> 2.修复mindMap.export方法代码错误。 + +新增: + +> 1.新增index.d.ts。 +> +> 2.支持配置是否开启双击复位思维导图。 +> +> 3.拦截富文本编辑时的粘贴操作,去掉格式,只允许粘贴纯文本。 + ## 0.6.16 修复: diff --git a/web/src/pages/Doc/zh/changelog/index.vue b/web/src/pages/Doc/zh/changelog/index.vue index a53a7bba..a98e89cd 100644 --- a/web/src/pages/Doc/zh/changelog/index.vue +++ b/web/src/pages/Doc/zh/changelog/index.vue @@ -1,6 +1,18 @@+++
*棐
+++
Luke
+Changelog
+0.6.17
+修复:
+++1.修复导入百度脑图导出的xmind文件报错的问题。
+2.修复mindMap.export方法代码错误。
+新增:
++1.新增index.d.ts。
+2.支持配置是否开启双击复位思维导图。
+3.拦截富文本编辑时的粘贴操作,去掉格式,只允许粘贴纯文本。
+0.6.16
修复:
diff --git a/web/src/pages/Doc/zh/constructor/index.md b/web/src/pages/Doc/zh/constructor/index.md index 44405f83..177545f9 100644 --- a/web/src/pages/Doc/zh/constructor/index.md +++ b/web/src/pages/Doc/zh/constructor/index.md @@ -80,6 +80,7 @@ const mindMap = new MindMap({ | errorHandler(v0.6.15+) | Function | | 自定义错误处理函数,目前只会抛出一些异步逻辑出错的情况。可以传递一个函数,会接收两个参数,第一个为错误的类型,第二个为错误对象 | | | disableMouseWheelZoom(v0.6.15+) | Boolean | false | 禁止鼠标滚轮缩放,你仍旧可以使用api进行缩放 | | | resetCss(v0.6.16+) | String | * { margin: 0; padding: 0; box-sizing: border-box; } | 设置导出图片和svg时,针对富文本节点内容,也就是嵌入到svg中的html节点的默认样式覆盖,如果不覆盖,节点内容会发生偏移 | | +| enableDblclickReset(v0.6.17+) | Boolean | true | 开启鼠标双击复位思维导图位置及缩放 | | ### 水印配置 diff --git a/web/src/pages/Doc/zh/constructor/index.vue b/web/src/pages/Doc/zh/constructor/index.vue index 9bdca7d5..675b575e 100644 --- a/web/src/pages/Doc/zh/constructor/index.vue +++ b/web/src/pages/Doc/zh/constructor/index.vue @@ -420,6 +420,13 @@设置导出图片和svg时,针对富文本节点内容,也就是嵌入到svg中的html节点的默认样式覆盖,如果不覆盖,节点内容会发生偏移 + + enableDblclickReset(v0.6.17+) +Boolean +true +开启鼠标双击复位思维导图位置及缩放 ++ 水印配置
diff --git a/web/src/pages/Doc/zh/introduction/index.md b/web/src/pages/Doc/zh/introduction/index.md index 34b9c23b..b2394e7f 100644 --- a/web/src/pages/Doc/zh/introduction/index.md +++ b/web/src/pages/Doc/zh/introduction/index.md @@ -107,13 +107,13 @@ > 厚椰乳一盒 + 纯牛奶半盒 + 冰块 + 咖啡液 = 生椰拿铁 yyds -> 转账请备注【思维导图】。你的头像和名字将会出现在下面。 +> 推荐使用支付宝,微信获取不到头像。转账请备注【思维导图】。你的头像和名字将会出现在下面。![]()
-
++ ++![]()
Think
@@ -166,4 +166,15 @@![]()
小米bbᯤ²ᴳ
+\ No newline at end of file diff --git a/web/src/pages/Doc/zh/introduction/index.vue b/web/src/pages/Doc/zh/introduction/index.vue index 9d76155b..ecadc35f 100644 --- a/web/src/pages/Doc/zh/introduction/index.vue +++ b/web/src/pages/Doc/zh/introduction/index.vue @@ -8,16 +8,16 @@+++
*棐
+++
Luke
+特性
- - - - - - - -
- - - + + + + + + + +
json、png、svg、markdown、xmind,支持从json、xmind、markdown导入- + +
json、png、svg、markdown、xmind,支持从json、xmind、markdown导入仓库目录介绍
1.
@@ -25,11 +25,11 @@simple-mind-map2.
web使用
simple-mind-map库,基于vue2.x、ElementUI搭建的在线思维导图。特性:- - - - - + + + + +
提供文档页面服务。
3.
@@ -70,11 +70,11 @@dist厚椰乳一盒 + 纯牛奶半盒 + 冰块 + 咖啡液 = 生椰拿铁 yyds
-转账请备注【思维导图】。你的头像和名字将会出现在下面。
+推荐使用支付宝,微信获取不到头像。转账请备注【思维导图】。你的头像和名字将会出现在下面。
![]()
-
+++![]()
Think
@@ -127,6 +127,16 @@![]()
小米bbᯤ²ᴳ
++++
*棐
+++
Luke
+