Install
Works with Drupal: ^10 || ^11 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
Maintenance release.
- Added Drupal 12 compatibility (#3596212).
- Fixed the settings form example, which showed a single JSON object while the plugin and the config schema both expect a list of styles. Pasting the documented example produced a broken configuration.
- Added validation of the style definitions, so an invalid configuration is reported on the form instead of failing later.
- The plugin now returns the static plugin configuration when no style is configured, instead of discarding it.
- Fixed the config schema, which only allowed four fixed attribute names even though the plugin allows data-* attributes.
- Fixed all PHP_CodeSniffer Drupal and DrupalPractice violations, and enabled GitLab CI.
- Removed committed .DS_Store files and rewrote the README, which was truncated.
Known issue: opening a link with an anchor fragment in a modal still fails (#3557625).