This is a migrated thread and some comments may be shown as answers.

AnchorPathToStrip ?

5 Answers 176 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ric c
Top achievements
Rank 1
ric c asked on 27 Nov 2007, 04:11 PM
In the non-prometheus version you can use AnchorPathToStrip to strip out part of the url for images etc.. please tell me this is possible with Prometheus version??

Thanks

5 Answers, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 29 Nov 2007, 02:38 PM
Hi Ric,

The RadEditor Prometheus edition features a new link preservation mechanism that is able to preserve links exactly as entered. Thus, the need for having a property to control the stripping of [parts of] urls is greatly reduced.

Can you please provide us with more information about your own exact scenario, why you need to have the property and what you need to set it to? Also can you explain why keeping the [relative] urls as entered does not suffice in your case?

We are in the process of implementing more functionality to RadEditor Prometheus and if it turns out to be a valid scenario which cannot be solved with the current API we will add the property to the RadEditor for the Q3 release coming Dec 17th. 

Looking forward to hearing from you.
Sincerely yours,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
David Penrose
Top achievements
Rank 1
answered on 28 Dec 2007, 08:25 AM
Tervel ~

I can provide you a reason: Emailed content. Most of our file content is referenced for web pages. The relative url works fine for this. However, we also support a some web forms that edit content for newsletters and event management that email content with embedded file urls (images, documents) to subscribers and registrants, respectively. For this we need absolute urls.

David Penrose
Top Network
0
Tervel
Telerik team
answered on 02 Jan 2008, 03:29 PM
Hello David,

I absolutely agree with this argument - and in fact it is quite easy to convert relative links to absolute with the new RadEditor Prometheus using a custom content filter.
Please review the following forum thread that has a working .aspx attached:

Adding such a filter is fairly easy, and since these scenarios are quite rare (most often users/developers want to have URLs as entered), so far we have not integrated the filter into the editor, as we aim to keep the editor's properties as few as possible. Of course, if more and more customers demand having a property that does the same job, we will implement it.

My question to Ric was rather whether there is a scenario where one would need a specific part of the URL stripped. The [other] two scenarios - keeping URLs as entered, as well as converting them to absolute are already handled :)


Best wishes,
Tervel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Runi Thomsen
Top achievements
Rank 1
answered on 03 Jan 2008, 12:54 PM
The provided link does not seam to work.
0
Rumen
Telerik team
answered on 03 Jan 2008, 01:27 PM
Hello Runi,

Please, excuse us for the non-working link.

Here is the correct one:

http://www.telerik.com/community/forums/thread/b311D-bbacbc.aspx



Kind regards,
Rumen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Editor
Asked by
ric c
Top achievements
Rank 1
Answers by
Tervel
Telerik team
David Penrose
Top achievements
Rank 1
Runi Thomsen
Top achievements
Rank 1
Rumen
Telerik team
Share this question
or