This module adds a button to CKEditor 5 that allows users to easily create and configure Bootstrap-styled buttons. You can customize button classes, text, and even add icons directly within the editor. The available button options are configurable per text format.
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
Ask your assistant about Bootstrap Buttons (for CKeditor5)
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
- ckeditor5 Drupal core
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.11 | Stable | 10–11 | Apr 11, 2026 | ||
| 1.0.10 | Stable | 10–11 | Jul 1, 2025 | ||
| 1.0.9 | Stable | 10–11 | Oct 5, 2024 | ||
| 1.0.8 | Stable | 10–11 | Jul 7, 2024 | ||
| 1.0.7 | Stable | 10–11 | Apr 26, 2024 | ||
| 1.0.6 | Stable | 10–11 | Mar 20, 2024 | ||
| 1.0.5 | Stable | 10–11 | Mar 18, 2024 | ||
| 1.0.3 | Stable | 10–11 | Mar 18, 2024 | ||
| 1.0.2 | Stable | 10–11 | Mar 18, 2024 | ||
| 1.0.1 | Stable | 10 | Feb 20, 2024 |