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

Reset Editor #324

Open
3 tasks done
mrabaev48 opened this issue Oct 19, 2022 · 1 comment
Open
3 tasks done

Reset Editor #324

mrabaev48 opened this issue Oct 19, 2022 · 1 comment

Comments

@mrabaev48
Copy link

Checklist

Description

Hi!
I'm using the latest version of your library and latest version of MUI and React as well.
Unfortunately I can't find any solutions to clear/reset the editor.
I have tried to change a defaultValue with an empty string and it works only once. And after this if I type some text into editor, press save data, the editor didn't clear. I still seeing an old value which should be empty.
Maybe I have missed something. Any solutions or advices?

Many thanks and Best Regards.

@TimDeve
Copy link

TimDeve commented Nov 19, 2022

Changing the key prop will reset the editor.

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

No branches or pull requests

2 participants