BlockSuite API Documentation / @blocksuite/blocks / getSurfaceBlock
Function: getSurfaceBlock()
getSurfaceBlock(
doc
):null
|SurfaceBlockModel
Parameters
doc
Returns
null
| SurfaceBlockModel
Defined in
packages/blocks/src/surface-ref-block/utils.ts:6