From 3b6f814fb8ff6c92a34eba33e24809c1915315eb Mon Sep 17 00:00:00 2001 From: Ben Dwyer Date: Wed, 16 Nov 2022 17:53:41 +0000 Subject: [PATCH] Navigation: Add link URL to the navigation submenu inspector controls (#45816) --- packages/block-library/src/navigation-submenu/edit.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/block-library/src/navigation-submenu/edit.js b/packages/block-library/src/navigation-submenu/edit.js index 0f91313289d0b2..092e0b7549ff12 100644 --- a/packages/block-library/src/navigation-submenu/edit.js +++ b/packages/block-library/src/navigation-submenu/edit.js @@ -570,6 +570,14 @@ export default function NavigationSubmenuEdit( { + { + setAttributes( { url: urlValue } ); + } } + label={ __( 'URL' ) } + autoComplete="off" + /> {