Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-root / createNewPresentationIndexes

Function: createNewPresentationIndexes()

createNewPresentationIndexes(raw, edgeless): Map<string, string>

Defined in: packages/affine/blocks/block-root/src/edgeless/utils/clipboard-utils.ts:100

Parameters

raw

(BlockSnapshot | SerializedElement)[]

edgeless

EdgelessRootBlockComponent

Returns

Map<string, string>