[Bug]: Cmd+Shift+B should not trigger bold - and same for the other marks #4006
Labels
Category: Open Source
The issue or pull reuqest is related to the open source packages of Tiptap.
Triage: Open
A new issue or pullrequest that requires triage (added by default)
Type: Bug
The issue or pullrequest is related to a bug
Which packages did you experience the bug in?
bold
What Tiptap version are you using?
2.0.0
What’s the bug you are facing?
The hotkeys for triggering marks should be limited to exactly the keys specified and not trigger in response to additional keys like Shift.
Same for italics, underline, and perhaps more.
What browser are you using?
Chrome on Linux (so specifically using ctrl, not cmd)
Code example
https://tiptap.dev/api/marks/bold
What did you expect to happen?
Cmd+Shift+B or Ctrl+Shift+B should do nothing - but instead they add bold.
Anything to add? (optional)
This also interferes with the blockquote extension's default hotkeys of Cmd+Shift+B: https://tiptap.dev/api/nodes/blockquote
Did you update your dependencies?
Are you sponsoring us?
The text was updated successfully, but these errors were encountered: