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

Links in preview mode

1 Answer 25 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Charlie
Top achievements
Rank 1
Charlie asked on 21 Sep 2015, 11:39 AM

Hi I am using the RadEditor but have issues when it comes to setting the editors content and trying to access the link.

 I am using the editor in preview mode to show a template which was created in edit mode but the content always contains links which I would like to work in preview mode but they don't.

<a href="www.google.co.uk" target="_blank">Eden red offers</a>

 That is an example of what I am trying to use in the editor but whenever I click the link I don't get taken to 'www.google.co.uk' but I am sent to 'server/www.google.co.uk'

 How do I correct this?

 

Regards,

 Charlie

 

1 Answer, 1 is accepted

Sort by
0
Danail Vasilev
Telerik team
answered on 24 Sep 2015, 06:39 AM
Hello Charlie,

This issue is reproducible outside the editor environment as well. In order to handle it you can simply add the 'http://' prefix before the URL:

<a href="http://www.google.co.uk" target="_blank">Eden red offers</a>

Regards,
Danail Vasilev
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
Charlie
Top achievements
Rank 1
Answers by
Danail Vasilev
Telerik team
Share this question
or