Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-26030

Pasting code into a code block in Confluence looses existing formatting of the code

    XMLWordPrintable

Details

    Description

      We are currently running Confluence 4.0.4 so if this is fixed in a later version great, let me know.

      If I take code blocks from a text editor and paste it into a code block in confluence it looses all of the existing formatting. This is extremely frustrating when dealing with things like JSON or XML fragments which can be fairly large and require a lot of reformatting to make them presentable. When I am pasting into a code block I expect the contents to be placed into the editor without stripping existing formatting.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              5986d827282d Jarom
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: