-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
Support for Next.js 13 with experimental appDir enabled #222
Comments
Moved it to a repo: https://github.com/p13lgst/Easy-email-Next-13-appDir-bug |
Sorry, we don't have much time to check this bug at the moment. |
Perhaps rendering multiple HTML tags in the same page caused this error, which is not compliant with the standards. Wrapping EditEmailPreview with the react-frame-component package may resolve this issue. |
However, doing this requires passing down the new |
@m-Ryan @p13lgst I am working on making the editor work with Next's new app directory, I removed the html tag(I changed to to However, I still see the html tag in the preview? I am I editing the correct place? After much digging, I found the culprit! It's the |
Hello, do you have a working example? |
@willopez Did you get it working on next js app dir ? i'm facing the same issue right now. I'd appreciate the help. |
Any luck with this? |
As referenced in #194, if the experimental option
appDir
option is enabled on Next.js, it will break the editor, with the following error:And on the console a lot of warnings including the one referenced on the other issue
If you disable the
appDir
option, the editor renders without the errorHere's a sandbox with the reproduction: https://codesandbox.io/p/sandbox/festive-dijkstra-z45mi4
The text was updated successfully, but these errors were encountered: