-
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
[Mobile] - Quote - Use nested blocks #39974
Conversation
Co-authored-by: Ella van Durpe <4710635+ellatrix@users.noreply.github.com> Co-authored-by: Dennis Snell <dennis.snell@automattic.com> Co-authored-by: Ari Stathopoulos <aristath@gmail.com>
66b5202
to
552ec71
Compare
Size Change: +26 B (0%) Total Size: 1.22 MB
ℹ️ View Unchanged
|
… get the first element which is the main list
…erit from the parent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for clearing that up @geriux ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @geriux Looks good 👍
c8be7aa
to
a5087b7
Compare
a5087b7
to
7c5222f
Compare
Closing in favor of #40439 |
This is a follow up of #25892
Gutenberg mobile PR
-> [Mobile] - Quote - Use nested blocks wordpress-mobile/gutenberg-mobile#4725What?
This PR adds compatibility to the new format of the Quote block on mobile.
Why?
To stay up to date with core changes and prevent invalid content or other possible issues.
How?
It changes the shared code by adding a missing text alignment needed in mobile as well as the style prop to be able to render colors.
Adds a new feature in the Paragraph block to inherit the parent's alignment if there's any set.
Within
BlockQuotation
removes some unneeded code that was used in the previous quote format. As well as setting the styles in the container. It also updates the style paddings to take into account inner blocks.Testing Instructions
Screenshots or screencast
Quote block with inner blocks
Quote block with text and background colors.
Quote block with alignment set
Quote block with another kind of inner block e.g. Image