-
-
Notifications
You must be signed in to change notification settings - Fork 680
Open
Labels
bugIncorrect or unexpected behavior in existing functionality.Incorrect or unexpected behavior in existing functionality.bug:P2Medium: Noticeable but non-blocking issues.Medium: Noticeable but non-blocking issues.needs-effortIssue has been triaged but has not yet been sized.Issue has been triaged but has not yet been sized.
Description
What’s broken?
When creating a code block using back ticks and hitting , the editor inserts the code block but the mouse cursor is auto focused on the next block.
When I insert a code block using the slash menu the cursor position is correctly moved to the code block
What did you expect to happen?
On , I expect the mouse cursor to focus the newly created code block.
Steps to reproduce
- Open an editor
- Create a code by typing ``` +
- See that the mouse cursor has moved to the block after the code block instead of the code block itself.
BlockNote version
No response
Environment
Chrome 144 / macOS
Additional context
No response
Contribution
- I'd be interested in contributing a fix for this issue
Sponsor
- I'm a sponsor and would appreciate if you could look into this sooner than later 💖
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugIncorrect or unexpected behavior in existing functionality.Incorrect or unexpected behavior in existing functionality.bug:P2Medium: Noticeable but non-blocking issues.Medium: Noticeable but non-blocking issues.needs-effortIssue has been triaged but has not yet been sized.Issue has been triaged but has not yet been sized.