diff --git a/packages/block-editor/src/components/block-switcher/index.js b/packages/block-editor/src/components/block-switcher/index.js index e4370a8f16472b..0960dc87eaa499 100644 --- a/packages/block-editor/src/components/block-switcher/index.js +++ b/packages/block-editor/src/components/block-switcher/index.js @@ -221,6 +221,20 @@ export const BlockSwitcherDropdownMenu = ( { clientIds, blocks } ) => { { ( { onClose } ) => showDropDown && (
+ { hasPatternTransformation && ( + { + onPatternTransform( + transformedBlocks + ); + onClose(); + } } + /> + ) } { hasBlockOrBlockVariationTransforms && ( { } } /> ) } - { hasPatternTransformation && ( - { - onPatternTransform( - transformedBlocks - ); - onClose(); - } } - /> - ) } { hasBlockStyles && (