Skip to content

BlockSuite API Documentation / @blocksuite/affine-rich-text / formatBlockCommand

Variable: formatBlockCommand

const formatBlockCommand: Command<{ blockSelections: BlockSelection[]; currentBlockSelections: BlockSelection[]; mode: "replace" | "merge"; styles: AffineTextAttributes; }>

Defined in: packages/affine/rich-text/src/format/format-block.ts:9