diff --git a/packages/block-library/src/latest-posts/edit.js b/packages/block-library/src/latest-posts/edit.js index 32d41040f256b9..5924a18af9e587 100644 --- a/packages/block-library/src/latest-posts/edit.js +++ b/packages/block-library/src/latest-posts/edit.js @@ -466,7 +466,11 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { .join( ' ' ) } { /* translators: excerpt truncation character, default … */ } { __( ' … ' ) } - + event.preventDefault() } + rel="noopener noreferrer" + > { __( 'Read more' ) } @@ -482,6 +486,9 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { + event.preventDefault() + } rel="noreferrer noopener" > { featuredImage } @@ -493,6 +500,7 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { ) } event.preventDefault() } rel="noreferrer noopener" dangerouslySetInnerHTML={ !! titleTrimmed