Ticket #8418 (confirmed Bug)

Opened 3 years ago

Last modified 3 years ago

do feature detection of paste event support before simulating a paste event

Reported by: hallvord@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: fredck

Description

I think this code might end up confusing you when Opera one day supports 'paste' events:

http://dev.ckeditor.com/browser/CKEditor/trunk/_source/plugins/clipboard/plugin.js#L141

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.

Change History

comment:1 Changed 3 years ago by j.swiderski

  • Status changed from new to confirmed

Leaving this as a bug as in future when Opera introduces this event this issue might become a bug.

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy