Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-74702

Syntax highlighting in the code block macro gets broken after navigating to a different page

    XMLWordPrintable

Details

    Description

      Issue Summary

      Issue can only be reproduced in the legacy editor

      When the code block macro is inserted, it gives us the ability to choose which syntax to use for highlighting. The highlighting works just fine but it disappears if you navigate away to another page, then come back to the original page containing the code block macro.

      Steps to Reproduce

      1. Insert the code block macro on a legacy editor page
      2. Select the appropriate syntax highlighting
      3. Publish the page
      4. Navigate to a different page in the page tree
      5. Come back to the same page

      Expected Results

      Code block macro is working and syntax highlighting still works

      Actual Results

      Code block macro is working but syntax highlighting disappears

      Workaround

      Convert the page to use the new editor

      Attachments

        Activity

          People

            Unassigned Unassigned
            c5522313772a Julian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: