From fd2b7dd6d74dd908175b9c298b9d8d422b9a1fcc Mon Sep 17 00:00:00 2001 From: Bernie Reiter Date: Thu, 25 Jun 2020 23:55:48 +0200 Subject: [PATCH] Block Wrapper: Un-omit data-align prop --- .../block-editor/src/components/block-list/block-wrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/components/block-list/block-wrapper.js b/packages/block-editor/src/components/block-list/block-wrapper.js index aeefcfc70b6111..78d19b176a9c8b 100644 --- a/packages/block-editor/src/components/block-list/block-wrapper.js +++ b/packages/block-editor/src/components/block-list/block-wrapper.js @@ -233,7 +233,7 @@ const BlockComponent = forwardRef( // Overrideable props. aria-label={ blockLabel } role="group" - { ...omit( wrapperProps, [ 'data-align' ] ) } + { ...wrapperProps } { ...props } id={ blockElementId } ref={ wrapper }