We are using an old version of the editor (2.3.2) and I'm told we can't just upgrade at the moment, to fix the bug with ff3.
So we are setting up a workaround instead.
We are creating the html string for the link in javascript, and inserting it in the document with
oEditor.FCK.InsertHtml(str);
The thing I'm having a problem with now, is when an image has been inserted, then selected, and finally the Insert link button is pressed.
Then the selected image is replaced with the link I have inserted.
If I could find the url of the selected image, I can place it in an <img src> tag in the link and the workaround would be acceptable for us until we upgrade the editor.
Can anyone help me with how I can determine the url/path of the image selected in the editor?
Any help would be appreciated.
Sincerely,
Bjorn Faaberg
So we are setting up a workaround instead.
We are creating the html string for the link in javascript, and inserting it in the document with
oEditor.FCK.InsertHtml(str);
The thing I'm having a problem with now, is when an image has been inserted, then selected, and finally the Insert link button is pressed.
Then the selected image is replaced with the link I have inserted.
If I could find the url of the selected image, I can place it in an <img src> tag in the link and the workaround would be acceptable for us until we upgrade the editor.
Can anyone help me with how I can determine the url/path of the image selected in the editor?
Any help would be appreciated.
Sincerely,
Bjorn Faaberg