From 61519ec20e63c8ced8c97fb27a144987360f8d50 Mon Sep 17 00:00:00 2001 From: Kerry Liu Date: Mon, 27 Sep 2021 09:35:50 -0700 Subject: [PATCH] Navigation Link: to help create better placeholders only unlink id and url --- packages/block-library/src/navigation-link/edit.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/block-library/src/navigation-link/edit.js b/packages/block-library/src/navigation-link/edit.js index fc0c5ec452317..b833b5b68c5d6 100644 --- a/packages/block-library/src/navigation-link/edit.js +++ b/packages/block-library/src/navigation-link/edit.js @@ -441,13 +441,10 @@ export default function NavigationLinkEdit( { * Removes the current link if set. */ function removeLink() { - // Reset all attributes that comprise the link. + // Reset the specific url and id setAttributes( { url: '', - label: '', id: '', - kind: '', - type: '', } ); // Close the link editing UI.