Move section
swebsy_move_sectionReorder page components by moving a section, column, or CTA before or after another element while keeping its id, classes, and styles intact—avoid delete-and-re-add that loses styling.
Instructions
Move a component to just before or after another component on the current page — reorder sections, swap columns, lift a CTA above the footer. The component keeps its id, classes and id-styles. ALWAYS use this to reorder; delete + re-add loses the component's styles. Name each side by id (targetId/anchorId) or by path (targetPath/anchorPath).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| anchorId | No | The component to place it next to by its id, as `read_page` shows it after `#` (e.g. "ieyubib", or "call-2-2" in a symbol instance). Stays valid when other components move or are added, unlike a path. Pass this OR the path, not both. | |
| position | No | Which side of the anchor. Default after. | |
| targetId | No | The component to move by its id, as `read_page` shows it after `#` (e.g. "ieyubib", or "call-2-2" in a symbol instance). Stays valid when other components move or are added, unlike a path. Pass this OR the path, not both. | |
| anchorPath | No | Path (from the same `read_page`) of the component to place it next to. | |
| targetPath | No | Path (from the most recent `read_page`) of the component to move. |