You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When multiple editors are mounted at once, they throw flushSync errors.
flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.
Oh sorry about that! I didn't realize the original example was on react 18. I've forked it and updated to the latest blocknote and react 19, and I see the errors now. https://stackblitz.com/edit/github-5zwbkwwx-eoojpbaq. Thanks again for looking into this and let me know if there is anything else I can provide.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
When multiple editors are mounted at once, they throw flushSync errors.
Similar to #1513.
To Reproduce
@edwandr helpfully created this minimal example that shows the issue. Load the page and then check the browser console.I've forked the original reproduction and updated the dependencies to react 19 and blocknote 0.31.1.
Misc
The text was updated successfully, but these errors were encountered: