diff --git a/packages/block-editor/src/layouts/flow.js b/packages/block-editor/src/layouts/flow.js index a41ced61cb6ab8..fb0eb5ecde093f 100644 --- a/packages/block-editor/src/layouts/flow.js +++ b/packages/block-editor/src/layouts/flow.js @@ -65,6 +65,7 @@ export default { info: alignmentInfo[ alignment ], } ) ); } + const { contentSize, wideSize } = layout; const alignments = [ { name: 'left' }, @@ -72,6 +73,14 @@ export default { { name: 'right' }, ]; + if ( contentSize ) { + alignments.unshift( { name: 'full' } ); + } + + if ( wideSize ) { + alignments.unshift( { name: 'wide', info: alignmentInfo.wide } ); + } + alignments.unshift( { name: 'none', info: alignmentInfo.none } ); return alignments;