Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
Changes CKEditor Color Button to use attributes instead of style tags for adding color to text / backgrounds.
As you can experience issues with Views / other use cases when trying to use style tags as these get stripped out.
See: https://www.drupal.org/project/colorbutton/issues/2910028 - for inspiration to create this module.
You can also read about Drupal 8 Sanitizing Output: https://www.drupal.org/docs/8/security/drupal-8-sanitizing-output
Requirements:
Installation:
- Step 1: Enable module
- Step 2: If you have added any color / background-color to text you will need to go in and change the style to "data-color" / "data-background-color"
- Note: If you do not see anything happening, clear the cache this can sometimes help
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Ecosystem: ColorButton
- 9 sites report using this module
- Created by TheWagener on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.