Initialize nested component structures with data #105
Labels
cms structures
Related to the generation of structures for hydrating the CMS
enhancement
New feature or request
Currently, the only component shorthand available is:
In both of these instances, the object or array will be initialized in the CMS empty. We should provide something like the following:
Where components suffixed with
!
are pre-populated when added to the CMS.Bonus considerations:
bookshop:structure:content_blocks!
, how should that behave, and what could be implemented to achieve this?bookshop:structure:content_blocks:title!
)bookshop:button(5)
content_blocks
array with starter components added:bookshop:structure:content_blocks(title,paragraph,button)
The text was updated successfully, but these errors were encountered: