diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index e55484b4..151930f8 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -1,5 +1,9 @@ # Changelog +## 0.5.9 + +Change: Unified export method format, using `FileReader` instead of `URL.createObjectURL` to convert `blob` data. + ## 0.5.8 optimization: 1.The position setting is not triggered when the node position does not change. 2.The unfolding and folding status does not change and does not trigger button updates. diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index 70f5d59d..b65862e4 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -1,6 +1,8 @@ diff --git a/web/src/pages/Doc/en/introduction/index.md b/web/src/pages/Doc/en/introduction/index.md index faa22eb8..672fa1be 100644 --- a/web/src/pages/Doc/en/introduction/index.md +++ b/web/src/pages/Doc/en/introduction/index.md @@ -97,6 +97,18 @@ These open-source mind maps are also good, each with its own characteristics, bu In summary, in open-source mind maps, it is difficult to find a better choice than `simple-mind-map`. Of course, `simple-mind-map` is far from being the best, and it also has many shortcomings, as you saw in the previous [special note]. However, `simple-mind-map` has always been in a fast iteration process, and we welcome you to join and improve it together. +## Browser Compatibility + +We recommend using the latest version of the `Chrome` browser. + +Limited testing situation: + +Normal operation: `360` extreme speed browser(v13.5.2036.0)、`opera` browser(v71.0.3770.284)。 + +Abnormal operation: `Firefox`(v98.0.2), Node content cannot be displayed in rich text mode. If you want to support the `Firefox` browser, please use non rich text mode. + +Unsupported: `IE` browser. + ## License [MIT](https://opensource.org/licenses/MIT) diff --git a/web/src/pages/Doc/en/introduction/index.vue b/web/src/pages/Doc/en/introduction/index.vue index 84f0d5fb..0cae4e91 100644 --- a/web/src/pages/Doc/en/introduction/index.vue +++ b/web/src/pages/Doc/en/introduction/index.vue @@ -7,21 +7,21 @@

Features

Repository Catalog Introduction

1.simple-mind-map

@@ -31,16 +31,16 @@ frameworks such as Vue and React, or without a framework.

This is an online mind map built using the simple-mind-map library and based on Vue2.x and ElementUI. Features include:

@@ -69,6 +69,12 @@ full screen, support mini map

3.jsmindMind-elixirmy-mindblink-mindremindvue3-mindmapZMindMap...

These open-source mind maps are also good, each with its own characteristics, but they also have certain drawbacks, such as stopping updates, average interface aesthetics, less functionality, relying on a certain framework, and so on.

In summary, in open-source mind maps, it is difficult to find a better choice than simple-mind-map. Of course, simple-mind-map is far from being the best, and it also has many shortcomings, as you saw in the previous [special note]. However, simple-mind-map has always been in a fast iteration process, and we welcome you to join and improve it together.

+

Browser Compatibility

+

We recommend using the latest version of the Chrome browser.

+

Limited testing situation:

+

Normal operation: 360 extreme speed browser(v13.5.2036.0)、opera browser(v71.0.3770.284)。

+

Abnormal operation: Firefox(v98.0.2), Node content cannot be displayed in rich text mode. If you want to support the Firefox browser, please use non rich text mode.

+

Unsupported: IE browser.

License

MIT

Invite the author to a cup of coffee

diff --git a/web/src/pages/Doc/en/utils/index.md b/web/src/pages/Doc/en/utils/index.md index 653fc060..cbae20cb 100644 --- a/web/src/pages/Doc/en/utils/index.md +++ b/web/src/pages/Doc/en/utils/index.md @@ -129,6 +129,16 @@ Measure the width and height of the text, return value: { width, height } ``` +#### getTextFromHtml(html) + +Extract plain text content from an HTML string. + +#### readBlob(blob) + +> v0.5.9+ + +Convert `blob` data to `data:url` data. + ## Simulate CSS background in Canvas Import: diff --git a/web/src/pages/Doc/en/utils/index.vue b/web/src/pages/Doc/en/utils/index.vue index 3e9a4752..a2036ab4 100644 --- a/web/src/pages/Doc/en/utils/index.vue +++ b/web/src/pages/Doc/en/utils/index.vue @@ -82,6 +82,13 @@ and copying the data of the data object, example:

Measure the width and height of the text, return value:

{ width, height }
 
+

getTextFromHtml(html)

+

Extract plain text content from an HTML string.

+

readBlob(blob)

+
+

v0.5.9+

+
+

Convert blob data to data:url data.

Simulate CSS background in Canvas

Import:

import drawBackgroundImageToCanvas from 'simple-mind-map/src/utils/simulateCSSBackgroundInCanvas'
diff --git a/web/src/pages/Doc/zh/changelog/index.md b/web/src/pages/Doc/zh/changelog/index.md
index cf8544bd..7dd49881 100644
--- a/web/src/pages/Doc/zh/changelog/index.md
+++ b/web/src/pages/Doc/zh/changelog/index.md
@@ -1,5 +1,9 @@
 # Changelog
 
+## 0.5.9
+
+修改:统一导出方法的格式,使用`FileReader`代替`URL.createObjectURL`转换`blob`数据。
+
 ## 0.5.8
 
 优化:1.节点位置没有变化不触发位置设置。 2.展开收起状态没有变化不触发按钮更新。
diff --git a/web/src/pages/Doc/zh/changelog/index.vue b/web/src/pages/Doc/zh/changelog/index.vue
index 6de19b3e..ee455044 100644
--- a/web/src/pages/Doc/zh/changelog/index.vue
+++ b/web/src/pages/Doc/zh/changelog/index.vue
@@ -1,6 +1,8 @@
 
diff --git a/web/src/pages/Doc/zh/introduction/index.md b/web/src/pages/Doc/zh/introduction/index.md
index 270bf24b..2331bb2f 100644
--- a/web/src/pages/Doc/zh/introduction/index.md
+++ b/web/src/pages/Doc/zh/introduction/index.md
@@ -86,6 +86,17 @@
 
 综上,在开源的思维导图中,你很难找到一个比`simple-mind-map`更好的选择。当然,`simple-mind-map`也远远谈不上最好,它也有很多不足,如你在前面的【特别说明】所看到的那样,不过`simple-mind-map`一直处于快速迭代中,欢迎你加入进来一起完善它。
 
+## 浏览器兼容性
+
+推荐使用最新版`chrome`浏览器。
+
+有限测试情况:
+
+正常运行:`360`极速浏览器(v13.5.2036.0)、`opera`浏览器(v71.0.3770.284)。
+
+非正常运行:`Firefox`(v98.0.2),富文本模式下节点内容无法显示,如果要支持`Firefox`浏览器,请使用非富文本模式。
+
+不支持:`IE`浏览器。
 
 ## License
 
diff --git a/web/src/pages/Doc/zh/introduction/index.vue b/web/src/pages/Doc/zh/introduction/index.vue
index df61c21b..47ae9f16 100644
--- a/web/src/pages/Doc/zh/introduction/index.vue
+++ b/web/src/pages/Doc/zh/introduction/index.vue
@@ -7,19 +7,19 @@
 
 

特性

仓库目录介绍

1.simple-mind-map

@@ -27,11 +27,11 @@

2.web

使用simple-mind-map库,基于vue2.xElementUI搭建的在线思维导图。特性:

提供文档页面服务。

3.dist

@@ -58,6 +58,12 @@

3.jsmindMind-elixirmy-mindblink-mindremindvue3-mindmapZMindMap...

这些开源的思维导图也都不错,各有各的特点,但是它们也都有一定缺点,比如停止更新、界面美观度一般、功能比较少、依赖某个框架等等。

综上,在开源的思维导图中,你很难找到一个比simple-mind-map更好的选择。当然,simple-mind-map也远远谈不上最好,它也有很多不足,如你在前面的【特别说明】所看到的那样,不过simple-mind-map一直处于快速迭代中,欢迎你加入进来一起完善它。

+

浏览器兼容性

+

推荐使用最新版chrome浏览器。

+

有限测试情况:

+

正常运行:360极速浏览器(v13.5.2036.0)、opera浏览器(v71.0.3770.284)。

+

非正常运行:Firefox(v98.0.2),富文本模式下节点内容无法显示,如果要支持Firefox浏览器,请使用非富文本模式。

+

不支持:IE浏览器。

License

MIT

请作者喝杯咖啡

diff --git a/web/src/pages/Doc/zh/utils/index.md b/web/src/pages/Doc/zh/utils/index.md index a0e5a9d7..8b60470a 100644 --- a/web/src/pages/Doc/zh/utils/index.md +++ b/web/src/pages/Doc/zh/utils/index.md @@ -124,6 +124,16 @@ copyNodeTree({}, node) { width, height } ``` +#### getTextFromHtml(html) + +提取html字符串里的纯文本内容。 + +#### readBlob(blob) + +> v0.5.9+ + +将`blob`数据转成`data:url`数据。 + ## 在canvas中模拟css的背景属性 引入: diff --git a/web/src/pages/Doc/zh/utils/index.vue b/web/src/pages/Doc/zh/utils/index.vue index b671d0c8..ff574d4f 100644 --- a/web/src/pages/Doc/zh/utils/index.vue +++ b/web/src/pages/Doc/zh/utils/index.vue @@ -77,6 +77,13 @@

测量文本的宽高,返回值:

{ width, height }
 
+

getTextFromHtml(html)

+

提取html字符串里的纯文本内容。

+

readBlob(blob)

+
+

v0.5.9+

+
+

blob数据转成data:url数据。

在canvas中模拟css的背景属性

引入:

import drawBackgroundImageToCanvas from 'simple-mind-map/src/utils/simulateCSSBackgroundInCanvas'
diff --git a/web/src/pages/Edit/components/Export.vue b/web/src/pages/Edit/components/Export.vue
index 3a9b879d..e0e290f3 100644
--- a/web/src/pages/Edit/components/Export.vue
+++ b/web/src/pages/Edit/components/Export.vue
@@ -62,7 +62,6 @@
         
       
       
{{ $t('export.tips') }}
-
{{ $t('export.svgTips') }}
{{ $t('dialog.cancel') }}