Move Block (drag-and-drop)
kilango_move_blockMove a block to a new position using an index or a reference to another block. It computes the updated order and applies it, accounting for render-tier effects.
Instructions
Move one block to a new position (index, or before/after another blockId). Fetches the current order, computes the complete permutation, and calls reorder with If-Match. Position within a render tier follows the widget renderRole, so the visual result may differ from the array index — read the rendering note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockId | Yes | ||
| pageRef | Yes | ||
| position | Yes | ||
| portalRef | Yes |