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

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • Ecosystem: ColorButton
  • chart icon9 sites report using this module
  • Created by TheWagener on , updated
  • shield alertThis project is not covered by the security advisory policy.
    Use at your own risk! It may have publicly disclosed vulnerabilities.

Releases