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.
Re: events
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: events
Re: events
If you haven't done so, take a look at the ExtJs documentation. It's awesome. Eg. try http://extjs.com/deploy/ext-3.0.0/docs/ ... Ext.Button . It documents all properties, methods and events very well.
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