Styles Combo Plus is a Drupal CKEditor plugin that can be used to replace the existing StylesCombo drop down selector.
PURPOSE
At the moment, the StylesCombo in Drupal CKEditor does not allow for applying CSS classes to images. More on the issue can be found here: https://www.drupal.org/project/drupal/issues/2642808
If you need this feature (a selector to apply classes to images), you can install this module and use it without any other changes to CKEditor or Drupal.
Styles Combo Plus uses a modified CKEditor StylesCombo Javascript plugin and has a nearly identical configuration to the one in CKEditor.
Note: I've recently discovered that if you enable the filter to "Limit allowed HTML tags and correct faulty HTML", the Styles Combo Plus drop down will not work. This appears to be a problem within the CKEditor and to date I have not found a work around. More can be found at this issue in the queue: https://www.drupal.org/project/stylescomboplus/issues/3172250
NOTICE
I had intended this module to be a temporary workaround for the issue mentioned in the introduction however that issue is dependant upon an issue with the CKEditor and may not be fixed any time soon so I have released version 1.0.0 of the CKEditor Styles Combo Plus module.
Please use the issue queue to keep me apprised of any issues.
Project information
- Project categories: Content editing experience, Media, Integrations
70 sites report using this module
- Created by awasson on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.


