Skip to content

BlockSuite API Documentation / @blocksuite/blocks / toggleUnderline

Function: toggleUnderline()

toggleUnderline(ctx, next): void

Parameters

ctx: CommandKeyToData<never> & InitCommandCtx

next

Returns

void

Source

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