Skip to content

Commit

Permalink
Grouping Style Inspector controls imports so that we can change their…
Browse files Browse the repository at this point in the history
… order in the UI. (#35574)

The DimensionsPanel is injected via a separate SlotFill group "dimensions" which is physically located immediately before the advanced controls in the block-inspector/index.js component.
  • Loading branch information
ramonjd committed Oct 13, 2021
1 parent cf02f3a commit ad2093f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/style.js
Expand Up @@ -264,9 +264,9 @@ export const withBlockControls = createHigherOrderComponent(
<>
{ shouldDisplayControls && (
<>
<ColorEdit { ...props } />
<TypographyPanel { ...props } />
<BorderPanel { ...props } />
<ColorEdit { ...props } />
<DimensionsPanel { ...props } />
</>
) }
Expand Down

0 comments on commit ad2093f

Please sign in to comment.