Skip to content

BlockSuite API Documentation / @blocksuite/blocks / isTextStyleActive

Function: isTextStyleActive()

isTextStyleActive(ctx, next): void

Parameters

ctx: CommandKeyToData<never> & InitCommandCtx & object

next

Returns

void

Source

packages/blocks/src/note-block/commands/text-style.ts:58