BlockSuite API Documentation / @blocksuite/blocks / toggleCode
Function: toggleCode()
toggleCode(
ctx,next):void
Parameters
• ctx: CommandKeyToData<never> & InitCommandCtx
• next: (ctx?) => void
Returns
void
Source
packages/blocks/src/note-block/commands/text-style.ts:12
Generated using TypeDoc and typedoc-plugin-markdown.