Hi all!
I'm currently working on developing an image mapping plugin (using the imgmap 2.2 library), but I've run into a problem that's been holding me up for awhile now. I'm using an iframe dialog to get an HTML page that has the editor and code, etc, but I'm having problems passing the HTML output back into the WYSIWYG editor window. Here is the basic code for the OK button:
Assuming:
htmlreturn = '<map id="map01" name="map01"><area shape="rect" alt="" title="" coords="88,33,225,110" href="" target="" /><area shape="rect" alt="" title="" coords="129,187,131,187" href="" target="" /></map>' var okListener = function(ev) { this._.editor.insertHtml(htmlreturn); CKEDITOR.dialog.getCurrent().removeListener("ok", okListener); }; CKEDITOR.dialog.getCurrent().on("ok", okListener);
Re: CKEditor Image Map Plugin (in progress, need help)
Re: CKEditor Image Map Plugin (in progress, need help)
Not work? Or is it something other than you forgot to declare the variable?
Thanks,
Zanpakutō
Re: CKEditor Image Map Plugin (in progress, need help)
I got that part working now. The newest problem is trying to get the ok button to not just add in the image map, but to update an image map instead. I've not figured this part out yet, but hopefully soon!
Re: CKEditor Image Map Plugin (in progress, need help)
How are you going with this plugin? I am working on something similar and would be willing to help.
Re: CKEditor Image Map Plugin (in progress, need help)
Since the old plugin don't work on the new CKeditor, I'm searching for such a plugin.
@lastrom: Please tell us about your progress and ask me if you're stucked on any problem.
Re: CKEditor Image Map Plugin (in progress, need help)
As I said in viewtopic.php?p=53827#p53827 , if a few people did thought that it could be a good idea to thank the developers by clicking the paypal button then the new version would have been available for everybody long ago.
Unfortunately, people thinks that Open source = Free and that the developers don't need to pay their bills, so in the end you get one free version, but that's all, the programmer has to work in other things and you don't get more enhacements.
Re: CKEditor Image Map Plugin (in progress, need help)
Re: CKEditor Image Map Plugin (in progress, need help)
Re: CKEditor Image Map Plugin (in progress, need help)