-
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
Resetting editor is not possible @ 0.72.2 #4780
Comments
I had to adopt the idea mentioned here: #4564 (comment) For my use case, I did this:
But, still, for such a basic, trivial use case, I had to look into so many data, for so long time. It is needed that a straightforward way of doing these basic things are documented. |
This is probably covered by the PR at https://github.com/ianstormtaylor/slate/pull/4768/files to update the docs. If not let me know. |
@dylans, thanks for that. |
hello, excuse me, I am faced with the same problem, Do you solve it?? |
@beewolf233, yes. You can see it in here & also in this thread |
Description
Resetting editor is not possible.
Recording
https://user-images.githubusercontent.com/91463806/148670809-2ec54d15-b161-4e6b-aa19-cc374a0917c8.mov
Sandbox
https://codesandbox.io/s/strange-bardeen-nht71
Steps
To reproduce the behavior:
Expectation
Resetting the editor state is the expectation. On other words, the ability to programatically set the state of the editor.
The text was updated successfully, but these errors were encountered: