Pages with "Cloud editor" marker generate heading anchors in legacy PageTitle-HeadingName format instead of HeadingName, breaking all heading links and redirecting users to top of page.

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Heading anchor links on pages containing the "Cloud editor" marker are generated using the legacy PageTitle-HeadingName format instead of the correct HeadingName format, causing all heading links on those pages to navigate to the top of the page instead of the intended heading.

      Steps to Reproduce

      1.  On a Confluence Cloud instance, create a page using the Legacy editor (or use an existing Legacy)
       2.  Open the page in the Fabric (Cloud) editor and make any edit
       3.  Publish/save the page — this adds the "Cloud editor" marker to the top of the page body in storage 


       4.  On the published page, hover over any heading — click the heading link icon to copy the heading link
       5.  Paste that heading link into another page and publish (note: copying and pasting the link directly does work)
       6.  Click the heading link

      Expected Results

      Observe: the browser should navigate to the intended heading

      /pages/<pageid>/Navigation#Examples

      Actual Results

      Observe: the browser navigates to the top of the page instead of the intended heading

      URL: /pages/<pageid>/Navigation#Navigation-Examples

      Workaround

      Use the Anchor macro on affected headings to create stable anchor names that bypass the heading ID generation logic entirely:

       1.  Edit the affected page
       2.  Place cursor before each heading
       3.  Insert → Anchor macro → assign a stable name (e.g., release)
       4.  Publish the page
       5.  Update all links to point to the anchor name (#release) instead of the heading URL eg: https://instance.atlassian.net/wiki/spaces/<spacekey>/pages/<pageid>/PageTitle#release

              Assignee:
              Unassigned
              Reporter:
              Pavani
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: