I'm integrating ckeditor into an existing system with quite a bit of content.
Part of the integration is simplifying the image dialog and having it use the system's image handling for its stuff.
The upload part was a pretty simple matter to integrate, but I've hit a problem with the reuse of existing images: I've got to perform an xhr call to get and list the images already in the system (and display them to the user), but I find no way to initialize existing dialog components asynchronously: I wanted to start out with a basic select for POC (and maybe create something more custom later on) but reading its documentation I don't see anything taking any sort of callback, which could indicate async capabilities and allow asynchronously loading the select's items.
Does anybody have experience with that?

Well looking at the right
Well looking at the right place in the documentation (ckeditor.ui.dialog, not ckeditor.dialog.definition) would certainly have helped: the async call can just be started in the definition's setup, then the async callback just calls field.setValue and/or (for a selection field) field.add for each option.
Glad you worked it out.
Glad you worked it out. Thanks for sharing.
Customer and Community Manager, CKSource
Follow us on: Facebook, Twitter, LinkedIn
If you think you found a bug in CKEditor, read this!