Anchors don't work the same way in the new editor - the Anchor macro no longer functions, you can only link to a header within a page - to do this..
In view mode, hover over a header and a link icon will appear to the left-hand side - copy it from here. Then you can use it to link from one part of the page to another. You can also link to other pages, issues in Jira, etc.
To see what macros are no longer available in the new editor, see this page
So if I have some content on a page (e.g. a "latest version" section) which might be superseded by future updates, but I want existing pages to keep working, how do I do that?
Currently I put a "latestversion" anchor next to the header describing the latest version. All other pages just need to link to that anchor.
The header-specific anchor will (obviously) change as new version headers are added.
So in the end, is there a way to link to a specific place in a different page or even the same page without using an anchor or not?
The solution that was given by you doesn't work. I gave a place in my document a certain heading but I still can't link to it and don't get any option to do so.
If this doesn't work I have to say this is one of the most basic functionalities I'd expect and it is available in Onenote, Evernote, Word, Google Docs, etc...
Please create a macro that allows users to create custom links to anywhere.
@Stephen Wright _Elabor8_ I wouldn't call this easy to do. It requires you have to TWO tabs open, and hopefully the user has TWO screens, or else it requires the user to swap between tabs. In my case I just want to link from one section of the document to a headline within the same document. So I need to open one tab with the document in view mode, and one tab with the same document in edit mode. If it only was possible to get hold of the link in edit mode, this would have been a lot more simplified.
I have a document with a table of content widget, but this is not avaiable in edit mode, and it's not easy to guess what the anchor name is.
Anchoring should be available to any specific piece on the document.
For requirement writing, it would be much easier for users to be able to click on a specific requirement number that they're looking for versus having to scroll through tons of requirements to find the use case they want to see.
Also agree that this isn't an "easy" solution as it truly requires you to go back and forth between two tabs, when you have a ton of headers it isn't ideal. It should also be documented somewhere more visible as most things that appear in help docs are related to the macro that only exists in the old editor... took me quite a while to get to this answer and it's definitely frustrating.
Can you describe your issue in more detail, if it remains?
You should be able to link to a header as described, although there are some limitations when the header is inside a table, a panel, etc. See CONFCLOUD-69198 for more information!
There are improvements being made to the anchors, such as through CONFCLOUD-69198 (see above).
You could also vote/comment on this suggestion which is more specific to your needs - CONFCLOUD-68447
Hi @Lucas Saba
There are a few other options also:
In all instances, I believe the legacy editor remains available also - see this answer here - as a further alternative, whilst the existing functionality is enhanced :)
This is an incredibly frustrating solution for an incredibly frustrating new editor. I am linking from our user website where they type in a request for a specific resource and the link leads them to our Knowledge Base Atlassian page. We want to anchor the link to a specific area of the page and I am unable to see the hierarchy of the original page, which was not created by me, to determine if I have to turn each box into a header. This is incredibly time consuming, frustrating and I'd really like to go back to the old editor where I can just have an anchor. Clearly there must be an easier solution? I also do NOT see any link add options when I hover over a header.
There's nothing stopping you from continuing to use the legacy editor if you prefer. This article confirms that the legacy editor is still available.
It's possible to create a legacy page as one of the templates when creating a new page. If it's not there, you can try reaching out to Atlassian Support to see if they can activate it for you.
When you mention hierarchy of the original page, what are you referring to? Was this page converted from the legacy editor to the new experience? Let me know some more specifics around what steps there are here and I'll see if I can help :)
Totally agree with kgrossman, that just doesn't make sense. google docs should not be better than confluence, and yet here we are. I know i'm being incredibly salty right now, but it took me an HOUR to find the answer to this question, and the purpose of this platform is to make cataloging and recording information easier. It's hilarious that it's this hard to find a simple--though incredibly frustrating and inconvenient--answer.
I am trying to create a simple link from the bottom of a page to the top using a predefined anchor like #top or something as the link.
The closest I have got to making this work is entering the entire hyperlink of the current page (which of course we are already on anyway) and then adding the #anchor of the first heading on the page, but this is not the top of the page.
Is there a Secret Squirrel hyperlink that I can add to some text that just goes straight to the top of the current page?
Not that I know of - Confluence Cloud now just has anchors within the titles rather than from any point on the page.
If linking to the page itself (rather than an anchored title) isn't sufficient - have you considered:
^ It's a work-around and does mean your main text sits slightly below the top, but it will allow you to have the anchor without a visible extra title :)
Thank you for pointing in the right direction. I did it slightly differently in the end but used your idea.
My page has a landing page and then about 20 sub pages (chapters) and the first line on every chapter page is a hyperlink back to the landing page, so I simply made this line Heading 5 instead of normal text, and then I limited the table of contents on each chapter page to only levels 1-4.
That’s right! Grandma’s back at it again, and this time she’s brought all her friends. In honor of Team '21, this Bingo round is dedicated to all things team-related, and the prizes are no exception....
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events