Doc: update

This commit is contained in:
wanglin2 2023-07-30 10:56:35 +08:00
parent 8a8cc26c1d
commit e90509cac9
10 changed files with 63 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "simple-mind-map",
"version": "0.6.10",
"version": "0.6.11",
"description": "一个简单的web在线思维导图",
"authors": [
{

View File

@ -1,12 +1,18 @@
# Changelog
## 0.6.11
New: 1.Optimize the mini map, remove node content within the mini map, and optimize performance.
Demo: 1.Add a new topic and add tab differentiation to the topic list. 2.Node image upload supports inputting network image addresses. 3.Node image upload supports inputting network images.
## 0.6.10
Fix: 1.Fix the issue of deleting a node after searching for it and not updating the search results when searching again. 2.Fixed an issue where the button for adjusting image size did not update after node operation. 3.Fix the issue of incorrect internal data deep copy location. 4.Fix the issue of ineffective line wrapping in rich text nodes. 5. Fix the issue of node swapping and loss when switching themes and other scenarios.
New: 1.Search supports searching for white space characters and replacing them with white space characters.
Demo: 1.Support calling up search through icon buttons. 2.Support for switching to dark mode through icon buttons. 3.Optimize search: The mouse is not in the search area and not focused, solving the problem of not being able to delete input text when the mouse is not in the search area. 4.Adjust the interface UI for adding node icons and add a series of node icons. 5.Add a sticker list. 6.Fixed the issue of missing focus in the input box after entering the search box. 7.Support clicking on the icon within the node to display an icon for quick replacement and deletion of the floating panel. 8.Add a new topic and add tab differentiation to the topic list. 9.Node image upload supports inputting network image addresses.
Demo: 1.Support calling up search through icon buttons. 2.Support for switching to dark mode through icon buttons. 3.Optimize search: The mouse is not in the search area and not focused, solving the problem of not being able to delete input text when the mouse is not in the search area. 4.Adjust the interface UI for adding node icons and add a series of node icons. 5.Add a sticker list. 6.Fixed the issue of missing focus in the input box after entering the search box. 7.Support clicking on the icon within the node to display an icon for quick replacement and deletion of the floating panel.
## 0.6.9-fix.1

View File

@ -1,10 +1,13 @@
<template>
<div>
<h1>Changelog</h1>
<h2>0.6.11</h2>
<p>New: 1.Optimize the mini map, remove node content within the mini map, and optimize performance.</p>
<p>Demo: 1.Add a new topic and add tab differentiation to the topic list. 2.Node image upload supports inputting network image addresses. 3.Node image upload supports inputting network images.</p>
<h2>0.6.10</h2>
<p>Fix: 1.Fix the issue of deleting a node after searching for it and not updating the search results when searching again. 2.Fixed an issue where the button for adjusting image size did not update after node operation. 3.Fix the issue of incorrect internal data deep copy location. 4.Fix the issue of ineffective line wrapping in rich text nodes. 5. Fix the issue of node swapping and loss when switching themes and other scenarios.</p>
<p>New: 1.Search supports searching for white space characters and replacing them with white space characters.</p>
<p>Demo: 1.Support calling up search through icon buttons. 2.Support for switching to dark mode through icon buttons. 3.Optimize search: The mouse is not in the search area and not focused, solving the problem of not being able to delete input text when the mouse is not in the search area. 4.Adjust the interface UI for adding node icons and add a series of node icons. 5.Add a sticker list. 6.Fixed the issue of missing focus in the input box after entering the search box. 7.Support clicking on the icon within the node to display an icon for quick replacement and deletion of the floating panel. 8.Add a new topic and add tab differentiation to the topic list. 9.Node image upload supports inputting network image addresses.</p>
<p>Demo: 1.Support calling up search through icon buttons. 2.Support for switching to dark mode through icon buttons. 3.Optimize search: The mouse is not in the search area and not focused, solving the problem of not being able to delete input text when the mouse is not in the search area. 4.Adjust the interface UI for adding node icons and add a series of node icons. 5.Add a sticker list. 6.Fixed the issue of missing focus in the input box after entering the search box. 7.Support clicking on the icon within the node to display an icon for quick replacement and deletion of the floating panel.</p>
<h2>0.6.9-fix.1</h2>
<p>Fix: 1.Fix the issue of incorrect replacement after a single search.</p>
<p>New: 1.We will no longer directly modify the incoming data object, but will make a deep copy internally.</p>

View File

@ -220,6 +220,16 @@ Add inline styles to the specified tags in the HTML tag.
Check if a string is a rich text character.
#### isWhite(color)
> v0.6.11+
Determine whether a color is white.
#### isTransparent(color)
Determine whether a color is transparent.
## Simulate CSS background in Canvas
Import:

View File

@ -154,6 +154,13 @@ and copying the <code>data</code> of the data object, example:</p>
<p>v0.6.10+</p>
</blockquote>
<p>Check if a string is a rich text character.</p>
<h4>isWhite(color)</h4>
<blockquote>
<p>v0.6.11+</p>
</blockquote>
<p>Determine whether a color is white.</p>
<h4>isTransparent(color)</h4>
<p>Determine whether a color is transparent.</p>
<h2>Simulate CSS background in Canvas</h2>
<p>Import:</p>
<pre class="hljs"><code><span class="hljs-keyword">import</span> drawBackgroundImageToCanvas <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;simple-mind-map/src/utils/simulateCSSBackgroundInCanvas&#x27;</span>

View File

@ -1,12 +1,18 @@
# Changelog
## 0.6.11
新增1.优化小地图,去除小地图内的节点内容,优化性能。
Demo1.新增主题、主题列表新增tab区分。 2.节点图片上传支持输入网络图片地址。 3.节点图片上传支持输入网络图片。
## 0.6.10
修复1.修复搜索定位到某个节点后删除该节点,再次搜索时搜索结果未更新的问题。 2.修复调整图片大小的按钮在节点操作后没有更新的问题。 3.修复内部数据深拷贝位置不正确的问题。 4.修复富文本节点换行不生效的问题。 5.修复切换主题等场景时节点换行会丢失的问题。
新增1.搜索支持搜索空白字符和替换为空白字符。
Demo1.支持通过图标按钮调出搜索。 2.支持通过图标按钮切换暗黑模式。 3.优化搜索:鼠标不在搜索区域内不聚焦,解决鼠标不在搜索区域内无法删除输入的文字的问题。 4.调整添加节点图标的界面UI新增系列节点图标。 5.新增贴纸列表。 6.修复在搜索框回车后输入框焦点丢失的问题。 7.支持点击节点内的图标显示一个图标快捷替换和删除悬浮面板。 8.新增主题、主题列表新增tab区分。 9.节点图片上传支持输入网络图片地址。
Demo1.支持通过图标按钮调出搜索。 2.支持通过图标按钮切换暗黑模式。 3.优化搜索:鼠标不在搜索区域内不聚焦,解决鼠标不在搜索区域内无法删除输入的文字的问题。 4.调整添加节点图标的界面UI新增系列节点图标。 5.新增贴纸列表。 6.修复在搜索框回车后输入框焦点丢失的问题。 7.支持点击节点内的图标显示一个图标快捷替换和删除悬浮面板。
## 0.6.9-fix.1

View File

@ -1,10 +1,13 @@
<template>
<div>
<h1>Changelog</h1>
<h2>0.6.11</h2>
<p>新增1.优化小地图,去除小地图内的节点内容,优化性能</p>
<p>Demo1.新增主题主题列表新增tab区分 2.节点图片上传支持输入网络图片地址 3.节点图片上传支持输入网络图片</p>
<h2>0.6.10</h2>
<p>修复1.修复搜索定位到某个节点后删除该节点再次搜索时搜索结果未更新的问题 2.修复调整图片大小的按钮在节点操作后没有更新的问题 3.修复内部数据深拷贝位置不正确的问题 4.修复富文本节点换行不生效的问题 5.修复切换主题等场景时节点换行会丢失的问题</p>
<p>新增1.搜索支持搜索空白字符和替换为空白字符</p>
<p>Demo1.支持通过图标按钮调出搜索 2.支持通过图标按钮切换暗黑模式 3.优化搜索:鼠标不在搜索区域内不聚焦,解决鼠标不在搜索区域内无法删除输入的文字的问题 4.调整添加节点图标的界面UI新增系列节点图标 5.新增贴纸列表 6.修复在搜索框回车后输入框焦点丢失的问题 7.支持点击节点内的图标显示一个图标快捷替换和删除悬浮面板 8.新增主题主题列表新增tab区分 9.节点图片上传支持输入网络图片地址</p>
<p>Demo1.支持通过图标按钮调出搜索 2.支持通过图标按钮切换暗黑模式 3.优化搜索:鼠标不在搜索区域内不聚焦,解决鼠标不在搜索区域内无法删除输入的文字的问题 4.调整添加节点图标的界面UI新增系列节点图标 5.新增贴纸列表 6.修复在搜索框回车后输入框焦点丢失的问题 7.支持点击节点内的图标显示一个图标快捷替换和删除悬浮面板</p>
<h2>0.6.9-fix.1</h2>
<p>修复1.修复搜索进行一次单个替换后再全部替换不正确的问题</p>
<p>新增1.不会再直接修改传入的data对象内部会深拷贝一份</p>

View File

@ -215,6 +215,18 @@ copyNodeTree({}, node)
检查一个字符串是否是富文本字符。
#### isWhite(color)
> v0.6.11+
判断一个颜色是否是白色。
#### isTransparent(color)
判断一个颜色是否是透明。
> v0.6.11+
## 在canvas中模拟css的背景属性
引入:

View File

@ -149,6 +149,16 @@
<p>v0.6.10+</p>
</blockquote>
<p>检查一个字符串是否是富文本字符</p>
<h4>isWhite(color)</h4>
<blockquote>
<p>v0.6.11+</p>
</blockquote>
<p>判断一个颜色是否是白色</p>
<h4>isTransparent(color)</h4>
<p>判断一个颜色是否是透明</p>
<blockquote>
<p>v0.6.11+</p>
</blockquote>
<h2>在canvas中模拟css的背景属性</h2>
<p>引入</p>
<pre class="hljs"><code><span class="hljs-keyword">import</span> drawBackgroundImageToCanvas <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;simple-mind-map/src/utils/simulateCSSBackgroundInCanvas&#x27;</span>