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

Manually copying code from the Code snippet adds the line numbers when pasting the code

    XMLWordPrintable

Details

    Description

      Issue Summary

      Manually copying code from the Code snippet adds the line numbers when pasting the code

      This is reproducible on Data Center: N/A

      Steps to Reproduce

      1. Add a page
      2. Add the code snippet macro
      3. Add at least 2 lines of code
      4. Publish the page
      5. Select the text from the code snippet and copy it, either using the Context Menu > Copy or using the keyboard(Command + C or Control + C)
      6. Paste the code

      Expected Results

      • Only the code you selected is pasted

      Actual Results

      • The code and line numbers from the code snippet are pasted too

      Workaround

      • Use the Copy button from the code snippet

      Attachments

        Activity

          People

            Unassigned Unassigned
            d85dd54c1997 Rodrigo C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: