I'm trying to create an ExtJS extension but I'm missing two important events in CKEditor.
- render: I often get an error that the editor or a function doesn't exist yet right after creating a CKEditor instance. An 'onready' or 'render' event could solve a lot of these situations. Alternatively the possibility to define a callback function when initiating the editor. Is this already possible?
- change: I don't know if this is possible, but a change event which is fired when the content is changed would be very useful. I'm currently using a task in ExtJS that calls the checkDirty() function regularly. But, obviously, this isn't a very good solution.
I also would like to create CK events on my own. Something like
event = new CKEDITOR.event(DOMevent);
The result should be the same as the event object that gets passed to listener functions. Currently you get only an object with some functions. The objects mentioned in CKEDITOR.eventInfo (sender, data, etc) in the docs are almost all missing.
One has to figure out a lot on his own. I find the api documentation lacking a lot of information...