Fieldtype

Developer
Supported

Expresso

ExpressionEngine 2, ExpressionEngine 3, ExpressionEngine 4

Back to this add-on's main page
View Other Add-ons From PutYourLightsOn

     

You must be logged in to post.

How to add [rel=“noreferrer noopener”] for all external links?

General

chunkit
chunkit

Hi Ben,
May you please let me know how I can configure all the external links with rel=“noreferrer noopener”?
When I tried to link, the pop-up window only offers the options of Target.
Your help is much appreciated.
Thanks,
Chris

PutYourLightsOn
# 1
Developer
PutYourLightsOn

Hi Chris, this is not possible to do within the editor. We can consider adding an add-on setting which will automatically add the rel attributes to all external links (absolute URLs to different domains). Is this something that would be helpful or would you need more control over each link?

chunkit
# 2
chunkit

I think that would be perfect. Thanks for your prompt reply.
Chris