do feature detection of paste event support before simulating a paste event
|Reported by:||hallvord@…||Owned by:|
I think this code might end up confusing you when Opera one day supports 'paste' events:
I suggest adding some additional feature detection - perhaps
if ( CKEDITOR.env.opera && ! ('ClipboardEvent' in window) )
or something like that.. There is no rush, paste event is high priority but probably won't happen for Opera 12 unfortunately.