-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
Component/s: Macros - Other - 3rd Party
-
None
-
1
-
Severity 3 - Minor
Issue Summary
When the native Table of Contents (ToC) macro is placed inside the k15t Scroll Ignore macro, the ToC does not reliably list all headings on the page. Only a subset of headings appears, and the number of headings listed can change between page loads. This incomplete ToC is then used as‑is by Scroll PDF Exporter, so the issue affects both the on‑page experience and the exported PDF.
This behavior appears only when ToC is nested inside Scroll Ignore. The same headings are correctly included when ToC is placed directly on the page (outside third‑party macros).
This is similar in nature to other nested macro issues in the new editor (for example: https://jira.atlassian.com/browse/CONFCLOUD-70746 – Ability to nest third‑party macros on the new editor).
Steps to Reproduce
- In Confluence Cloud, create a page with a large amount of content and multiple headings (H1–H6).
- Insert the Scroll Ignore macro from k15t into the page.
- Inside the Scroll Ignore macro body, insert the native Table of Contents macro.
- Publish the page.
- Refresh/reload the page several times and observe the ToC.
- (Optional) Export the page using Scroll PDF Exporter and include the in‑page ToC in the export.
Expected Results
- The Table of Contents macro consistently lists all headings from the page (or from the content within its scope) every time the page is loaded.
- The same complete list of headings is available to Scroll PDF Exporter when generating a PDF.
Actual Results
- The Table of Contents macro, when nested inside Scroll Ignore, shows only a partial list of headings.
- The number and position of headings that appear in the ToC can change between page loads.
- Scroll PDF Exporter receives and exports this incomplete ToC, resulting in partial navigation in the PDF as well.
Workaround
- Move the Table of Contents macro outside the Scroll Ignore macro (for example, at the top of the page body).
- Avoid wrapping headings that must appear in the ToC with Scroll Ignore.