Change a block
update_componentModify an existing Sameway canvas block by changing its properties, width, size, tone, frame, region, or order, and move it to another tab or Home.
Instructions
Change a block already on the canvas: its props, its width, or its place in the order. Props replace the old ones completely, so send them all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Block id from the canvas listing. | |
| size | No | ||
| span | No | New width in columns of twelve. | |
| tone | No | ||
| frame | No | ||
| props | No | The complete new props. Leave out to keep the current ones. | |
| canvas | No | Move the block to another tab: a canvas id, or empty string for Home. | |
| region | No | ||
| position | No | New sort order; lower comes first. |