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
In the course of normal usage the call to toDocxJsDocument does not work with the following error:
@blocknote_xl-docx-e…r.js?v=258d18af:380 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'from')
at async App.tsx:23:26
Seems to be that buffer package removed the named export recently. If change const Buffer = (await import("buffer")).default.Buffer; to const Buffer = (await import("buffer")).default; then it works correctly.
Describe the bug
In the course of normal usage the call to
toDocxJsDocument
does not work with the following error:Seems to be that
buffer
package removed the named export recently. If changeconst Buffer = (await import("buffer")).default.Buffer;
toconst Buffer = (await import("buffer")).default;
then it works correctly.I will create a PR to fix shortly.
To Reproduce
The text was updated successfully, but these errors were encountered: