Skip to content

Commit

Permalink
Fix link target attribute reset
Browse files Browse the repository at this point in the history
  • Loading branch information
akasunil committed Dec 2, 2024
1 parent 8730f1f commit 6a81c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/post-featured-image/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ export default function PostFeaturedImageEdit( {
<ToolsPanelItem
label={ __( 'Open in new tab' ) }
isShownByDefault
hasValue={ () => !! linkTarget }
hasValue={ () => '_self' !== linkTarget }
onDeselect={ () =>
setAttributes( {
linkTarget: '_self',
Expand Down

0 comments on commit 6a81c61

Please sign in to comment.