Is there a way to maintain the styling and formatting of javascript
code when copying from CodeMirror? Whenever I try to copy and paste from the CodeMirror editor, the coloring and style are lost, with the content pasted as text/plain
. How can I preserve the text formatting and style from the editor?