How to style the editor when it gains focus?
lecoqlibre opened this issue · comments
Maxime Lecoq commented
How do we change the style applied to the editor when it gains focus? I did not find the solution in the exemples.
Can we change the theme passed to the <ThemeProvider />
?
Thanks!
DurivetMatthias commented
Looking to do the same.
I tried building around this myself.
In my case the Editor needs to be wrapped in a React.memo() to avoid infinite re-renders
But that is also stopping the style changes from applying