Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

CKEditor Standalone Styles

Security covered Maintenance fixes only 54 sites

Part of the Ckeditor ecosystem · 110 projects

This module provides a more flexible way to manage styles available in the CKEditor "Styles" dropdown. Site builders can add, edit, and delete styles through configuration entities, and themes can provide their own default styles. It also automatically adds the CSS classes defined for your styles to the allowed HTML filter, which Drupal core does not do.

This module allows specifying what styles are available in the CKEditor "Styles" dropdown selection using configuration entities. Site builders can add, edit, and delete individual styles. Because each style is a config entity, themes can provide their own default styles as well.

While Drupal core already provides an interface for managing these styles, it's embedded in the CKEditor configuration form. Using this module allows you users to manage the styles separately from the entire CKEditor and text format configuration.

This module also does something that core doesn't: It will dynamically add the specific CSS classes you define for your styles to the allowed HTML filter.

Usage

  1. Enable the module
  2. Edit one of your formats that uses CKEditor and make sure the "Styles" button is added to the toolbar
  3. Configure styles available via /admin/config/content/ckeditor-standalone-styles

Note that any styles you define from the main editor configuration page will be ignored.

Version Info

The 2.0.x version of this module is compatible with Drupal 9 and 10. For Drupal 10, it requires using the contrib CKEditor 4 module. It does not yet work with the CKEditor 5 module provided by Drupal 10 core.

Drupal 9–10 · not 11

Ask your assistant about CKEditor Standalone Styles

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

  • ckeditor Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Aug 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.1.0-beta3 Pre-release 10–11 Sep 4, 2025
2.1.0-beta2 Pre-release 9–10 Nov 16, 2023
2.1.0-beta1 Pre-release 9–10 Nov 6, 2023
2.0.0 Stable 9–10 Aug 4, 2023