[Block Editor - Post Template]: Fix layout styles#47221
Conversation
|
Size Change: +16 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in cb2bee4. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/3941658924
|
|
This is looking great @ntsekouras. |
t-hamano
left a comment
There was a problem hiding this comment.
LGTM! I have confirmed that it is correctly placed in the editor and matches the front-end classname 👍
andrewserong
left a comment
There was a problem hiding this comment.
Nice one, thanks for fixing this up @ntsekouras! Confirmed the issue on trunk and that this PR fixes the issue in the editor 👍
Also, kudos @tellthemachines for adding in __unstableDisableLayoutClassNames, looks like it helped make the change in this PR a simple fix 🙂


What?
Fixes: #47129
Layout classes(
is-layout-flow) should be applied only to the wrapper element(ul) and not on the selected inner blocks wrapper throughuseInnerBlocksProps. This is already [handled server side].(#41827)Related: #44600
Testing Instructions
postand the others is the same and remains the same when we select another's post inner block.ul)Before
After
Screen.Recording.2023-01-17.at.7.04.52.PM.mov