niuware/mui-rte

Reset Editor

mrabaev48 opened this issue · 1 comments

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.

Changing the key prop will reset the editor.