Add Single Block
plone_add_single_blockAdd a new block to a Plone content item without removing existing blocks. Specify the block type, data, and optional insertion position.
Instructions
Adds a single new block to an existing content item without replacing other blocks. Specify the block type, data, and optional position. Example: plone_add_single_block({path: '/my-page', blockType: 'text', blockData: {text: 'New paragraph'}})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the content | |
| blockType | Yes | Type of block to add | |
| blockData | Yes | Block-specific data | |
| position | No | Position to insert the block (optional, defaults to end) |