Skip to content
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

Slate does not react on delete button on page refresh - it just moves cursor backwards or throws error Cannot resolve a DOM point from Slate point on letter insert #3918

Open
ebasic opened this issue Oct 12, 2020 · 0 comments · May be fixed by #5407

Comments

@ebasic
Copy link

ebasic commented Oct 12, 2020

Do you want to request a feature or report a bug?

Bug.

What's the current behavior?

When I navigate (i.e. click from navbar) to page containing slate editable text in my React app, everything works fine but when I'm at that page and refresh it, slate does not react anymore on delete button, it just moves cursor backwards across letters. Or if I try to insert letters, I get error Cannot resolve a DOM point from Slate point. What could be the problem?

Slate: 0.47
Browser: Chrome
OS: Mac

GIF: https://gyazo.com/53d38d9fb90035dc276f4d5288f24048

@ebasic ebasic changed the title Slate does not react on delete button on page refresh - it just moves cursor accross letters Slate does not react on delete button on page refresh - it just moves cursor backwards or throws error Cannot resolve a DOM point from Slate point on letter insert Oct 12, 2020
@zbeyens zbeyens linked a pull request Apr 27, 2023 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant