From 6a81c61059e499e06bc0fa67e05ba2e79d14b255 Mon Sep 17 00:00:00 2001 From: akasunil Date: Mon, 2 Dec 2024 12:08:24 +0530 Subject: [PATCH] Fix link target attribute reset --- packages/block-library/src/post-featured-image/edit.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/block-library/src/post-featured-image/edit.js b/packages/block-library/src/post-featured-image/edit.js index 959f97c63141aa..05888c41fecf23 100644 --- a/packages/block-library/src/post-featured-image/edit.js +++ b/packages/block-library/src/post-featured-image/edit.js @@ -255,7 +255,7 @@ export default function PostFeaturedImageEdit( { !! linkTarget } + hasValue={ () => '_self' !== linkTarget } onDeselect={ () => setAttributes( { linkTarget: '_self',