Skip to content

Enhancement: Add new options to spo page section add command #6742

@mkm17

Description

@mkm17

There are new options available in the spo page sections

Option Values
-t, --sectionTemplate Type of section to add. Allowed values OneColumn, OneColumnFullWidth, TwoColumn, ThreeColumn, TwoColumnLeft, TwoColumnRight, Vertical, Flexible(the new one).
--zoneReflowStrategy [zoneReflowStrategy] Mobile and email reflow. Allowed values TopToBottom, LeftToRight. Applied only for Flexible section.
--zoneHeight [zoneHeight] Section height. Applied only for Flexible section.
--headingLevel [headingLevel] Heading level of collapsible section Allowed values 2, 3, 4.

Additionally, I would like to add validation to prevent adding a full-width section when a vertical one is present on the page, and vice versa.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions