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
If there are any image element, it will automatically call workspace.blobs (the BlobStorage) to store the blob.
But the default value of _blobOptionsGetter caused the parser to send a request to /api/workspace/{workspace_id}/blob to persistent the blob on the server, which shouldn't be enabled by default.
When I import markdown by:
If there are any image element, it will automatically call
workspace.blobs
(theBlobStorage
) to store the blob.But the default value of
_blobOptionsGetter
caused the parser to send a request to/api/workspace/{workspace_id}/blob
to persistent the blob on the server, which shouldn't be enabled by default.See
blocksuite/packages/blocks/src/__internal__/content-parser/parse-html.ts
Line 468 in c673f66
blocksuite/packages/store/src/workspace/workspace.ts
Lines 35 to 37 in c673f66
Current workaround
const workspace = new Workspace({ id: workspaceId, providers: [], + blobOptionsGetter: () => undefined, })
The text was updated successfully, but these errors were encountered: