How to set a URL from knowledge article to open in a new window/new tab

soumya19
Tera Contributor

Hi,

I have a requirement that, when we view a knowledge article and if i have a URL in that, when i click on that URL it should open in new tab.

 

I have changed the default value in UI Page "html_insert_link_dialog" to "New window (_blank)", but it is working when we manually open the insert/modify link in knowledge article body and select Ok

 

soumya19_1-1671456891670.png

 

But it should open the url automatically without doing it maually. Can anyone a solution for this? 

 

4 REPLIES 4

Community Alums
Not applicable

Hi @Community Alums 

 

For example:

I have a added one URL in knowledge article body like below

soumya19_0-1671458575940.png

 

when we view the article and click on url it is opening in same tab instead it should open in new tab.

soumya19_1-1671458676996.png

If i click on insert/modify link and select target as New window (_blank) and click on okay then the URL is opening in new tab. 

soumya19_2-1671458862041.png

 

But we can not do it manually for all the URL's in each knowledge articles. Is there any way that if we add any url in article it should automatically redirect to new tab ?

 

Community Alums
Not applicable

Hi @soumya19 ,

There is no OOTB way to do it, it needs customization.

 

What customization is required ? How can we do that ?