Skip to content

Commit

Permalink
Remove one occurrence of incorrect usage of ItemGroup. (#67427)
Browse files Browse the repository at this point in the history
* Remove one occurrence of incorret usage of ItemGroup.

* Fix toggling visibility of the help text.

Co-authored-by: afercia <[email protected]>
Co-authored-by: gziolo <[email protected]>
Co-authored-by: Mamaduka <[email protected]>
Co-authored-by: SantosGuillamot <[email protected]>
  • Loading branch information
5 people authored Dec 2, 2024
1 parent 22c43ff commit e92d577
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions packages/block-editor/src/hooks/block-bindings.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,13 +300,17 @@ export const BlockBindingsPanel = ( { name: blockName, metadata } ) => {
/>
) }
</ItemGroup>
<ItemGroup>
<Text variant="muted">
{ /*
Use a div element to make the ToolsPanelHiddenInnerWrapper
toggle the visibility of this help text automatically.
*/ }
<Text as="div" variant="muted">
<p>
{ __(
'Attributes connected to custom fields or other dynamic data.'
) }
</Text>
</ItemGroup>
</p>
</Text>
</ToolsPanel>
</InspectorControls>
);
Expand Down

0 comments on commit e92d577

Please sign in to comment.