Request for a way to enable line wrapping for the Code Block macro Globally

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Macros - Other Macros
    • None
    • 1

       

      Currently, the Code Block macro in Confluence supports line wrapping only as a per‑macro option. Each macro instance requires the user to manually enable “Wrap text”, which is not efficient for pages or spaces with many code blocks.

      Current Functionality

      Steps to reproduce:

      1. Insert a Code Block macro on a Confluence page.
      2. Enter a sufficiently long line of text.
      3. Publish the page.
      4. Observe the behavior:
      • Confluence does not wrap the text by default.
      • Each Code Block macro shows a “Wrap text” toggle that must be enabled individually per macro instance.

      This means users need to manually enable wrapping for every single code block where wrapping is desired.

      Suggestion / Feature Request

      It would be very helpful to have a bulk or global option to enable line wrapping for the Code Block macro, for example:

      • A space-level or global setting that defines whether “Wrap text” should be enabled by default for all Code Block macros.

       

              Assignee:
              Unassigned
              Reporter:
              Shruthi Hebbal
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: