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

Disable images

1 Answer 19 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Jon Horddal Jonasson
Top achievements
Rank 1
Jon Horddal Jonasson asked on 09 Jul 2010, 06:12 PM
Hi,
Can I disable images in the RadEditor.  I don't want users to be able to use images in the editor, just limited text formatting.  I have removed the toolbar button for images but users can still drag and drop images into the editable area.

I have looked at the workaround that disables drag and drop events but that only prevents events within the editable area. (see here http://www.telerik.com/community/forums/aspnet-ajax/editor/disable-images-drag-and-drop.aspx).

I am already filtering out image tags server side but I need to do this in the editor as well.

Please help

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 12 Jul 2010, 04:41 PM
Hello Jon,

The drag and drop could be handled only inside the content area. If you would like however you can strip the images when they are pasted in the content area. For your convenience I have attached a sample example.

Sincerely yours,
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
Tags
Editor
Asked by
Jon Horddal Jonasson
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or