• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • 5.9.3, 6.0.0-OD-2015.48.1
    • 5.1, 5.2.5, 5.3.4, 5.5.2, 5.8, 5.7-OD-44-026

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Steps to Reproduce

      1. Create a page
      2. Add a code block to it with the theme Fade to Grey
        • Preview the page and observe that the code block is a black background with white text
      3. Add another code block, and do not set a theme on it
        • Preview again and observe that both code blocks have the default formatting

      _______________________________
      Hi,
      We've experienced recently some problems with Code Block Macro. Those problems unfortunately started to repeat.

      Those are the steps that I've done:
      1. Wrote "Logback configuration" section with code block (formatting in attachment).
      2. Save the document.
      3. Edit and add upper section with another code block (different formatting) + some No Format block (I'm not sure if it's connected, but I think it's worth mention)
      4. Save

      Now all code blocks (as you can see in attachment) have the same formatting as last code block. I'm also not 100% sure if this formatting is inherited from last code block or just randomly.

      I hope it's reproducible and can be fixed easily.

      Confluence: 5.1
      Code Macro Plugin: 2.0.19

      Let me know if you need anythnig else.

            [CONFSERVER-29390] Wrong Code Block Macro formatting

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2875884 ] New: CONFSERVER Bug Workflow v4 [ 3005166 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2803614 ] New: JAC Bug Workflow v3 [ 2875884 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2737207 ] New: JAC Bug Workflow v2 [ 2803614 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389436 ] New: JAC Bug Workflow [ 2737207 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-cloud affects-server bugfix editor editor-macros loyalty macros-code-macro New: affects-cloud affects-server editor editor-macros loyalty macros-code-macro
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-cloud affects-server bugfix editor editor-macros macros-code-macro New: affects-cloud affects-server bugfix editor editor-macros loyalty macros-code-macro
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2267293 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2389436 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2210699 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2267293 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2197254 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2210699 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1932835 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2197254 ]

              jmcarthur James McArthur (Inactive)
              e6acccb59b07 Adam Latuszek
              Affected customers:
              33 This affects my team
              Watchers:
              41 Start watching this issue

                Created:
                Updated:
                Resolved: