Open mrwweb opened 1 year ago
As of right now, I believe this is blocked upstream. See WordPress/Gutenberg#17854
: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.
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