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

XMLWordPrintable

    • 2
    • Minor

      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

              Assignee:
              Unassigned
              Reporter:
              Rodrigo C
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: