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

Editor - Clicking on hyperlink

5 Answers 714 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Dustin
Top achievements
Rank 1
Dustin asked on 29 Nov 2012, 09:45 PM
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.

5 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 03 Dec 2012, 05:26 PM
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!
0
Dustin
Top achievements
Rank 1
answered on 03 Dec 2012, 06:33 PM

Any way to allow the left mouse button to open a link?
0
Iliana Dyankova
Telerik team
answered on 04 Dec 2012, 04:33 PM
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!
0
Dynamic
Top achievements
Rank 1
answered on 13 Jul 2016, 07:13 AM

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,

 

 

0
Ianko
Telerik team
answered on 13 Jul 2016, 08:45 AM
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.
 
Tags
Editor
Asked by
Dustin
Top achievements
Rank 1
Answers by
Iliana Dyankova
Telerik team
Dustin
Top achievements
Rank 1
Dynamic
Top achievements
Rank 1
Ianko
Telerik team
Share this question
or