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

Admin body classes? #3

Open
mrwweb opened this issue Jun 15, 2023 · 2 comments
Open

Admin body classes? #3

mrwweb opened this issue Jun 15, 2023 · 2 comments
Labels

Comments

@mrwweb
Copy link
Owner

mrwweb commented Jun 15, 2023

Can I get specific body classes onto the Site Editor, Template Parts, and Block Editor to use for custom styles?

Ex: Sidebar Template Part should be the width of a sidebar by default

@mrwweb
Copy link
Owner Author

mrwweb commented Apr 18, 2024

As of right now, I believe this is blocked upstream. See WordPress/gutenberg#17854

@mrwweb
Copy link
Owner Author

mrwweb commented May 21, 2024

:has() is a good replacement for some use-cases like when I detect if the post contains a heading block. However, it still doesn't support templates.

@mrwweb mrwweb added the blocked label May 21, 2024
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