Opened 12 years ago

Last modified 12 years ago

#8418 confirmed Bug

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

Reported by: Hallvord R. M. Steen (Opera Software) Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc: Frederico Caldeira Knabben

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 (1)

comment:1 Changed 12 years ago by Jakub Ś

Status: newconfirmed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy