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

Copying and pasting content into Code Block Macro is not working in IE11

    XMLWordPrintable

Details

    Description

      If you add a code block macro on a page and try to paste content from another area (like notepad) the content will be pasted under the code block instead of inside it.

      Steps to Reproduce:

      1. Start a confluence 5.6.5.
      2. Access confluence from IE11.
      3. Create a page.
      4. Add a code block.

        Note that the cursor is inside the codeblock.
      5. Now go to notepad and copy some content (using CTRL+C for instance).
        GIT stuff:
        add
        commit
        checkout
        
      6. Go to your confluence page and paste the content (CTRL+V).
      7. The content will be pasted under the code block.

      Workaround:

      Just add a character into the macro before pasting the content:

      Then paste the content:

      Attachments

        1. img4.PNG
          81 kB
          Deividi Luvison
        2. img3.PNG
          65 kB
          Deividi Luvison
        3. img2.PNG
          84 kB
          Deividi Luvison
        4. img1.PNG
          65 kB
          Deividi Luvison

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dluvison Deividi Luvison (Inactive)
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: