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

Anchor and absolute path

3 Answers 78 Views
Editor
This is a migrated thread and some comments may be shown as answers.
HSLaw
Top achievements
Rank 1
HSLaw asked on 19 May 2015, 09:03 AM

Hi,

The video show that if I use absolutepath in Editor and then created an anchor, the anchor will have the absolute path as well.

http://upload.ximnet.com.my/huisheng/editor_anchor.swf

How can I solve this?

Thanks.

3 Answers, 1 is accepted

Sort by
0
Ianko
Telerik team
answered on 21 May 2015, 08:25 AM
Hello,

I guess the video did not go through, as I do not see it attached.

However, using an absolute path in a link, it is expected to stay absolute. If you rather need to modify it to relative path when the source is on the same domain, then you should implement a custom content filter. You can check out this knowledge base item—http://www.telerik.com/support/kb/aspnet-ajax/editor/details/how-to-produce-relative-path-for-links-when-makeurlsabsolute-content-filter-enabled.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
HSLaw
Top achievements
Rank 1
answered on 25 May 2015, 03:09 AM

Hi,

The video is hosted on the URL: http://upload.ximnet.com.my/huisheng/editor_anchor.swf

1. I want the normal link to remain as absolute path.

2. But if I created an anchor, says, #test123, I need it to remain as #test123, instead of absolutepath#123, which will become something like "www.domain.com/cms/article_edit.aspx#test123".

Thanks.

 

0
Ianko
Telerik team
answered on 27 May 2015, 08:18 AM
Hello,

Testing the same scenario with this online demo—http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx—I am unable to reproduce the same problem. 

What is the version of the UI for ASP.NET AJAX suite used? Can you try if upgrading resolves the issue.

Also, by design, RadEditor would add only the domain with the path to the file. But in the screencast I see URL to an aspx page with the entire query string at the end, which is not a behavior implemented in RadEditor.

Verify if there are any customizations regarding the RadEditor commands that may lead to the shown result.

Regards,
Ianko
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Editor
Asked by
HSLaw
Top achievements
Rank 1
Answers by
Ianko
Telerik team
HSLaw
Top achievements
Rank 1
Share this question
or