You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
A hanging selection is present when using the keyboard (shift + arrow keys) to select text, this causes the marks to be in a state in which they are not clickable unless the selection is changed.
Type each one of these on a separate line One, Two, Three
With the cursor at the end of Three, hold down Shift and hit the arrow up key on the keyboard twice.
"Two" and "Three" should be visibly selected
Click on the marks Bold, Italic, Underline so that Two and Three are formatted
Try clicking on the Bold, Italic, or Underline with the selection still active, notice that Two and Three are still formatted and you can't remove the marks from them unless you make the selection with the mouse.
Expectation Two and Three is the only text visibly selected in this scenario so the user should be able to add marks and remove marks to them without having to make a new selection.
Environment
Slate Version: 0.110.1
Operating System: Mac/Windows
Browser: Chrome, Firefox, Brave
The text was updated successfully, but these errors were encountered:
Description
A hanging selection is present when using the keyboard (shift + arrow keys) to select text, this causes the marks to be in a state in which they are not clickable unless the selection is changed.
Recording
Sandbox
https://www.slatejs.org/examples/richtext
Steps
To reproduce the behavior:
One
,Two
,Three
Three
, hold downShift
and hit the arrow up key on the keyboard twice.Bold
,Italic
,Underline
so thatTwo
andThree
are formattedBold
,Italic
, orUnderline
with the selection still active, notice thatTwo
andThree
are still formatted and you can't remove the marks from them unless you make the selection with the mouse.Expectation
Two
andThree
is the only text visibly selected in this scenario so the user should be able to add marks and remove marks to them without having to make a new selection.Environment
The text was updated successfully, but these errors were encountered: