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

Pasting code into the code macro adds unwanted newlines.

    XMLWordPrintable

Details

    Description

      When I copy code into the code macro, there are newlines added for every line of code. I then I have to delete every other line in order to make it look right.

      If I copy code from Word, I get THREE newlines added for every line of code. This is ridiculous.

      If I paste in code into the regular Confluence editor without the use of a macro, it treats every line as a paragraph, adding unwanted space between lines; these have to be replaced with shift-enter by hand. Even if you select "preformatted", the pasted lines are reformated as paragraphs.

      Why is there not a simple way to paste in code into Confluence?

      This is occurring in the hosted Confluence.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              e9025d0176b4 Sean Coates
              Votes:
              20 Vote for this issue
              Watchers:
              27 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: