new_page_skeleton
Create an empty page skeleton with the complete editor-shaped structure, then set desktop or mobile canvas width upfront to match your target layout before adding elements.
Instructions
Returns an empty but complete top-level page source { page:[], popup:[], settings:{...defaults}, options:{...}, cartConfigs:{} } matching the real editor shape. Pass desktopWidth/mobileWidth to set the canvas width (settings.width_section) up front — pick desktop 1200 for wide/multi-column/editorial pages or when cloning a reference wider than 960 (e.g. Google Stitch ~1280), else 960; then place every element's coords in that width's space.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mobileOnly | No | true if the page renders mobile-only. | |
| mobileWidth | No | Mobile canvas width (settings.width_section.mobile). 420 (default) or 360 (to match a ~360–390 mobile design). | |
| desktopWidth | No | Desktop canvas width (settings.width_section.desktop). 960 (default, simple/narrow) or 1200 (wide/multi-column/editorial, or cloning a >960 reference). |