Issue 3361582 introduced a new id attribute change to the content section of blocks in order to better handle aria attributes. If your theme adds an id to the content section of a block (not a standard practice) it will be replaced by the collapsiblock id. This may affect other JS behaviours or theming which will need to be re-targeted to the new id.
The main change in this version is that it now allows users to install the slide-element js library directly in their project. Simply right click this link and save it as /libraries/slide-element/index.umd.js:
Not completely back-wards compatible because some things such as the active menu trail which did not function correctly in the past now do. This is the primary reason for releasing a version 4.
All beta blockers closed, entering beta phase for two months, RC due September 2022.
This version should be more stable again than 3.x, please try it out and report any issues in the issue queue.
Not completely back-wards compatible because some things such as the active menu trail which did not function correctly in the past now do. This is the primary reason for releasing a version 4.
- Added more information to the readme as prompted by #2965765: README configs and formatting
- Improved the upgrade path from 8.x-1.x to 8.x-2.x (fixed missing global variable)
1.x versions use theme settings to control block behaviour.
2.x versions store the information with individual blocks and support more themes out of the box.
* Store collapsibility info as a property on blocks instead of a single file full of IDs
* Use preprocess to prepare blocks for collapse behaviours when required
* Set JS to act only on properly preprocessed blocks and only if a title element exists
This should have the effect of supporting many more major themes out-of-the-box
* #1305364 Expanding blocks reloads page for non-admin users by Darvanen, vinmassaro, dsdeiz, nathanjo
* #1301454 Lower case blocks id
* #1429956 Missing jquery cookie lib
* #1305364 Move prevent default on top and add id in anchor
* #1182432 Block delta can be mixed upper- and lowercase by sandervd
* bartik is now the default default_theme
* Other minor fix