No way to exit inline marks when at the end of the document #636
Labels
package: remirror 🟣
Label for the remirror package and all relevant scoped `@remirror/*` packages.
status: confirmed 🟢
The bug has been tested and confirmed.
status: sponsored 💖
All issues and pull requests which have been requested from or created by sponsors.
type: bug 🪲
Something isn't working
type: feature ✨
A new feature is being added to the public API
Projects
Milestone
Summary
Playground Link
When within a
bold
code
oritalic
mark, there is no easy way to exit the mark if the cursor is at the end of the document.Steps to reproduce
**Bold**
Expected results
You should be able to escape the current mark when at the end of the document by pressing the left / right (Left/Right)ArrowKey.
Actual results
There is no escape without using Ctrl/Cmd-b 😰
Possible Solution
Add a configurable property for all mark extensions which allows them to be escaped when certain criteria are met.
If at the end of the document and the right arrow is pressed within an LTR document or the left arrow is pressed within an RTL document then remove the mark from being active.
Perhaps it should be made the default.
Screenshot
The text was updated successfully, but these errors were encountered: