RadEditor Hyperlinks Not Working

2 posts, 0 answers
  1. bhenke
    bhenke avatar
    8 posts
    Member since:
    Sep 2006

    Posted 17 Feb 2016 Link to this post


    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.

  2. Vessy
    Vessy avatar
    1664 posts

    Posted 22 Feb 2016 Link to this post

    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:
    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
Back to Top