Open nnaydenow opened 6 months ago
I've noticed this as well folded or hidden content is included in the pasteable content when selecting all in the codemirror instance.
Perhaps there's a way to hook into CodeMirror's paste event to filter out the hidden content.
My editor has file which has following html code as source.
If I do
cmd + a
, thencmd+v
the whole page content is pasted even if only the<button>Some visible content>
is the only displayed content inside the editor.