new_page_skeleton
Returns an empty, complete top-level page source { page:[], popup:[], settings, options, cartConfigs } in the Webcake editor's shape.
Instructions
Returns an empty, complete top-level page source { page:[], popup:[], settings, options, cartConfigs } in the Webcake editor's shape. desktopWidth (960 or 1200) and mobileWidth (420 or 360) set settings.width_section, the canvas width that all element coordinates are measured in.
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). |