FEATURE: Change "Preformatted text" shortcut (#13137)
Cmd/Ctrl+Shift+C was conflicting with browsers' "inspect element" keyboard shortcuts. Cmd/Ctrl-E was chosen because it's the same one that GitHub is now using: https://github.blog/changelog/2021-04-09-new-codeblock-shortcut/
This commit is contained in:
parent
e2e13a70f6
commit
5c3c2b8d31
|
@ -129,7 +129,7 @@ class Toolbar {
|
|||
this.addButton({
|
||||
id: "code",
|
||||
group: "insertions",
|
||||
shortcut: "Shift+C",
|
||||
shortcut: "E",
|
||||
preventFocus: true,
|
||||
trimLeading: true,
|
||||
action: (...args) => this.context.send("formatCode", args),
|
||||
|
|
Loading…
Reference in New Issue