Details
-
Bug
-
Resolution: Unresolved
-
Low
-
2
-
Minor
-
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
- Add a page
- Add the code snippet macro
- Add at least 2 lines of code
- Publish the page
- 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)
- 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