Skip to content

BlockSuite API Documentation / @blocksuite/blocks / toggleItalic

Function: toggleItalic()

toggleItalic(ctx, next): void

Parameters

ctx: CommandKeyToData<never> & InitCommandCtx

next

Returns

void

Source

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