Open mahotilo opened 4 years ago
I wouldn't say useless but the current ones can only be used to do someting when the admin box opens or closes. I haven't used bunch controls myself yet. I rather work with section combos rather than adding too much complexity to a single type - or create custom (extra) controls for nested stuff.
Edit: inline editing and thus CustomSections quickly come to their limits in terms of screen real estate. At a certain point, things need to be built on dedicated Admin Pages.
BunchControl triggers Callbacks like
$(document).trigger()
, thus they can not be caught in editor.php in'on' => array();
.We should choose objects to fire events more precise. It can be
bunch_item
orusersgroup_bunch_items_container
or subcontrols ofbunch_item
.