Skip to content

BlockSuite API Documentation / @blocksuite/blocks / getSurfaceBlock

Function: getSurfaceBlock()

getSurfaceBlock(doc): null | SurfaceBlockModel

Parameters

doc: Doc

Returns

null | SurfaceBlockModel

Defined in

packages/blocks/src/surface-ref-block/utils.ts:6