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

Hydration error in nextjs form with server action #98

Open
Allacher opened this issue Nov 3, 2024 · 1 comment
Open

Hydration error in nextjs form with server action #98

Allacher opened this issue Nov 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Allacher
Copy link

Allacher commented Nov 3, 2024

When I use this editor in combination with react hook forms in a form which gets submitted with a nextjs server action I always get a SSR hydration error.
After a lot of debugging I found out that the problem is cased by the css import.

My fix was copying the styles into my project and removing all font imports. Somehow this fixed the problem.

@hunghg255
Copy link
Owner

@Allacher thank you for feedback,

@hunghg255 hunghg255 added the bug Something isn't working label Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants