From 49401da8201b8769374bf686588c7556cbd953a6 Mon Sep 17 00:00:00 2001 From: Ankit Kumar Shah Date: Mon, 18 Nov 2024 09:42:14 +0530 Subject: [PATCH] Layout: show vertical alignment toolbar with allowSwitching enabled (#67022) Co-authored-by: Infinite-Null Co-authored-by: Mamaduka Co-authored-by: ntsekouras Co-authored-by: tellthemachines Co-authored-by: Mayank-Tripathi32 Co-authored-by: metropoliscreative --- packages/block-editor/src/layouts/flex.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/block-editor/src/layouts/flex.js b/packages/block-editor/src/layouts/flex.js index 8171844969565..c67ebc17a785d 100644 --- a/packages/block-editor/src/layouts/flex.js +++ b/packages/block-editor/src/layouts/flex.js @@ -94,9 +94,6 @@ export default { onChange, layoutBlockSupport, } ) { - if ( layoutBlockSupport?.allowSwitching ) { - return null; - } const { allowVerticalAlignment = true } = layoutBlockSupport; return (