Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-surface-ref / insertSurfaceRefBlockCommand

Variable: insertSurfaceRefBlockCommand

const insertSurfaceRefBlockCommand: Command<{ place: "after" | "before"; reference: string; removeEmptyLine: boolean; selectedModels: BlockModel[]; }, { insertedSurfaceRefBlockId: string; }>

Defined in: packages/affine/blocks/block-surface-ref/src/commands.ts:10