I am using CKEditor 2.6.3 I believe, here is the issue:
When I drag an image from another browser window into the editor area, it works just fine; the image appears where the cursor was blinking, that's great.
However, when I then right-click to adjust properties for that image, the properties window opens up and the path on it looks like this:
and I can't see it in the preview box. When I remove the ../../../ and just go with / (which would always work on any of my sites) I can then see it in the preview box.
1. what is causing this to happen?
2. How can I tweak CKEditor so it uses a plain / vs. ../../../ when images are dropped in?
3. I'm willing to write a timeout function which goes through and changes this string i.e. src="../../../ to src="/ if necessary but there's probably a more elegant way - but if needed can someone tell me how to do this
Many thanks; and one final question, is there a plain-english overview on the construction strategy of the CKEditor for those like me who are constantly humbled by what they don't know about javascript? Reading and knowing this wuld help me know the right questions to ask and also approach any first steps at development (better).
Samuel
When I drag an image from another browser window into the editor area, it works just fine; the image appears where the cursor was blinking, that's great.
However, when I then right-click to adjust properties for that image, the properties window opens up and the path on it looks like this:
../../../images/somepicture.jpg
and I can't see it in the preview box. When I remove the ../../../ and just go with / (which would always work on any of my sites) I can then see it in the preview box.
1. what is causing this to happen?
2. How can I tweak CKEditor so it uses a plain / vs. ../../../ when images are dropped in?
3. I'm willing to write a timeout function which goes through and changes this string i.e. src="../../../ to src="/ if necessary but there's probably a more elegant way - but if needed can someone tell me how to do this
Many thanks; and one final question, is there a plain-english overview on the construction strategy of the CKEditor for those like me who are constantly humbled by what they don't know about javascript? Reading and knowing this wuld help me know the right questions to ask and also approach any first steps at development (better).
Samuel