We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe385a commit 4a0aeafCopy full SHA for 4a0aeaf
assets/src/js/bindings/block-editor.js
@@ -212,8 +212,7 @@ const withCustomControls = createHigherOrderComponent( ( BlockEdit ) => {
212
213
return (
214
<>
215
- <BlockEdit { ...props } />
216
- <InspectorControls>
+ <InspectorControls { ...props }>
217
<ToolsPanel
218
label={ __(
219
'Connect to a field',
@@ -298,6 +297,7 @@ const withCustomControls = createHigherOrderComponent( ( BlockEdit ) => {
298
297
) }
299
</ToolsPanel>
300
</InspectorControls>
+ <BlockEdit { ...props } />
301
</>
302
);
303
};
0 commit comments