Apostrophe 2 v2.111.0 Release Notes
Release Date: 2020-08-12 // over 3 years ago-
- 🔧 By popular request, "Add Widget" dropdown menus are better organized now, with support for categories of widgets. You can configure this optional feature like so:
apos.area(data.page, 'areaNameHere', { widgets: { ... you must configure your widgets as usual ... } widgetGroups: { 'Content': [ 'apostrophe-rich-text', 'apostrophe-images' ], 'Layout': [ 'one-column', 'two-column' ] } }
🔧 Every widget type you specify for
widgetGroups
must still be configured inwidgets
.If
widgetGroups
is not present the "add widget" dropdown menu will appear as it always did.- ✂ Removes the
aposBody
template macro, which was unused.