Hi there,
I want to write a quick fix for this issue where Firefox pastes formatted text even though the editor is set to force paste as plain text. The idea is to use the plain/text clipboardData from the native JS onPaste event to force pasting plain text instead of formatted code.
However I can't seem to find out how to access the native event-object from a CKEditor event. Listening to 'paste' with a callback-function gives me an eventInfo-object as parameter. How can I access the native event from there? Is that even possible?
Thank you,
Lukas
Thu, 02/02/2012 - 11:36
#1
Re: Retrieving the native event from an eventInfo
as much as I have found out, CKEditor has its own proprietary event-system and the events passed as event-info have nothing to do with native browser events. Also, the native event is not passed along with the event-info-object and is not accessible, you'd have to listen to the native events and not use on('xyz', ...)
Re: Retrieving the native event from an eventInfo
Is there any way of
Is there any way of retrieving the native event object for the focus event? I'm interested in knowing the source of focus whether tab key or mouse click.