cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How prevent Work Zone opening external links in a new tab

Robotperson
Explorer
0 Kudos
72

Work Zone always opens external links in a new tab. I don't want this, I want to keep users in one tab and preserve the unitary browsing experience, where the back button continues to behave as expected. 

How can I prevent external links opening in a new tab?

View Entire Topic
Robotperson
Explorer
0 Kudos

I worked this one out myself with a bit of old html.

When you've made a link in a text widget, view the source of the text widget:

Robotperson_4-1747310517163.png

 

Then edit the source by adding this inside the <a> tag:
target="_self"

The source should look like this:

Robotperson_3-1747310499539.png

Publish, and you're done. The external link will now open in the same browser tab and your history will be preserved