On New post page (/create), try pressing ctrl/cmd + 1 (or 2, 3, 4, etc).
Expected Behavior
If Post body input (markdown-supported text area) is not in focus, browser should switch to the respective tab number 1, 2, 3, 4, etc. (default browser behavior).
If Post body input is in focus, then the respective hotkeys can register (e.g. ctrl/cmd + 1 creates a level 1 heading in markdown (#). For the full list, see /markdoc/editor/hotkeys/hotkeys.markdoc.ts.
Current Behavior
Hotkeys always register, regardless of the focus state of the Post body text input.
Context
On New post page (
/create
), try pressingctrl/cmd + 1
(or 2, 3, 4, etc).Expected Behavior
If Post body input (markdown-supported text area) is not in focus, browser should switch to the respective tab number 1, 2, 3, 4, etc. (default browser behavior).
If Post body input is in focus, then the respective hotkeys can register (e.g.
ctrl/cmd + 1
creates a level 1 heading in markdown (#
). For the full list, see/markdoc/editor/hotkeys/hotkeys.markdoc.ts
.Current Behavior
Hotkeys always register, regardless of the focus state of the Post body text input.
Screenshots
Steps to reproduce
See above.
Additional info
N/A