Skip to content

Commit

Permalink
strike through menu button shortcut should use "S" instead of "X"
Browse files Browse the repository at this point in the history
  • Loading branch information
abaransy-business authored and sjdemartini committed Dec 28, 2024
1 parent b87074c commit 779c811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controls/MenuButtonStrikethrough.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function MenuButtonStrikethrough(
return (
<MenuButton
tooltipLabel="Strikethrough"
tooltipShortcutKeys={["mod", "Shift", "X"]}
tooltipShortcutKeys={["mod", "Shift", "S"]}
IconComponent={StrikethroughS}
selected={editor?.isActive("strike") ?? false}
disabled={!editor?.isEditable || !editor.can().toggleStrike()}
Expand Down

0 comments on commit 779c811

Please sign in to comment.