Forums

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

Enable old style anchors

Ryota Hashimoto
Contributor
July 17, 2020

Hi,

All anchors made by Advanced link with the old format - page name#anchor are now dead, made them links to draft page. 

How can I resurrect them to make them effective, links to anchor inside the page? 

Thanks,

1 answer

1 accepted

0 votes
Answer accepted
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 20, 2020

Hello Ryota,

Thank you for raising this with us.

The old Anchor Macro isn't included in the new editor, which is what you were using to build anchors in your old page format. That format will only work now on pages using the legacy editor.

If you want to use anchors in the new editor, you can use page headings to do so. You can have a look at Insert Links and Anchors for information on how to do that in the table under Link formats with the heading: 

Link to a heading on a page or another page

In the meantime, please follow the below feature request to be able to add anchors anywhere on the page in the new editor, as you were able to do in the legacy editor:

I hope this helps, but do let me know if you have any questions.

Shannon

Ryota Hashimoto
Contributor
July 21, 2020

Hello Shannon, thank you for your support. 

I understand the current situation you've introduced.  Also I'vo found a workaround only effective inside a page (not effective for the link to another page), removing the page name from old style link. 

After that the advanced link target has only the anchor (eg. #theanchor ) and it seems to work well. 

Thanks,

Like Shannon S likes this
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 22, 2020

Ryota,

My apologies, I believe that may be another known behavior you're encountering, which we've seen across both the new and legacy editors:

  • CONFCLOUD-67771 Anchor links from a page placed in another one don't redirect to the anchor link

This happens when using the heading anchor links, and attempting to link to one on another page.

Can you confirm if that looks like the issue you were encountering?

Shannon

Like Ryota Hashimoto likes this
Ryota Hashimoto
Contributor
July 22, 2020

Shannon,

Thank you for introducing another issue.  In our case we don't use the heading anchor links as of now, but I can warn to our users about that. 

Thanks,

Like Shannon S likes this
jagercode
Contributor
April 29, 2022

Hi Shannon,

For my understanding, why has the url-formatting of anchors changed from ../spacekey/pagetitle#anchorname to ../spacekey/pagetitle#pagetitle-anchorname?

I did not expect this and it took a while before I figured out why it didn't work as I expected.

It would also be of great help if I could copy the url straight from the macro as I do not have a visual clue on the page where the anchors are (if any) and the ability to get the url from it.

Use case: sending urls to anchored locations in reply on support questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events