Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Mamaduka committed Oct 17, 2023
1 parent 171f92d commit 1722100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-editor/src/hooks/custom-class-name.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ export const withInspectorControl = createHigherOrderComponent(

return (
<>
<BlockEdit { ...props } />
{ hasCustomClassName && props.isSelected && (
<CustomClassNameControls
attributes={ props.attributes }
setAttributes={ props.setAttributes }
/>
) }
<BlockEdit { ...props } />
</>
);
};
Expand Down

0 comments on commit 1722100

Please sign in to comment.