This is a migrated thread and some comments may be shown as answers.
Use image full path (including domain)
4 Answers 14 Views
This is a migrated thread and some comments may be shown as answers.
Kevin Warnke
Top achievements
Rank 1
Kevin Warnke asked on 15 Mar 2010, 08:36 PM
I'm using the editor to allow people to edit HTML that will be sent in an email.

When someone inserts an image it's using a relative path for the image so in the email the image is broken.

Is there a simple way to tell the editor to use a fully-qualified URL for images inserted into it?

Thanks,
Kevin

4 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 16 Mar 2010, 10:19 AM
Hello Kevin,

You can configure RadEditor to insert images with absolute paths via the Image manager by enabling the MakeUrlsAbsolute content filter of RadEditor, e.g.

RadEditor1.EnableFilter(Telerik.Web.UI.EditorFilters.MakeUrlsAbsolute);


Regards,
Rumen
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.
0
Kevin Warnke
Top achievements
Rank 1
answered on 16 Mar 2010, 04:32 PM
Perfect.  Thanks!
0
Mark
Top achievements
Rank 1
answered on 15 Mar 2018, 03:04 PM

So this works great to convert the content whenever the mode is switched, but how could i accomplish this same goal w/o requiring a mode switch.  i.e. in my editor that user's access they only have access to design mode No other modes are available.  The objective is to insert an image or link from the image/document manager and the have the image/link URL be a FQDN.

Thanks!

-Mark

0
Rumen
Telerik team
answered on 16 Mar 2018, 06:56 AM
Hi Mark,

The content filters work not only when the modes are switched, but also when the page is submitted. See this article for more information: Content Filters.

Regards,
Rumen
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Kevin Warnke
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Kevin Warnke
Top achievements
Rank 1
Mark
Top achievements
Rank 1
Share this question
or