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

Copy-Paste doesn't work properly for code blocks

    XMLWordPrintable

Details

    Description

      Confluence looses indentation on copy-paste between code blocks.
      Steps to reproduce:

      1. Create a new document, create two code blocks. Insert indentated text in both of them:
        indentation
          works
            initially
      2. Double click in the first code block -> Confluence selects the entire contents of the block.
      3. Press Ctrl+C
      4. Double click in the second code block -> Confluence selects the entire contents of the block.
      5. Press Ctrl+V

      Expected result: the two code blocks are now indentical
      Actual result: the second code block has the same text, but all of the indentation has been lost (and the font is different as well)

      Confluence version: 4.1.9
      Browser: Firefox 20
      OS: Ubuntu 12.04

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              0177cdc22d93 Aleksey Vorona
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: