Wrap section
swebsy_wrap_sectionWrap a run of sibling components in one new element, optionally with a semantic tag — e.g. put everything between the navbar and footer in <main>, or a footer symbol in <footer>. The wrapped components keep their ids, id-styles and symbol links. ALWAYS use this to add a wrapper; re-sending the components through edit_section/replace_page_content loses their styles. Paths shift — call read_page before the next path-based edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endPath | No | Path of the last component to wrap, a later sibling of targetPath. Everything between them is wrapped too. Omit to wrap only targetPath. | |
| tagName | No | Wrapper tag. Default div. One `main` per page, never inside header/footer/nav/aside/article. | |
| customName | No | Layers-panel label, e.g. "Main content". | |
| targetPath | Yes | Path (from the most recent `read_page`) of the first component to wrap. |