Imagine a normal Text or Text with Image element, but you want to allow the editor to change its look. Some examples:
- Different font size to emphasize text
- Different background color to draw attention
In TYPO3 CMS, I would use the property “layout” or “section_frame” for this task which allows wrapping the content with different markup.
In Neos, I have to simple possibilities:
- Create a separate Node type for each style. This is very easy, but could also clutter the “New Node” dialog.
- Create a layout property for certain nodes and change wrap according to the layout.
How do you normally implement such a requirement? Are there any cons speaking against using a layout property?