mui-rte icon indicating copy to clipboard operation
mui-rte copied to clipboard

How to style the editor when it gains focus?

Open lecoqlibre opened this issue 3 years ago • 2 comments

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!

lecoqlibre avatar Sep 26 '22 11:09 lecoqlibre

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

DurivetMatthias avatar Apr 04 '23 08:04 DurivetMatthias

Looking to do the same.

galdahan avatar Feb 16 '24 17:02 galdahan