Describe the bug
Ever since 0.38.0, there is a dependency on decode-named-character-reference at import time for BlockNoteEditor, such that importing it causes Uncaught ReferenceError: document is not defined in environments where document doesn't exist, e.g. Convex functions. I also filed #2173 to track the broader ask of supporting serverless environments.
To Reproduce
get-convex/prosemirror-sync#187
clone the repo, then npm i && npm run dev - it should successfully deploy to Convex. After upgrading to 0.38, it fails.
Misc