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

fix: don't call window if not defined for nextjs #303

Merged
merged 1 commit into from
Aug 18, 2023

Conversation

YousefED
Copy link
Collaborator

@YousefED YousefED commented Aug 4, 2023

This should fix a bug when building blocknote in nextjs. It also cleans up the code a bit

Closes #301

@vercel
Copy link

vercel bot commented Aug 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
blocknote-website ✅ Ready (Inspect) Visit Preview Aug 4, 2023 11:01am

@YousefED YousefED changed the title fix: don't call window if not defined fix: don't call window if not defined for nextjs Aug 4, 2023
@matthewlipski matthewlipski merged commit 0b72bbc into main Aug 18, 2023
4 checks passed
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

Successfully merging this pull request may close these issues.

Out of Box Issues -- window is not defined
2 participants