BlockSuite API Documentation / @blocksuite/blocks / updateBlockType
Function: updateBlockType()
updateBlockType(
ctx,next):void
Parameters
• ctx: CommandKeyToData<"selectedBlocks"> & InitCommandCtx & UpdateBlockConfig
• next: (ctx?) => void
Returns
void
Source
packages/blocks/src/note-block/commands/block-type.ts:21
Generated using TypeDoc and typedoc-plugin-markdown.