diff --git a/packages/block-library/src/gallery/edit.js b/packages/block-library/src/gallery/edit.js index 893167e6690f3c..c56cf1dab84e8f 100644 --- a/packages/block-library/src/gallery/edit.js +++ b/packages/block-library/src/gallery/edit.js @@ -65,6 +65,7 @@ const linkOptions = [ ]; const ALLOWED_MEDIA_TYPES = [ 'image' ]; const allowedBlocks = [ 'core/image' ]; +const LAYOUT = { type: 'default', alignments: [] }; const PLACEHOLDER_TEXT = Platform.isNative ? __( 'ADD MEDIA' ) @@ -489,7 +490,7 @@ function GalleryEdit( props ) { allowedBlocks, orientation: 'horizontal', renderAppender: false, - __experimentalLayout: { type: 'default', alignments: [] }, + __experimentalLayout: LAYOUT, } ); if ( ! hasImages ) {