-
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
Cannot resolve a Slate point from DOM point #3723
Comments
Probably the same issue as #3421. TL;DR every element that has |
I am getting this behaviour even with |
good idea. |
Do you want to request a feature or report a bug?
bug
What's the current behavior?
Under the situation that if a normally
parent element
's children are allvoid element
,clicking the area(contenteditable=false
) that belong toparent element
and multiple times will result in an error(Cannot resolve a Slate point from DOM point: [object Text],17
)here is the exmaple:
![Jun-05-2020 17-20-30](https://user-images.githubusercontent.com/12671657/83859775-f94cbe80-a750-11ea-9d1a-b6d965864dfd.gif)
example
The bug doesn't happen each time.
Slate: 0.58.1
Browser: Chrome
OS: Mac
What's the expected behavior?
No error occured!
The text was updated successfully, but these errors were encountered: