Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comprehensive list of all class and id selectors added by Textpattern #1711

Open
philwareham opened this issue Jun 30, 2021 · 0 comments
Open
Assignees
Labels

Comments

@philwareham
Copy link
Member

philwareham commented Jun 30, 2021

Not an issue as such, just want to get some help listing out all the class and id selectors that can potentially be added to a public-facing site by Textpattern and Textile (note: not by a theme, but by the internal PHP itself). This would be very handy for setting up a PurgeCSS config safelist or for generally ensuring that site designers cater for these selectors in their CSS.

I'll start the ball rolling with the following PurgeCSS config snippet, please add any class and id selectors in replies and I'll expand the list. We can then document this somewhere when finished.

safelist: {
    deep: [
        'caps',
        'comments_error',
        'cpreview',
        'error_message',
        'footnote'
    ],
    greedy: [
        /disabled$/
    ]
}

Thanks for any help!

@philwareham philwareham self-assigned this Jun 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant