Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to insert an external web link containing an anchor component

Peter Monks
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2018

I have an external, non-Confluence-hosted HTML5 website that includes headings that are anchor tagged, similar to the following:

<h1 id="my-heading">My Heading</h1>

I'd like to link directly to those headings, i.e. via a URL such as:

https://mysite.com/mypage.html#my-heading

however when I insert a web link with an anchor component into a Confluence page and save, the link is "dead" (not hyperlinked with an <a> tag) in the content.  Furthermore, when I go back into the editor and look at the linked content, the link is gone (moving the insertion point to the link title doesn't bring up the "Go to link" / "Edit" / "Unlink" popup, as it normally does with link content).

Is this a bug, or are external web links that contain an anchor component supposed to be inserted some other way (i.e. not using the "Insert Link" tool)?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events