BlockSuite API Documentation / @blocksuite/blocks / uploadBlobForImage
Function: uploadBlobForImage()
uploadBlobForImage(
editorHost
,blockId
,blob
):Promise
<void
>
Parameters
editorHost
blockId
string
blob
Blob
Returns
Promise
<void
>
Defined in
packages/blocks/src/image-block/utils.ts:37