Install
Works with Drupal: ^11.2 || ^12Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
406.83 KB
MD5: e2474e1935f69a688111e9d4e8e62286
SHA-1: e4cbcba279ef429e6272c18e840b6bd2c31193ce
SHA-256: 6ce80b9445ff581c50f4a2970407732f325e2e9f22c7aa6b4ae4db1c86fe2930
Download zip
562.24 KB
MD5: e5bc7525d543e8829b4fb9c3dea8f3ff
SHA-1: 3b2938ea7a234595797515e874cb73806a53bfef
SHA-256: 642133b6e91cd0e1aa67c2e88afd50d228d07fda4f82ce1b6b7b577bf28ac13a
Release notes
A toolbar icon and a clearer CKEditor panel that stays on screen; updating no longer takes the site down until caches are rebuilt. Covers everything since 1.0.5, the last published release.
Requirements
- Drupal
^11.2 || ^12.
Fixes — UtiliKit CKEditor (utilikit_ckeditor)
- The CKEditor toolbar button has an icon in Text formats (Material Symbols "handyman", Apache-2.0).
- A styled block no longer disappears inside the editor, and the endless loading shimmer that ran on styled blocks (and widened the scrollbar) is gone.
- Changing a value replaces the class instead of adding a second one. Typed values are checked before they are written: keyword lists, a colour picker, and the class validation pattern.
- The panel no longer runs off the bottom of the window and hides Apply: it opens on the side with more room and limits its height to the space left, on open, resize and scroll.
- State and opacity suffixes (
-h,-f,-a,-50) are no longer read as part of the value.
Changed
- The panel is reorganised: compact class chips with a count, Style grouped and named in plain words, Side, Value with help, and Screen size, drawn with CKEditor's own field and button styles.
- Footer links to Playground, Help and Reference appear only when the page exists and the user may open it, and open in a new tab so the edit is not lost.
- Every rule from
UtilikitRules::getRules()carries a plain-words label.
Other fixes
- HTTP 500 on every page after an update, until
drush cr(#3628961: https://www.drupal.org/node/3628961). The\Drupal::classResolver()instead o), so a container compiled before the
update no longer breaks the site. - In rules where
all: unsetcame, it erased them (size, border, radius,
background). It now comes first.
Tests
- New FunctionalJavascript
UtilikitPanecode>UtilikitCkeditorToolbarIconTest; a
guard for the hook wrappers. - Two Unit tests gained their missing group (d them), and mocks without expectations are nowstubs, so PHPUnit 12 reports no notices.
After updating
Run drush updb, then drusKEditor plugin files and hook classes are pickedup. This release adds no database updates.