I've got a page with several Expand macros on it.
Below these on the page (and not within the Expand macro) are sets of data that contain links to headings within the Expand macro. The headings have the Anchor macro.
If you click on the link that goes to one of the headings within the Expand macro, and it is NOT already expanded, then the link doesn't work.
If you expand the area you want to jump to first, then click on the link, you jump to the appropriate heading.
I hope that makes sense.
Is this expected behaviour or a bug?
I'm running Confluence Server, 5.4.1.
This is a known issue:
Thanks so much, Stephen. Your code works beautifully! I have one minor niggle though for which I haven't been able to figure out a workaround...
To make your expand trick work for a given targeted text block in an Expand macro, the Anchor macro for that targeted text must be embedded within (not before) the Expand macro in which the text block is contained. So far, so good, yes?
However, because the Anchor macro is embedded in the Expand macro, when a user follows a link to the targeted page, the page is opened and the viewport is scrolled to the expanded content, just past the Expand macro's title string. So, the user sees the expanded content, but does not see the title string for that content, which can be disorienting.
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs