-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 a way to set defaults for all styles #27338
Comments
This is achievable now, the syntax is like this:
It might be good to document this |
There also seem to be two bugs with this:
|
I think I may benefit from some more context on the specifics you're working with! Is this something you do with |
Ah yes, that's what I'm doing. Sorry I hadn't seen the docs. I think the bugs I mentioned above are still relevant though. |
@scruffian I found #27341 which I believe is what prompted you to file this issue? I left a few comments there, but, essentially instead of |
Would be it fine to define this default value inside |
Closing in favour of #27796 |
If I declare support for a global style in a block I'd also like to be able to set a default value for that block. For example I could set default values for padding in the block attributes like this:
I think this is already supported by some properties but either this one doesn't work, or I'm doing it wrong!
The text was updated successfully, but these errors were encountered: