Skip to content

Commit

Permalink
Stabilise grid layout visualiser and resizer.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed May 14, 2024
1 parent 70576a7 commit 20dcc5a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
4 changes: 0 additions & 4 deletions packages/block-editor/src/hooks/layout-child.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,6 @@ function ChildLayoutControlsPure( { clientId, style, setAttributes } ) {
return null;
}

if ( ! window.__experimentalEnableGridInteractivity ) {
return null;
}

return (
<>
<GridVisualizer
Expand Down
3 changes: 0 additions & 3 deletions packages/block-editor/src/layouts/grid.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,6 @@ export default {
);
},
toolBarControls: function GridLayoutToolbarControls( { clientId } ) {
if ( ! window.__experimentalEnableGridInteractivity ) {
return null;
}
return <GridVisualizer clientId={ clientId } />;
},
getLayoutStyle: function getLayoutStyle( {
Expand Down

0 comments on commit 20dcc5a

Please sign in to comment.