diff --git a/src/handlers/Clipboard.js b/src/handlers/Clipboard.js index 73dcf38a1c..bfd3340911 100644 --- a/src/handlers/Clipboard.js +++ b/src/handlers/Clipboard.js @@ -39,6 +39,7 @@ function copyHandler (ev) { var copiedText = window.getSelection().toString(), text = prepareTextForClipboard(copiedText); + ev.clipboardData.setData('text/plain', text); ev.preventDefault(); // Prevent or the original text will be copied. }