Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-paragraph / addParagraphCommand

Variable: addParagraphCommand

const addParagraphCommand: Command<{ blockId: string; }, { paragraphConvertedId: string; }>

Defined in: packages/affine/blocks/block-paragraph/src/commands/add-paragraph.ts:7

Add a paragraph next to the current block.