Skip to content

Commit

Permalink
🩹 (#2735): fix incorrect shortcuts
Browse files Browse the repository at this point in the history
- strikethrough
- blockquote
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
  • Loading branch information
Vinicius Reis authored and juliushaertl committed Jul 30, 2022
1 parent 74be36d commit a6ee998
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Menu/entries.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ export default [
{
key: 'strikethrough',
label: t('text', 'Strikethrough'),
keyChar: 'd',
keyModifiers: [MODIFIERS.Mod],
keyChar: 'x',
keyModifiers: [MODIFIERS.Mod, MODIFIERS.Shift],
icon: FormatStrikethrough,
isActive: 'strike',
action: (command) => {
Expand Down Expand Up @@ -220,8 +220,8 @@ export default [
{
key: 'blockquote',
label: t('text', 'Blockquote'),
keyChar: '>',
keyModifiers: [MODIFIERS.Mod],
keyChar: 'b',
keyModifiers: [MODIFIERS.Mod, MODIFIERS.Shift],
isActive: 'blockquote',
icon: FormatQuote,
action: (command) => {
Expand Down

0 comments on commit a6ee998

Please sign in to comment.