Skip to content

BlockSuite API Documentation / @blocksuite/affine-block-note / indentBlock

Variable: indentBlock

const indentBlock: Command<{ blockId: string; stopCapture: boolean; }>

Defined in: packages/affine/blocks/block-note/src/commands/indent-block.ts:24

Example

ts
before indent:
- aaa
  - bbb
- ccc|
  - ddd
  - eee

after indent:
- aaa
  - bbb
  - ccc|
    - ddd
    - eee