Skip to content

Commit 4a0aeaf

Browse files
committed
Prevent sidebar from moving
1 parent 7fe385a commit 4a0aeaf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

assets/src/js/bindings/block-editor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,8 +212,7 @@ const withCustomControls = createHigherOrderComponent( ( BlockEdit ) => {
212212

213213
return (
214214
<>
215-
<BlockEdit { ...props } />
216-
<InspectorControls>
215+
<InspectorControls { ...props }>
217216
<ToolsPanel
218217
label={ __(
219218
'Connect to a field',
@@ -298,6 +297,7 @@ const withCustomControls = createHigherOrderComponent( ( BlockEdit ) => {
298297
) }
299298
</ToolsPanel>
300299
</InspectorControls>
300+
<BlockEdit { ...props } />
301301
</>
302302
);
303303
};

0 commit comments

Comments
 (0)