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

ReferenceError: window is not defined #183

Closed
finnjefferis opened this issue May 10, 2022 · 2 comments
Closed

ReferenceError: window is not defined #183

finnjefferis opened this issue May 10, 2022 · 2 comments

Comments

@finnjefferis
Copy link

Trying to migrate to Next.JS and I'm getting an error (ReferenceError: window is not defined) at next-form-builder/node_modules/react-form-builder2/node_modules/react-draft-wysiwyg/dist/react-draft-wysiwyg.js (1:393).

Is this a case of react-draft-wysiwyg not being compatible with Next.JS? Are there any workarounds I could implement?

Thanks

@Kiho
Copy link
Owner

Kiho commented May 11, 2022

Please try v0.11.1 and let me know if it still not working.

@finnjefferis
Copy link
Author

Seems to be all fixed! Thank you!

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

2 participants