diff --git a/packages/block-library/src/home-link/edit.js b/packages/block-library/src/home-link/edit.js index 464ccf18d144eb..b5a80e4e05279f 100644 --- a/packages/block-library/src/home-link/edit.js +++ b/packages/block-library/src/home-link/edit.js @@ -34,7 +34,7 @@ export default function HomeEdit( { const { textColor, backgroundColor, style } = context; const blockProps = useBlockProps( { - className: classnames( { + className: classnames( 'wp-block-navigation-item', { 'has-text-color': !! textColor || !! style?.color?.text, [ `has-${ textColor }-color` ]: !! textColor, 'has-background': !! backgroundColor || !! style?.color?.background, @@ -58,7 +58,7 @@ export default function HomeEdit( { <>