-
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" #5711
Comments
That's correct and it happens on Plate JS as well. Some of my findings are here: udecode/plate#3584 To re-iterate: See below: How it looks after pressing backspace (the entire DOM inside `contenteditable is empty) I'm using PlateJS v36.x. I added a keydown handler and returned false if Steps to reproduce:
Editor will crash with following error: Findings: Adding a The issue originates from |
@ehsankh1370 Maybe change the issue title to |
Description
Only in ios safari when i type some content in the editor and HOLD backspace button to remove the content and then i write again i get "Cannot resolve a Slate point from DOM point" error. after receiving this error no removing action (backspace) is not working. this issue is happening even in the slate demo link here
Steps
To reproduce the behavior:
Expectation
i expect to type and remove whenever i type and tap or hold backspace
Environment
The text was updated successfully, but these errors were encountered: