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

How to style the editor when it gains focus? #322

Open
lecoqlibre opened this issue Sep 26, 2022 · 2 comments
Open

How to style the editor when it gains focus? #322

lecoqlibre opened this issue Sep 26, 2022 · 2 comments

Comments

@lecoqlibre
Copy link

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
Copy link

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

@galdahan
Copy link

Looking to do the same.

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

3 participants