diff --git a/packages/block-library/src/navigation-submenu/edit.js b/packages/block-library/src/navigation-submenu/edit.js index acc9510d0d3d30..261b2ad8502fb8 100644 --- a/packages/block-library/src/navigation-submenu/edit.js +++ b/packages/block-library/src/navigation-submenu/edit.js @@ -474,6 +474,11 @@ export default function NavigationSubmenuEdit( { } } } /> + { description && ( + + { description } + + ) } { ! openSubmenusOnClick && isLinkOpen && ( '; diff --git a/packages/block-library/src/navigation/README.md b/packages/block-library/src/navigation/README.md index b59c4b40d85e73..cbd52a8f21f0ed 100644 --- a/packages/block-library/src/navigation/README.md +++ b/packages/block-library/src/navigation/README.md @@ -10,4 +10,5 @@ The structural CSS for the navigation block targets generic classnames across me - `.wp-block-navigation-item` is applied to every menu item. - `.wp-block-navigation-item__content` is applied to the link inside a menu item. - `.wp-block-navigation-item__label` is applied to the innermost container around the menu item text label. +- `.wp-block-navigation-item__description` is applied to the innermost container around the menu item description. - `.wp-block-navigation__submenu-icon` is applied to the submenu indicator (chevron).