Page History
...
We can also disallow adding any component with "excludes": ["component"]. However, if we want to allow all components but a specific one, then we need to use the "contains" property instead of "excludes", in which we enumerate all possible components that this layout accepts.
Info | ||
---|---|---|
| ||
If both contains and excludes properties are missing from the layout spec file, then that layout will allow components as children. |
More Examples on "contains" and "excludes" properties
...
Overview
Content Tools
Activity