Hello,
I've made a custom file dialog and can pass the URL of the file to the image properties dialog (window.opener.CKEDITOR.tools.callFunction('1', '[image url]', [data]))
How can I also pass the height, width and alt text for the image? The callFunction function has a third parameter called data. Can this be used? If so what do I need to pass?
Thanks
Ric
I've made a custom file dialog and can pass the URL of the file to the image properties dialog (window.opener.CKEDITOR.tools.callFunction('1', '[image url]', [data]))
How can I also pass the height, width and alt text for the image? The callFunction function has a third parameter called data. Can this be used? If so what do I need to pass?
Thanks
Ric
Re: Pass width, height and alt from custom file dialog
Wait, sorry. Data is not used for that: