Hi, I'm looking for a list of possible ckeditor events.
In detail, I need to hook on an event
a) when the toolbar gets collapsed,
and
b) after some text was pasted in.
("paste" event doesn't work in this case, since the pasted text seems not to be available when calling getdata())
Hope someone can help.
Thanks
--Danny
In detail, I need to hook on an event
a) when the toolbar gets collapsed,
and
b) after some text was pasted in.
("paste" event doesn't work in this case, since the pasted text seems not to be available when calling getdata())
Hope someone can help.
Thanks
--Danny

Re: CKEditor event list
Re: CKEditor event list
The problem with the paste event that I have is that the newly pasted text is not available in the getdata()
function of CKeditor. What I need is pretty much an "after paste" event. Or even better an event that always raises if anything changes in the editor.
Is there something like that (similar to the checkdirty flag, but implemented as an event)?
Thanks.
--Danny
Re: CKEditor event list
editor.fire( 'paste', { 'text' : clipboardText } );_source/plugins/pastetext/plugin.js
The paste event will fire when something is pasted.
Thanks,
Zanpakutō
Re: CKEditor event list
I know the paste event, but it just get's me to text from the clipboard.
Not the one that is in the editor after pasting.
As I said, an event that is always raised on any change action in the editor would be also fine
as a solution. (checkdirty or similar).