Hi,
I'm using CKEditor to build a web page editor using jquery adaptor. User clicks a button to enable inline editors on multiple divs througouht the page. User clicks again to destoy the editors.
I want to save edited content dyanmically each time user clicks away from an editable div (and the toolbar disappears).
Is there a callback or similar I can use? Does it tell me if the content has changed?
Many thanks, Mark (p.s. brilliant product - thanks).
To detect if the editor lost
To detect if the editor lost focus you should use Blur. To see if the content has changed you could use CheckDirty, or the newer Change event.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!