Hi. This is not the best solution but it works and sources are not changed.
I write small JavaScript function and I call it on form submit.
function SubmitReplacedImages(){
var oFFCKedit = FCKeditorAPI.GetInstance(instance_name); var B = oFFCKedit.EditorDocument.getElementsByTagName("IMG"); for (i=0; i<B.length; i++) { B[i].setAttribute("_fcksavedurl", B[i].src); } }
RE: Absolute image path in JSP
This is not the best solution but it works and sources are not changed.
I write small JavaScript function and I call it on form submit.
function SubmitReplacedImages(){
var oFFCKedit = FCKeditorAPI.GetInstance(instance_name);
var B = oFFCKedit.EditorDocument.getElementsByTagName("IMG");
for (i=0; i<B.length; i++) {
B[i].setAttribute("_fcksavedurl", B[i].src);
}
}
Good luck,
Andrey.