mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 01:36:22 +00:00
deleted ctr+l and ctrl+t
This commit is contained in:
@@ -217,30 +217,6 @@ class MarkdownNoteDetail extends React.Component {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
// L key
|
|
||||||
case 76:
|
|
||||||
{
|
|
||||||
const isSuper = global.process.platform === 'darwin'
|
|
||||||
? e.metaKey
|
|
||||||
: e.ctrlKey
|
|
||||||
if (isSuper) {
|
|
||||||
e.preventDefault()
|
|
||||||
this.focus()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break
|
|
||||||
// T key
|
|
||||||
case 84:
|
|
||||||
{
|
|
||||||
const isSuper = global.process.platform === 'darwin'
|
|
||||||
? e.metaKey
|
|
||||||
: e.ctrlKey
|
|
||||||
if (isSuper && !e.shiftKey && !e.altKey) {
|
|
||||||
e.preventDefault()
|
|
||||||
this.addSnippet()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user