new_element
Creates a default element node from an element type, ready for positioning and specials injection, with pre-seeded styles for both breakpoints.
Instructions
Returns a default element node for a type in the SPARSE authoring shape (fresh id, both breakpoints' seeded styles, seeded specials). Emit elements exactly like this — fill in specials + top/left coordinates; OMIT properties/runtime/empty events/config (the server hydrates them from factory defaults on validate/persist).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional properties.name override (layer label). | |
| type | Yes | Element type to create. |