This project is not covered by Drupal’s security advisory policy.
An input filter that adds css to the filtered text. This might be useful for theming email.
It has two options
- Enter CSS (inline) directly in your filter settings
- Link stylesheets (external) from your theme
Configuration
- enable this module
- goto admin/config/content/formats
- configure the text-format
- click checkbox "Add CSS" (enable this filter)
- under filter settings add your inline and/or external CSS.
Setup for styled email
Say you have a specific text format for your emails, this module provides you a method to add CSS to it. In this use case you would also use 'pathologic' and 'emogrifier'. Where 'pathologic' converts relative links to absolute links and emogrifier parses all css (that is just added) to inline CSS (needed for a lot of mail clients). The filter-order would be:
- Pathologic
- Add CSS
- Emogrifier
Supporting organizations:
Project information
- Project categories: Content editing experience
5 sites report using this module
- Created by ndf on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.


