How do I get a link to open in a new tab?

Natasha Steedman August 2, 2019

Hello

I have added a link that opens an external webpage (not a confluence page).

How do I get the link to open in a new tab vs the same tab?

Thanks

2 answers

1 accepted

1 vote
Answer accepted
DPKJ
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 2, 2019

You can use HTML Macro for that currently this is only solution as Atlassian guys closed this issue as won't fix.

<a href="https://www.google.com" target="_blank">Google</a>

Here adding value of 'target' as '_blank' will open new tab/window.

Forgot to add if you are site admin and want this behavior for all external links read this page https://confluence.atlassian.com/confkb/how-to-force-links-to-open-in-a-new-window-213518072.html

1 vote
hannesmas October 4, 2019

As a confluence user, I appear to not have access to the HTML Macro.

However, there is also the option of using the 'Button Hyperlink' macro. This macro provides an option to open the hyperlink in a new window. Using button style 'subtle' renders a button which more or less has the look of a regular link. But it's still a button after all. As many others, I don't understand why this functionality can't be provided for a regular link.

David at David Simpson Apps
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
March 6, 2020

For security reasons Confluence Cloud does not have the HTML macro enabled.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events