Skip to content

BlockSuite API Documentation / @blocksuite/blocks / addAttachments

Function: addAttachments()

addAttachments(std, files, point?): Promise<string[]>

Parameters

std: BlockStdScope

files: File[]

point?: IVec

Returns

Promise<string[]>

Defined in

packages/blocks/src/root-block/edgeless/utils/common.ts:42