Forums

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

Table of contents macro links not working in view mode. But works in edit mode

Jaganathan.P
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!
November 11, 2024

This below confluence page table of contents macro links not working in view mode. During edit mode the navigation works. 

Tired multiple approaches like , changing the heading format and other but it does not help.

Please help on this . This affects our business. 

 

1 answer

1 accepted

1 vote
Answer accepted
Kristian Klima
Community Champion
November 12, 2024

Hi @Jaganathan.P and welcome to the Community.

A side note first - this is the public forum, so whatever you post can be seen by anyone on the internet. And while your link requires login, it's not something I'd necessarily share :) 

Advice here is to share screenshots with sensitive bits blurred/covered.

Now, to the actual issue. I could not replicate the behavior - and I've chosen a page with all sorts of macros and 3rd party plugins to test it.

So I'd investigate the following:

  • Does this affect any page with a TOC macro?
  • Does this happen in any browser?
  • Does it happen when you open Confluence in the browser's Private mode and log in?
  • Does it happen when you disable browser extensions / plug-ins? 
  • Clearing the cache might help too.
Barbara Szczesniak
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 12, 2024

One additional thought, have you published the page?

Do you see the links in View mode, but they just don't work or are they not visible on the page?

Generally, only published content shows in View mode.

Like Kristian Klima likes this
Kristian Klima
Community Champion
November 12, 2024

Good point @Barbara Szczesniak :) 

Kristian Klima
Community Champion
November 13, 2024

Actually, @Jaganathan.P , I was able to replicate the issue - by placing a heading inside a macro.

Just wanted to share the info as it might put you on the solution path.

Like # people like this
Jaganathan.P
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!
November 13, 2024

Thanks for your response @Kristian Klima . 
Yes, All the heading contents were under "Numbered Headings" Macro. After removing the Numbered heading macro, the issue is fixed. 

Like # people like this
Laura Blom
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 25, 2025

I'm having the same problem. My ToC links aren't working unless I'm in Edit mode.
I use Headings in my page, but I don't know what the "Numbered Headings" macro is. Of course my headings are h tags, otherwise, they wouldn't show up in the Table of Contents. 

- Yes, this is happening in other pages with ToC. 
- This is happening in Chrome and Firefox. 
- It happens in Incognito mode on fresh cookies.

I had emojis in my headers, so I removed them, but that didn't make a difference.

I've been using Confluence forever and this is a new problem. It looks like a new bug was introduced when I enabled the new navigation a week or so ago.

Like # people like this
Lasse Kaiser
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!
May 1, 2025

Having the same problem and being inspired by Laura Blom's post, I turned off the "New navigation" feature for myself and now it works as expected, so it definitely has to do with this beta feature.

Then I turned on "New navigation" again and refreshed the page, expecting the link to become inactive, but it still worked. Good news - especially if it also works tomorrow ;-). 

 

Rick Westbrock
Contributor
May 2, 2025

I am having the same problem for a couple of weeks now but had forgotten that I had only enabled New Navigation for myself. Disabling then re-enabling that fixed the problem for me too so kudos to @Laura Blom for mentioning that.

Like Omar Khan likes this

Suggest an answer

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

Atlassian Community Events