diff --git a/simple-mind-map/package.json b/simple-mind-map/package.json index d36decee..78995e6d 100644 --- a/simple-mind-map/package.json +++ b/simple-mind-map/package.json @@ -1,6 +1,6 @@ { "name": "simple-mind-map", - "version": "0.10.2-fix.1", + "version": "0.10.3", "description": "一个简单的web在线思维导图", "authors": [ { diff --git a/web/src/pages/Doc/en/changelog/index.md b/web/src/pages/Doc/en/changelog/index.md index 32735770..bece7d96 100644 --- a/web/src/pages/Doc/en/changelog/index.md +++ b/web/src/pages/Doc/en/changelog/index.md @@ -1,5 +1,54 @@ # Changelog +## 0.10.3 + +> 2024.7.12 + +Node tag data structure update: + +The node tag data has been changed from a string array to an object array, mainly to support setting the style of a single tag. The current node tag data structure is as follows: + +```js +{ + tag: ['tag'] +} +``` + +Change to the following: + +```js +{ + tag: [ + { + text: 'tag', + style: {} + } + ] +} +``` + +Fix: + +> 1.Fix the issue where the isRoot and parent attributes of node instances obtained through methods customCreateNodeContent and createNodePrefixContent are both null; +> +> 2.Fixed the issue where the last edited node would enter editing mode when zooming in and out of the canvas using the scroll wheel or shortcut keys after editing the node text, and the mind map shortcut keys would become invalid; +> +> 3.Fixed the issue where multiple nodes can be selected simultaneously, allowing unlimited insertion of summaries; + +New: + +> 1.Support setting single label styles for nodes; +> +> 2.Add instantiation options for displaying the location of node labels; +> +> 3.Two callback parameters have been added to the node_tag_click event; +> +> 4.When copying, cutting, or moving multiple nodes, operate them in the order they are on the nodes, rather than in the order they are activated; + +Demo: + +> 1.Support clicking on node tags to modify text and color; + ## 0.10.2 / 0.10.2-fix.1 > 2024.7.3 diff --git a/web/src/pages/Doc/en/changelog/index.vue b/web/src/pages/Doc/en/changelog/index.vue index d4a9fa13..38225fb0 100644 --- a/web/src/pages/Doc/en/changelog/index.vue +++ b/web/src/pages/Doc/en/changelog/index.vue @@ -1,6 +1,43 @@