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ᯤ²ᴳ
+
+
+ *棐
+
+
+
+ Luke
+
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.
+
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ᯤ²ᴳ
*棐
+Luke
+json、png、svg、pdf、markdown、xmind, support import from json、xmind、markdownjson、png、svg、pdf、markdown、xmind, support import from json、xmind、markdown1.simple-mind-map
This is an online mind map built using the simple-mind-map library and based
on Vue2.x and ElementUI. Features include:
小米bbᯤ²ᴳ
+ +*棐
+Luke
+修复:
+++1.修复导入百度脑图导出的xmind文件报错的问题。
+2.修复mindMap.export方法代码错误。
+
新增:
++1.新增index.d.ts。
+2.支持配置是否开启双击复位思维导图。
+3.拦截富文本编辑时的粘贴操作,去掉格式,只允许粘贴纯文本。
+
修复:
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
+