Fix quote shortcut for most keyboard layouts (#9298)

pull/28217/head
owi92 2022-09-29 17:51:50 +02:00 committed by GitHub
parent a49603b9b8
commit 3c5ff30177
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -339,6 +339,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
[KeyBindingAction.FormatQuote]: {
default: {
ctrlOrCmdKey: true,
shiftKey: true,
key: Key.GREATER_THAN,
},
displayName: _td("Toggle Quote"),

View File

@ -754,7 +754,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
[Formatting.Bold]: ctrlShortcutLabel("B"),
[Formatting.Italics]: ctrlShortcutLabel("I"),
[Formatting.Code]: ctrlShortcutLabel("E"),
[Formatting.Quote]: ctrlShortcutLabel(">"),
[Formatting.Quote]: ctrlShortcutLabel(">", true),
[Formatting.InsertLink]: ctrlShortcutLabel("L", true),
};