mirror of
https://github.com/wanglin2/mind-map.git
synced 2026-02-25 20:37:50 +08:00
Feat:修改插入概要的快捷键为Ctrl+G
This commit is contained in:
parent
17b7a023ba
commit
3aed09a8c3
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "simple-mind-map",
|
||||
"version": "0.6.7",
|
||||
"version": "0.6.8",
|
||||
"description": "一个简单的web在线思维导图",
|
||||
"authors": [
|
||||
{
|
||||
|
||||
@ -215,7 +215,7 @@ class Render {
|
||||
}
|
||||
this.mindMap.keyCommand.addShortcut('Enter', this.insertNodeWrap)
|
||||
// 插入概要
|
||||
this.mindMap.keyCommand.addShortcut('Control+s', this.addGeneralization)
|
||||
this.mindMap.keyCommand.addShortcut('Control+g', this.addGeneralization)
|
||||
// 展开/收起节点
|
||||
this.toggleActiveExpand = this.toggleActiveExpand.bind(this)
|
||||
this.mindMap.keyCommand.addShortcut('/', this.toggleActiveExpand)
|
||||
|
||||
@ -210,7 +210,7 @@ export const shortcutKeyList = [
|
||||
{
|
||||
icon: 'icongaikuozonglan',
|
||||
name: 'Insert summary',
|
||||
value: 'Ctrl + S'
|
||||
value: 'Ctrl + G'
|
||||
},
|
||||
{
|
||||
icon: 'iconzhankai',
|
||||
|
||||
@ -270,7 +270,7 @@ export const shortcutKeyList = [
|
||||
{
|
||||
icon: 'icongaikuozonglan',
|
||||
name: '插入概要',
|
||||
value: 'Ctrl + S'
|
||||
value: 'Ctrl + G'
|
||||
},
|
||||
{
|
||||
icon: 'iconzhankai',
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
},
|
||||
{
|
||||
name: '插入概要',
|
||||
value: 'Ctrl + S'
|
||||
value: 'Ctrl + S'// v0.6.8+改为Ctrl + G
|
||||
},
|
||||
{
|
||||
name: '展开/收起节点',
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
},
|
||||
{
|
||||
<span class="hljs-attr">name</span>: <span class="hljs-string">'插入概要'</span>,
|
||||
<span class="hljs-attr">value</span>: <span class="hljs-string">'Ctrl + S'</span>
|
||||
<span class="hljs-attr">value</span>: <span class="hljs-string">'Ctrl + S'</span><span class="hljs-comment">// v0.6.8+改为Ctrl + G</span>
|
||||
},
|
||||
{
|
||||
<span class="hljs-attr">name</span>: <span class="hljs-string">'展开/收起节点'</span>,
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
:class="{ disabled: insertNodeBtnDisabled }"
|
||||
>
|
||||
{{ $t('contextmenu.insertSummary') }}
|
||||
<span class="desc">Ctrl + S</span>
|
||||
<span class="desc">Ctrl + G</span>
|
||||
</div>
|
||||
<div
|
||||
class="item"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user