BlockSuite API Documentation / @blocksuite/blocks / isFormatSupported
Function: isFormatSupported()
isFormatSupported(
chain
):Chain
<InitCommandCtx
&CommandKeyToData
<keyofBlockSuite.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