1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-13 17:56:25 +00:00

New Feature: Shortcuts for focusing tag editor(CmdOrControl+T)

This commit is contained in:
JianXu
2018-07-17 17:17:51 +08:00
parent 856d52891c
commit ad847a2f5d
3 changed files with 22 additions and 1 deletions

View File

@@ -441,7 +441,7 @@ class SnippetNoteDetail extends React.Component {
const isSuper = global.process.platform === 'darwin'
? e.metaKey
: e.ctrlKey
if (isSuper) {
if (isSuper && !e.shiftKey) {
e.preventDefault()
this.addSnippet()
}