java - Magnolia - child component, or area that always contains 1 child component of a specific class -


in magnolia/blossom component, possible define , render child component of type (or area defined contain 1 component of specific type, prepopulated , has clean author interface)?

e.g. have rich text component. want build component has section within uses rich text component. create area has maximum of 1 child components, , allows component type, require author manually add each time - plus author interface ugly*.

fwiw i'm using magnolia 5.4.9, blossom module 3.1.3 , thymeleaf 2.1.4.

*i have following i'm trying avoid - contains 2 wrappers single component, plus redundant 'maximum number of components reached' area magnolia - redundant author interface elements

to avoid having editor create instance of component manually, can use autogeneration.

to rid of green bars in ui ... apart writing inside of single component, can try examine element ids see if can custom tweak css hide it, not possible.


Comments

Popular posts from this blog

account - Script error login visual studio DefaultLogin_PCore.js -

xcode - CocoaPod Storyboard error: -