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:
Jarek Radosz 2021-05-25 15:57:29 +02:00 committed by GitHub
parent e2e13a70f6
commit 5c3c2b8d31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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),