Fix quote shortcut for most keyboard layouts (#9298)
parent
a49603b9b8
commit
3c5ff30177
|
@ -339,6 +339,7 @@ export const KEYBOARD_SHORTCUTS: IKeyboardShortcuts = {
|
||||||
[KeyBindingAction.FormatQuote]: {
|
[KeyBindingAction.FormatQuote]: {
|
||||||
default: {
|
default: {
|
||||||
ctrlOrCmdKey: true,
|
ctrlOrCmdKey: true,
|
||||||
|
shiftKey: true,
|
||||||
key: Key.GREATER_THAN,
|
key: Key.GREATER_THAN,
|
||||||
},
|
},
|
||||||
displayName: _td("Toggle Quote"),
|
displayName: _td("Toggle Quote"),
|
||||||
|
|
|
@ -754,7 +754,7 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
||||||
[Formatting.Bold]: ctrlShortcutLabel("B"),
|
[Formatting.Bold]: ctrlShortcutLabel("B"),
|
||||||
[Formatting.Italics]: ctrlShortcutLabel("I"),
|
[Formatting.Italics]: ctrlShortcutLabel("I"),
|
||||||
[Formatting.Code]: ctrlShortcutLabel("E"),
|
[Formatting.Code]: ctrlShortcutLabel("E"),
|
||||||
[Formatting.Quote]: ctrlShortcutLabel(">"),
|
[Formatting.Quote]: ctrlShortcutLabel(">", true),
|
||||||
[Formatting.InsertLink]: ctrlShortcutLabel("L", true),
|
[Formatting.InsertLink]: ctrlShortcutLabel("L", true),
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue