Drupal is a registered trademark of Dries Buytaert

c5bb

317 sites No security coverage
View on drupal.org

It adds a button into pool of Ckeditor 5 - Bootstrap Buttons.
Allows to configure and manage buttons to create HTML template (as a full example):

<a class="btn btn-light-primary btn-sm" href="#" target="popup">
  <em class="fa fontawesome-icon-left fa-arrow-left"></em>
  <span class="bs-icon-left glyphicon glyphicon-pencil"></span>
  <span class="text">A Button</span>
  <span class="bs-icon-right glyphicon glyphicon-pencil"></span>
  <em class="fa fontawesome-icon-left fa-arrow-right"></em>
</a>

This is analog of https://www.drupal.org/project/ckeditor_bootstrap_buttons which works only with CKEditor 4 right now (That is why I create own module to have the same tool for CKE5).

Available selectors (button classes set) may be configured on text formatting pages individually for each text format.
/admin/config/content/formats

The settings should be provided as text using next format:

Selector1
-option-label|option-value
-option-label|option-value
-option-label|option-value

Selector2
-option-label|option-value
-option-label|option-value
-option-label|option-value

For instance, default settings define three selectors: Size, Style and Color:

Size
- Small|btn-sm
- Normal|
- Large|btn-lg
Style
- Primary|btn-primary
- Secondary|btn-secondary
Color
- Light|
- Dark|dark

Activity

Total releases
1
First release
Jul 2025
Latest release
8 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
1.0.10 Stable Jul 1, 2025