-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text highlighting and setting marks is broken #3923
Labels
Comments
Couldn't reproduce it on Windows on Chrome 86.0.4240.75. |
4 tasks
Is this issue caused by #3756? I am not sure this is a selection bug. Perhaps it is a |
Only appeared in FireFox, Chrome and Safari are all OK |
4 tasks
Related to #4038 |
Hey Brent, please assign this issue to me. |
4 tasks
4 tasks
Fixed by #4168. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do you want to request a feature or report a bug?
Bug
What's the current behavior?
If you double click on a word, set "Bold", "Italic", or any other mark. Navigate away to another character and then go back to the marked word with double click, and undo the prior mark set, it will unset the mark but enable the mark for surrounding marks. Reproduce:
(Sorry I dont know how y'all are creating these fancy gif screens)
Slate: Whatever https://www.slatejs.org/examples/richtext is currently running
Browser Firefox Developer Edition (82.0b8 (64-bit))
OS: Mac 11.0 Beta
What's the expected behavior?
Highlighting the word should correctly set the mark, toggling the button should likewise work
The text was updated successfully, but these errors were encountered: