Open external links in modern sharepoint sites and hub site navigation in a new tab

Occasional Contributor

Hello, we have several external links on modern sharepoint pages and in our hub site navigation. Do you know any way to make it possible to open these links in a new tab (especially for ext. links in hub site navigation and quicklinks web part)?


Automatically opens ext. links in the same tab:

-hub site navigation
-quicklinks web part
Automatically opens ext. links in a new tab:

-Hero web part
-communication site navigation

Appreciate your help!

2 Replies

Hub site root links open in new tab (renderd as a-Element with target="_blank", Level 1 and 2 not (rendered as span in a div in an a-Element without target attribute). Maybe write our own SPFx Application Customizers and add target="_blank" to menu. Or user voice for a better link editor for the hub site links.

so deploy aplication customizer to each site collection from hub?
also if new site is added to hub we need to remember to enable application customizer?