Filter Settings
Filter Processing Order

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

  1. Enter CSS (inline) directly in your filter settings
  2. 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:

  1. Pathologic
  2. Add CSS
  3. Emogrifier
Supporting organizations: 

Project information

Releases