I successfully added new Components to the wp.blockEditor.InspectorControls with the editor.BlockEdit filter with wp.compose.createHigherOrderComponent which returns the extended Component like this:

    <BlockEdit { ...props } />

How could i extend this code to place MyComponent in the new Styles Tab in InspectorControls?

enter image description here

1 Answer 1


I was also looking for this answer and found it here: https://make.wordpress.org/core/2023/03/07/introduction-of-block-inspector-tabs/

Basically you just have to add this: group="styles"

<wp.blockEditor.InspectorControls group="styles">

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.