Skip to content

BlockSuite API Documentation / @blocksuite/blocks / isFormatSupported

Function: isFormatSupported()

isFormatSupported(chain): Chain<InitCommandCtx & CommandKeyToData<keyof BlockSuite.CommandContext>>

Parameters

chain: Chain<InitCommandCtx>

Returns

Chain<InitCommandCtx & CommandKeyToData<keyof BlockSuite.CommandContext>>

Defined in

packages/affine/components/dist/rich-text/format/utils.d.ts:6