Skip to content

Commit

Permalink
Layout: show vertical alignment toolbar with allowSwitching enabled (W…
Browse files Browse the repository at this point in the history
…ordPress#67022)

Co-authored-by: Infinite-Null <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: ntsekouras <[email protected]>
Co-authored-by: tellthemachines <[email protected]>
Co-authored-by: Mayank-Tripathi32 <[email protected]>
Co-authored-by: metropoliscreative <[email protected]>
  • Loading branch information
7 people authored Nov 18, 2024
1 parent 865a058 commit 49401da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/block-editor/src/layouts/flex.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ export default {
onChange,
layoutBlockSupport,
} ) {
if ( layoutBlockSupport?.allowSwitching ) {
return null;
}
const { allowVerticalAlignment = true } = layoutBlockSupport;
return (
<BlockControls group="block" __experimentalShareWithChildBlocks>
Expand Down

0 comments on commit 49401da

Please sign in to comment.