mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-01-22 07:54:58 +00:00
removed the f9 shortcut to sort all lines in a pad (#814)
Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
parent
98ffd70fa4
commit
64edb05204
2 changed files with 6 additions and 3 deletions
|
@ -31,6 +31,7 @@ SPDX-License-Identifier: CC-BY-SA-4.0
|
|||
- Alternative anchor URL formats
|
||||
- Import HTML and convert to Markdown
|
||||
- Import content from a url
|
||||
- F9 shortcut to sort lines
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ const esc = (editor: Editor): void | typeof Pass => {
|
|||
return CodeMirror.Pass
|
||||
}
|
||||
}
|
||||
const suppressSave = (): undefined => undefined
|
||||
const suppressKey = (): undefined => undefined
|
||||
const tab = (editor: Editor) => {
|
||||
const tab = '\t'
|
||||
|
||||
|
@ -69,9 +69,10 @@ const tab = (editor: Editor) => {
|
|||
|
||||
export const defaultKeyMap: KeyMap = !isMac
|
||||
? {
|
||||
F9: suppressKey,
|
||||
F10: f10,
|
||||
Esc: esc,
|
||||
'Ctrl-S': suppressSave,
|
||||
'Ctrl-S': suppressKey,
|
||||
Enter: 'newlineAndIndentContinueMarkdownList',
|
||||
Tab: tab,
|
||||
Home: 'goLineLeftSmart',
|
||||
|
@ -83,9 +84,10 @@ export const defaultKeyMap: KeyMap = !isMac
|
|||
'Ctrl-M': markSelection
|
||||
}
|
||||
: {
|
||||
F9: suppressKey,
|
||||
F10: f10,
|
||||
Esc: esc,
|
||||
'Cmd-S': suppressSave,
|
||||
'Cmd-S': suppressKey,
|
||||
Enter: 'newlineAndIndentContinueMarkdownList',
|
||||
Tab: tab,
|
||||
'Cmd-Left': 'goLineLeftSmart',
|
||||
|
|
Loading…
Reference in a new issue