-
Type:
Bug
-
Resolution: Timed out
-
Priority:
Low
-
None
-
Affects Version/s: 5.5, 5.7.1
-
Component/s: Editor - Page / Comment Editor
-
Environment:
Browser: IE11 (Note: Issue isn't replicable in Google Chrome 41.0.2272.89 and Mozilla Firefox 37.0.1)
Text Editor: Notepad++, Notepad
-
1
-
Severity 3 - Minor
When multiple lines of codes from Code Block Macro are copied and pasted into a text editor, additional line breaks are added.
Steps To reproduce
- Create a new page.
- Add Code Block Macro with a few lines of codes, e.g.:
public static void main(String[] args) { System.out.println("Hello World!"); } - Save the page.
- Highlight the code and press Ctrl+C to copy code selection to clipboard.
- Press Ctrl+V to paste the clipboard contents into the Text Editor.
Observed Behaviours are attached to this ticket.
Workaround
- Double click on the Code Block Macro to highlight the codes
Upon double-clicking the code block macro, the code formatting will be disordered. Observed behaviour can be found in CONF-37203. - Press Ctrl+C to copy code selection to clipboard.
- Press Ctrl+V to paste the clipboard contents into the Text Editor.
Besides that, user can opt to another browsers as a workaround, as this issue only occurs in IE.
- has a regression in
-
CONFSERVER-54320 Pasting Codes from Code Block Macro into a Text Editor Creates Additional Lines
-
- Closed
-
- relates to
-
CONFSERVER-37203 Disordered Formatting of Code Block Macro
-
- Closed
-