Skip to content

preserving classes referenced in media queries #422

@joprice

Description

@joprice

I'm trying to use a media query to implement responsive mobile email layouts, so I passed preserveMediaQueries, but when using that with stripIdAndClassAttributes, classes referenced in the media query are not preserved. I'd like to remove all classes, except for those referenced in media queries. Is that possible with the current options? It not, could the classes be collected and automatically ignored or perhaps there could there be an option to retain some classes when using stripIdAndClassAttributes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions