Hello, I've been using a custom plugin under CKEDITOR 3.x, which used window.showModalDialog function to popup a window with custom html and form fields.
Today this stopped working on Chrome, I guess google decided to depricate window.showModalDialog funciton.
I decided I'd need to re-write my plugin, and since I was going to do that, I might as well write it for CKEDITOR 4.x.
I have the sample ABBR plugin workng, but what I can't figure out is how to get custom html into the dialog box. I can define the fields fine, like in the ABBR example.
What I want to do is somtheing like the IMAGE plugin. Click an 'insert image from resource' button, a dialog opens with a grid of image thumbnails (generated from my internal resource) and some form fields for URL and CAPTION. Clicking one of the image thumbnails auto fills URL and CAPTION with appropriate information, click submit to have the image and caption embeded in the editor.
Using the ABBR example as a template I can define the form fields, build html and return. But I can't figure out how to generate a custom grid of thumbails and insert them in the dialog window.
Attached is an image mockup of what I'm trying to acheive.
Thanks,
Jake
