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

RadEditor Hyperlinks Not Working

1 Answer 240 Views
Editor
This is a migrated thread and some comments may be shown as answers.
bhenke
Top achievements
Rank 1
bhenke asked on 17 Feb 2016, 06:13 PM

Hello,

We are not able to open hyperlinks which are in the content area of the RadEditor.  We are experiencing this behavior in our code as well as on your demo site.  Here is how to replicate the issue on the demo site.

a)  Go to the overview page on the RadEditor demo site:  http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

b)  Clear all content in the RadEditor

c)  Click on the <html> tab for the RadEditor

d)  Enter the following hyperlink into the content area:  <a href="http://www.w3schools.com/html/">Visit our HTML tutorial</a>

e)  Click on the Preview tab of the RadEditor

f)  Click on the hyperlink for d) above.  This will not take the browser to the hyperlink which was added into the content area

This behavior is consistent between Google Chrome, Firefox, Edge, Safari and IE

Please advise.

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 22 Feb 2016, 12:45 PM
Hi Brian,

RadEditor uses an editable IFRAME for its content area and the links are not clickable by default. That is why you need to attach to the onclick event of the IFRAME and programmatically open the links in a new window when the event is fired. You can follow one of the approaches given in the following articles:
Regards,
Vessy
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
bhenke
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or