This is s very specific need. I don't see a generic usage for that.
Usually it is solved by using the BaseHref setting. In your case, you have a complete different syntax in the transformation. You should instead create a custom data processor that manages the URL transformations when loading and outputting the editor contents.
I will take a look at the Data Processor for V3 to serve my needs -- if applicable.
It was just an idea that might help me implement the editor in a browser (serving images from the server) and from a local Eclipse Rich Client (requesting images from the server or a replica of the server).
I'm not sure how this could be implemented but take the following scenario: I create some content including an image link using the editor in a browser (the image link would become "/images/myImage.png" in the image src). I load the editor inside Eclipse (see previous post [url]/forums/viewtopic.php?f=11&t=8506[/url]) and want to be able to edit the XHTML source (showing "/images/myImage.png"), but the image shown should be loaded from "http://localhost:9823/getimage.jsp?doc=3458379285&file=myImage.png".
Hmmm.... hope you understand what I'm trying to say here.....
JohnF wrote:I will take a look at the Data Processor for V3 to serve my needs -- if applicable.
It was just an idea that might help me implement the editor in a browser (serving images from the server) and from a local Eclipse Rich Client (requesting images from the server or a replica of the server).
Re: Links should be able to be changed dynamically
This is s very specific need. I don't see a generic usage for that.
Usually it is solved by using the BaseHref setting. In your case, you have a complete different syntax in the transformation. You should instead create a custom data processor that manages the URL transformations when loading and outputting the editor contents.
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
Re: Links should be able to be changed dynamically
It was just an idea that might help me implement the editor in a browser (serving images from the server) and from a local Eclipse Rich Client (requesting images from the server or a replica of the server).
Re: Links should be able to be changed dynamically
Re: Links should be able to be changed dynamically
hope this will help me too.. Thanks!
Re: Links should be able to be changed dynamically