Open bglw opened 2 years ago
Currently, the only component shorthand available is:
button: "bookshop:button" #or: buttons: ["bookshop:button"]
In both of these instances, the object or array will be initialized in the CMS empty. We should provide something like the following:
button: "bookshop:button!" #or: buttons: ["bookshop:button!", "bookshop:button!"]
Where components suffixed with ! are pre-populated when added to the CMS.
!
Bonus considerations:
bookshop:structure:content_blocks!
bookshop:structure:content_blocks:title!
bookshop:button(5)
content_blocks
bookshop:structure:content_blocks(title,paragraph,button)
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)
_