-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[Bug]: loadSnapshot disables keyboard #3696
Comments
Hey! Thanks for reporting this, we'll investigate it a bit further. The issue seems to be that the editor looses focus. As a temporary workaround you can use the following line (after loading the snapshot). editor.updateInstanceState({ isFocused: true }) You can also try playing with the What are you trying to achieve? Just load a document when the page first loads? |
Thank you very much, as you mentioned what I was trying to achieve is to load a document when the page loads for the first time. |
What happened?
The keyboard stopped responding when deleting, copying, cutting, etc.
Using the buttons on the user interface, actions are carried out normally.
How can we reproduce the bug?
See an example
What browsers are you seeing the problem on?
Firefox, Chrome
Contact Details
[email protected]
Code of Conduct
The text was updated successfully, but these errors were encountered: