Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Bootstrap Utilities is a module that adds Filter options for easy content creation using a Bootstrap theme in Drupal. When you use Bootstrap 4 or Bootstrap 5 in your site, this module helps you to use Bootstrap with less hassle. It comes with 4 text filters. These filters will add Bootstrap classes automatic to HTML elements, so Bootstrap styles are applied automatic.

The text filters using xPath to apply the classes. No regular expressions are used to keep high performance.

Text editor filters:

Table filter options

  • Remove width and height attributes from table cells.
  • Adds .table-striped to add zebra-striping to any table row within the <tbody>.
  • Adds .table-hover to enable a hover state on table rows within a <tbody>.
  • Adds .table-sm to make tables more compact by cutting cell padding in half.
  • Remove width and height attributes from table cells, so table behaves more responsive.

Blockquote filter

This filter will allow you to add default Bootstrap classes to a blockquote

Figure filter

This filter will allow you to add default Bootstrap classes to a figure HTML element and its caption.

Image filter

This filter will allow you to add a default Bootstrap class to each image HTML element.

Module installation

Install Drupal module as usual. Visit https://www.drupal.org/docs/extending-drupal/installing-modules for further information.

Add the desired filters via: Home » Administration » Configuration » Content authoring » Text formats and editors.

This module enrich the editor experience together with other utility and filter modules like:

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Aug 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core Release date
3.0.1 Stable Aug 19, 2024
3.0.0 Stable Aug 8, 2024
3.0.x-dev Dev Aug 8, 2024