Duplicate Editor code button doesn't copy the multiline selection

smozgur

Active member
Affected version
2.2.8
I select the code in the editor and click on the code button. This pop-up is supposed to display the selected code in the textarea element, but "undefined" instead.

Note: It works if I select one line but fails if multiple lines.

1647322797443.webp
 
Top Bottom