Editor - Clicking on hyperlink

6 posts, 0 answers
  1. Dustin
    Dustin avatar
    79 posts
    Member since:
    Oct 2012

    Posted 29 Nov 2012 Link to this post

    How do you allow clicking on a hyperlink in the Editor? Is this possible and how do I enable this? I see that you have them in your Editor demo, but I cannot click on them to open there either.
  2. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 03 Dec 2012 Link to this post

    Hello Dustin,

    Generally speaking you could open the hyperlink in Kendo UI Editor using the mouse middle button. Please note the hyperlink address will be opened in a new tab.

    Regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Kendo UI is VS 2017 Ready
  4. Dustin
    Dustin avatar
    79 posts
    Member since:
    Oct 2012

    Posted 03 Dec 2012 Link to this post


    Any way to allow the left mouse button to open a link?
  5. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2592 posts

    Posted 04 Dec 2012 Link to this post

    Hello Dustin,

    I am afraid opening the address with the left mouse button is not supported in Kendo UI Editor, but in order to achieve it you can attach a click handler on the editor iframe body and change the window location.

    Kind regards,
    Iliana Nikolova
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Dynamic
    Dynamic avatar
    1 posts
    Member since:
    Dec 2005

    Posted 13 Jul Link to this post

    Hello Iliana,

    Recently, we are using Editor (Kendo UI v2014.3.1223) and this hyperlink problem is still exists and also check on live demo site, same issue exists. 

    Is there any alternative for hyperlink to open link in new windows ?

    Thanks,

     

     

  7. Ianko
    Admin
    Ianko avatar
    1535 posts

    Posted 13 Jul Link to this post

    Hello Roger,

    It is normal and expected link in editable areas to be not operational. The edible area is intended to be edited. If a link is to be clicked (and page to be redirected) the iframe's window will change its location and this user will lose all the content inside the editor. 

    In this Dojo (http://dojo.telerik.com/oKUzU) you can see that this behavior is dictated by the browser. This is how editable DOM elements are designed to act and this is the commonly expected behavior when it comes to editing links in an editable area. 

    There are no plans to address this behavior and change it as this the expected user experience. 

    As Iliana suggested, you can use the native browser context menu (right click on the link) and select Open link in new tab.

    Regards,
    Ianko
    Telerik by Progress
     
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
     
Back to Top
Kendo UI is VS 2017 Ready