Good work on FCKEditor 2.0 but I very confused about how dialogs return values to the main editor window. My site require to use my own image/link dialog because I have a media gallery. So I will have 3 choices: image upload, image from URL and image picked from media gallery.
In FCK1 this was implemented this using window.showModalDialog wich is a Microsoft proprietary method. Now because of Mozilla the editor emulate the showModalDialog by handlnig some events.
Where is the point where the dialog returns the "returnValue" back to the editor? I'm very confused. How to use my own dialog for images and links? Parhaps in the next releases there will be a "config" option to change the standard dialog mechanism (?)
Any help will be apreciated. Thanx!
In FCK1 this was implemented this using window.showModalDialog wich is a Microsoft proprietary method. Now because of Mozilla the editor emulate the showModalDialog by handlnig some events.
Where is the point where the dialog returns the "returnValue" back to the editor? I'm very confused. How to use my own dialog for images and links? Parhaps in the next releases there will be a "config" option to change the standard dialog mechanism (?)
Any help will be apreciated. Thanx!
RE: image, link dialog
RE: image, link dialog
I would paste the code here but I'm afraid I have modified it to much for the project I'm working on so it's useless to anyone else.
anyway, the image dialog code is unfinished, dunno why
Re: image, link dialog
What I want is when you click on the image, or link image, to open in a new window my media manager...
Any help is appreciated!