# Gutenberg Blocks with links that have target="\_blank" need rel="noopener"

**URL:** <https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972>\
**Category:** WordPress\
**Tags:** bug\
**Created:** [November 30, 2021, 9:53pm UTC](https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972 "2021-11-30T21:53:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonroc](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/jonroc/32/2805_2.png) [@jonroc](https://forum.pinegrow.com/u/jonroc)\
**Post date:** [November 30, 2021, 9:53pm UTC](https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972/1 "2021-11-30T21:53:27Z")

</div>

If you add an toggle option for target="\_blank" or have that in your `<a>` tag then you need to add rel=“noopener” in your `<a>` tag. If you don’t WP will add it automatically and then your block will get an error the next time you open your post/page because the saved block will not match the content in the post/page.

---

<div class="post-metadata">

**Author:** ![RobM](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@RobM](https://forum.pinegrow.com/u/RobM)\
**Post date:** [December 1, 2021, 11:20am UTC](https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972/2 "2021-12-01T11:20:32Z")

</div>

Hi @jonroc,  
Thanks for the heads-up. We’ll look in to how to address this.  
Cheers,  
Bob

---

<div class="post-metadata">

**Author:** ![matjaz](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/matjaz/32/5_2.png) [@matjaz](https://forum.pinegrow.com/u/matjaz)\
**Post date:** [December 3, 2021, 9:34pm UTC](https://forum.pinegrow.com/t/gutenberg-blocks-with-links-that-have-target-blank-need-rel-noopener/5972/3 "2021-12-03T21:34:17Z")

</div>

I’m not that keen on adding a magic behavior (something that happens without direct instruction by the user) to the code generated by Pinegrow. In this case, this made sense. So, Pinegrow will automatically add rel=”noopener” to block links if the rel is not set already and if target is set to \_blank.

The update is not yet released. Try it now on Pinegrow Live:

> **[Pinegrow Live update log | Pinegrow Web Editor](https://pinegrow.com/download/pinegrow-live/pinegrow-live-update-log/#6-21-1-dec-1-2021)**
>
> The exciting story of Pinegrow Live updates.
