-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Accordion Header: Skip serialization correctly #71804
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
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: -91 B (0%) Total Size: 1.95 MB
ℹ️ View Unchanged
|
Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: Mamaduka <mamaduka@git.wordpress.org>
Related to #71732
What? Why?
The Accordion Header Block applies some block support styles to the
buttoninside the block. While this approach is correct, it is somewhat verbose to implement and prone to breaking in the future when new block support is added.Additionally, the current implementation does not take into account the inline styles generated by the typography support, so custom font sizes, text decorations, etc. will not work.
How?
__experimentalSkipSerializationto the spacing supportTesting Instructions
All blocks supports should work.