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

File Browser Controller: How to insert link to a file that opens in a new window?

3 Answers 317 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Kyle
Top achievements
Rank 1
Kyle asked on 23 Feb 2016, 07:33 AM

Using the Kendo Editor's FileBrowser is there any way to insert a link to a file who's <a> tag (anchor tag) has the attribute target="_blank", i.e. the link to the file opens in a new tab. I know this could be manually added to the inserted link through the "ViewHtml" button however my client is not tech savvy and this option is not a desired solution.

Below is an example of the current and desired outcome upon inserting a file using the FileBrowser.

Current outcome:
<a href="/Files/SomeFile.pdf">File</a>

Desired outcome:

<a href="/Files/SomeFile.pdf" target="_blank">File</a>


3 Answers, 1 is accepted

Sort by
0
Stanimir
Telerik team
answered on 23 Feb 2016, 12:02 PM

Hello Kyle,

Thank you for contacting Telerik support.

What the client needs to do is to check the "Open link in new window" checkbox in the "Insert link" dialog. Review the following screen shot http://screencast.com/t/xfFa0wAs

 

Regards,
Stanimir
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
0
Kyle
Top achievements
Rank 1
answered on 24 Feb 2016, 01:42 AM

Sorry I wasn't referring to the "Insert Hyperlink" button but rather the "Insert File" button.

I have a attached some screen shots to further clarify.
Again the desired html to be inserted would be in a format similar to the text below:

<a href="/Files/SomeFile.pdf" target="_blank">File</a>

Thanks.

0
Stanimir
Telerik team
answered on 25 Feb 2016, 12:29 PM

Hello Kyle,

Thank you for the provided screen shot. It is helpful indeed. Unfortunately currently the Kendo UI editor is not extensible in a manner the will fit your requirement easily. We have plans to enhance the control functionality in 2016 so I strongly suggest you to add a feature request in the Kendo UI User Voice portal http://kendoui-feedback.telerik.com/forums/127393-telerik-kendo-ui-feedback.

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