diff --git a/packages/block-library/src/navigation-link/edit.js b/packages/block-library/src/navigation-link/edit.js index 8383c561ee2b76..96d89398914b49 100644 --- a/packages/block-library/src/navigation-link/edit.js +++ b/packages/block-library/src/navigation-link/edit.js @@ -171,11 +171,13 @@ function NavigationLinkEdit( { title: newTitle = '', url: newURL = '', opensInNewTab: newOpensInNewTab, + id, } = {} ) => setAttributes( { title: escape( newTitle ), url: newURL, label: label || escape( newTitle ), opensInNewTab: newOpensInNewTab, + id, } ) } onClose={ () => setIsLinkOpen( false ) } />