What is the problem you are trying to solve?
Multiple drop-zones in fragments are very useful to create a “matrioska” composed website.
Anyway, the main limit of this approach is that is not possible to limit “what fragements could be nested”.
For example, in a Card fragment could be useful to insert a fragment that allows some specific link type (e.g. social ones, or phone/email with proper icon, or popup) but others (for example should be not possible to insert another card into one).
What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc)
Anyone (Portal and Commerce)
What is your proposed solution? (optional)
I think that two things could be useful
-
As already said, the possibility to define “what fragments could be nested” similar to master page main drop-zone already existent
-
To further improvements, trying to limit “repetitions”, could be useful also that a developer could “embed” directly from code, which fragment should be nested in a specific html node, in a similar way of old “widget embed” in which once was possible to embed a “navigaton-bar” in a specific code point of an Header fragment.
In this way, if I have a Button fragments with many configurations, I could manage by code that in a Card fragment in a specific html node is nested this fragment allowing all Button variations, avoiding to “duplicate and replicate” all configurations for buttons also into the Card one.
With this addition, development will be very modular and optimized.