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

Hyperlink in editor point to image

1 Answer 16 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Thomas Maxwell
Top achievements
Rank 1
Thomas Maxwell asked on 04 Oct 2010, 04:36 PM
Hi,
In the editor when you click insert hyperlink, you are offered the document manager to select links from. My end users want the ability to select images as well (they do not understand html well enough to add this manually). Is there a way to acomplish this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Dobromir
Telerik team
answered on 05 Oct 2010, 12:14 PM
Hi Thomas,

You can achieve the required functionality by modifying the LinkManager built-in dialog. You can find detailed information how to modify built-in dialogs in the following live demo:
Customize Built-in Dialogs
In addition, I believe this KB article will be of help achieving the required functionality.

To add an ImageManager dialog to the LinkManager you need to:
  1. Add additional tool to open the ImageManager
  2. Attach handler to the click event of this tool.
  3. Assign a callback function to the ImageManager to insert the correct formatted content inside the LinkManager's fields.

For your convenience I have attached modified LinkManager.ascx .

Best wishes,
Dobromir
the Telerik team
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 Public Issue Tracking system and vote to affect the priority of the items
Tags
Editor
Asked by
Thomas Maxwell
Top achievements
Rank 1
Answers by
Dobromir
Telerik team
Share this question
or