You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to catch the copy event, but no matter how I tried with Angular (ng-copy), jQuery ($('...').on('copy', ...), and plain JavaScript addEventListener, I couldn't catch copy events in IE and Edge. Does anyone in which way IE and Edge handle copy event differently than other browsers?
ps. paste seems to work, though
The text was updated successfully, but these errors were encountered:
That's strange, because I did it both in my Windows 10 PC and in my Mac running Windows 10 inside VirtualBox.
If I add a button that calls a function that calls document.executeCommand('copy'), the event fires, but with ctrl+c it does not fire. Do you have the most recent version of IE11 and Edge? Do you get the popup window requesting permission to access clipboard? There might be some recent changes in the way MS browsers handle copy event.
In windows 7 + ie 11 does not copy. Windows 10 and edge does. ( i should double check again ).
I fighted with it a bit, it looks like the hiddenTextarea does not receive the copy event.
Reproduce: try to copy text with IE and Edge from an IText textarea on http://fabricjs.com/test/misc/itext.html
I tried to catch the copy event, but no matter how I tried with Angular (ng-copy), jQuery ($('...').on('copy', ...), and plain JavaScript addEventListener, I couldn't catch copy events in IE and Edge. Does anyone in which way IE and Edge handle copy event differently than other browsers?
ps. paste seems to work, though
The text was updated successfully, but these errors were encountered: