Editor: Add layout controls to children of flex layout blocks.

Props isabel_brison, andrewserong, davidbaumwald, flixos90, mamaduka, ntsekouras, hellofromtonya.
Fixes #57584.


git-svn-id: https://develop.svn.wordpress.org/trunk@55282 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Felix Arntz
2023-02-07 17:41:11 +00:00
parent 69164aaa3a
commit 05c1b0c6c8
7 changed files with 178 additions and 21 deletions
@@ -1,5 +1,5 @@
<div class="is-layout-flow wp-block-column">
<div class="wp-block-column is-layout-flow">
<p>Column One, Paragraph One</p>
@@ -1,7 +1,7 @@
<div class="is-layout-flex wp-container-1 wp-block-columns has-3-columns">
<div class="wp-block-columns has-3-columns is-layout-flex wp-container-1">
<div class="is-layout-flow wp-block-column">
<div class="wp-block-column is-layout-flow">
<p>Column One, Paragraph One</p>
@@ -11,7 +11,7 @@
</div>
<div class="is-layout-flow wp-block-column">
<div class="wp-block-column is-layout-flow">
<p>Column Two, Paragraph One</p>
@@ -1,5 +1,5 @@
<div class="is-layout-flex wp-container-1 wp-block-columns has-3-columns">
<div class="wp-block-columns has-3-columns is-layout-flex wp-container-1">
<p class="layout-column-1">Column One, Paragraph One</p>
@@ -1,5 +1,5 @@
<figure class="is-layout-flex wp-block-gallery has-nested-images columns-default is-cropped columns-2 wp-block-gallery-1">
<figure class="wp-block-gallery has-nested-images columns-default is-cropped columns-2 wp-block-gallery-1 is-layout-flex">
<figure class="wp-block-image size-large">
<img src="https://cldup.com/uuUqE_dXzy.jpg" alt="Image gallery image" />
@@ -1,5 +1,5 @@
<figure class="is-layout-flex wp-block-gallery has-nested-images is-cropped columns-1 wp-block-gallery-1" >
<figure class="wp-block-gallery has-nested-images is-cropped columns-1 wp-block-gallery-1 is-layout-flex" >
<figure class="wp-block-image size-large">
<img src="https://cldup.com/uuUqE_dXzy.jpg" alt="Image gallery image" />