Drupal is a registered trademark of Dries Buytaert

gutenberg_extra

1 sites No security coverage
View on drupal.org

This module adds filters to modify the output of Gutenberg blocks.

3 filters are available in In Text formats and editors > Gutenberg Blocks text format (/admin/config/content/formats/manage/gutenberg)

Guttenberg block group

Removes the div.wp-block-group__inner-container wrapper.

Guttenberg block gallery

Replaces the figure.wp-block-gallery wrapper by a div tag
and with 3 classes available

  • the class "swiperjs-player", the structure is prepared for the Swiper.js library.
  • the class "remove-figure", the tag around images is removed in the output.
  • the class "switch-figure-to-div", the figure tag around images is replaced by a div tag.

Guttenberg block image

Two methods are available:

For specific image blocks

Add the class "img-only" to the image block: the wrapper is removed in the output.

For all image blocks

In Text formats and editors > Gutenberg Blocks text format (/admin/config/content/formats/manage/gutenberg),
check the option "Remove all figure around img" in the filter configuration.

Activity

Total releases
2
First release
Jan 2026
Latest release
1 month ago
Release cadence
0 days
Stability
50% stable

Releases

Version Type Release date
1.0.1 Stable Jan 26, 2026
1.x-dev Dev Jan 26, 2026