- 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.
event = new CKEDITOR.event(DOMevent);

Re: events
CKEDITOR.on( 'instanceReady', function( ev ) { var editor = ev.editor; .... });CKEDITOR.replace( 'textarea1', { on : { instanceReady : function() { var editor = this; ... } } });var editor = CKEDITOR.replace( 'textarea1' ); editor.on( 'instanceReady', function() { ... };http://dev.fckeditor.net/ticket/900
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: events
CKEDITOR.on( 'instanceReady', function( ev ) { var editor = ev.editor; .... });Re: events
Re: events
I am working on the same task, i.e. an ExtJS wrapper for CKEditor ending up at the same problem (that's how I found this post anyway). Did you succeed getting it to work? When creating a new editor instance, "instanceReady" still seems to be too early to call editor.resize. In case you made more progress on that I would be more than happy to learn about it.
Thanks,
Henning
Re: events
Henning