Drupal is a registered trademark of Dries Buytaert
cms 2.1.3 Update released for Drupal core (2.1.3)! drupal 10.5.11 Update released for Drupal core (10.5.11)! drupal 11.3.11 Update released for Drupal core (11.3.11)! drupal 11.2.13 Update released for Drupal core (11.2.13)! drupal 10.6.10 Update released for Drupal core (10.6.10)! cms 2.1.2 Update released for Drupal core (2.1.2)! drupal 11.1.10 Update released for Drupal core (11.1.10)! drupal 10.5.10 Update released for Drupal core (10.5.10)! drupal 10.4.10 Update released for Drupal core (10.4.10)! drupal 11.2.12 Update released for Drupal core (11.2.12)! drupal 11.3.10 Update released for Drupal core (11.3.10)! drupal 10.6.9 Update released for Drupal core (10.6.9)! drupal 10.6.8 Update released for Drupal core (10.6.8)! drupal 11.3.9 Update released for Drupal core (11.3.9)! drupal 11.3.8 Update released for Drupal core (11.3.8)! drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)!

This module provides opinionated extensions to the diff module that can be developed at a higher velocity than the base module.

Configuration

This module takes a user-centric approach by optionally allowing for per-user customization of most configuration items. Site owners may (and are encouraged to) grant roles the permission to customize diff plus configurations. Since not everyone is identical, users should be able to optimize their own editorial experience.

Diff Layout Plugins

Presently, a couple new diff layout plugin types are available, Visual Inline (HTML5) and Raw HTML.

The Visual Inline (HTML5) Layout

This is an attempt at improving the Visual Inline layout of the Diff module. It turns off HTMLPurifier for source content and greatly expands the HTML elements that are allowed to be processed by the upstream caxy/php-htmldiff library. See https://www.drupal.org/project/diff_plus/issues/3336511 for progress on beautiful and intuitive <img>and <picture> diffs!

The Raw HTML Diff Layout

Sometimes, changes cannot be sufficiently described by any existing diff layouts.

  • The Visual layout has problems rendering certain elements such as pictures, buttons, etc...
  • Interactive elements that require javascript to function such as accordions, tabs, carousels, etc, often render...strangely.
  • Certain non-visual information added via Layout Builder Overrides may have zero visibility with any of the existing Diff layouts. For example, what about a user-configurable ID on a section?

While there may be more end-user-friendly ways of tackling these problems, the most simple and direct approach is to simply provide a diff of the rendered HTML itself.

Have a suggestion?

Feel free to open an issue. Be sure to provide your use case and an actionable plan.

Activity

Total releases
1
First release
Jun 2026
Latest release
18 hours ago
Release cadence
Stability
0% stable

Releases

Version Type Release date
1.2.x-dev Dev Jun 4, 2026