-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Global Styles: Add support for elements to individual blocks #51272
Comments
@scruffian Another use case can be found on woocommerce/woocommerce-blocks#10118, where @mikejolley was wondering if it's possible to apply Global Styles for |
Another time when this came up was trying to remove text decoration from the Site Title block - you need to do it for the link element which isn't possible in the UI. Similarly it would be very useful to be able to add text decoration to links in a Post Content block. |
@scruffian does this PR resolve this issue or am I misunderstanding the problem? |
@scruffian I still may be misunderstanding but on trunk I now see extended elements in blocks. |
@SaxonF you're right this does appear in some places, but not everywhere we'd like it - for example there is no way to change captions for all image blocks. However I think that's better dealt with in a different issue, so let's close this. |
What problem does this address?
There is currently no way to edit element styles for individual blocks using the Global Styles UI. This makes it impossible to modify even some very basic design choices - for example: #51265.
What is your proposed solution?
We should add support for elements to block controls in Global Styles to make the UI more powerful.
The text was updated successfully, but these errors were encountered: