From c1b9bbd1984742000e86eabaa8f92a833fdbd816 Mon Sep 17 00:00:00 2001 From: ramonjd Date: Wed, 13 Oct 2021 12:43:05 +1100 Subject: [PATCH] Grouping Style Inspector controls imports so that we can change their order in the UI. 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. --- packages/block-editor/src/hooks/style.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-editor/src/hooks/style.js b/packages/block-editor/src/hooks/style.js index 50329c84f2b6c..8b0fbd6820e27 100644 --- a/packages/block-editor/src/hooks/style.js +++ b/packages/block-editor/src/hooks/style.js @@ -264,9 +264,9 @@ export const withBlockControls = createHigherOrderComponent( <> { shouldDisplayControls && ( <> + - ) }