You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but is there any way to limit the amount of any specific widget in that area? e.g.
main: {
type: 'area',
options: {
widgets: {
'@apostrophecms/rich-text': {},
'@apostrophecms/image': {},
'@apostrophecms/video': {
max: 1 // 👈 this puppy here means only one video widget in this area
}
},
max: 3
}
}
I know I could make another area, but the order of areas in the page is still fixed; this feature would allow users to re-organise the area content avoiding this fixed-layout problem.
The text was updated successfully, but these errors were encountered:
Currently this is not possible. I am curious what the use case would be for the feature? e.g. what is the specific scenario where you want to let people freely add a mix of widgets, but limit the number of each type separately?
I know I can limit the number of widgets in an area with
but is there any way to limit the amount of any specific widget in that area? e.g.
I know I could make another area, but the order of areas in the page is still fixed; this feature would allow users to re-organise the area content avoiding this fixed-layout problem.
The text was updated successfully, but these errors were encountered: