We need to be able to specify all image "title" properties from the RadEditor. However, I don't see a field for it in the Set Image Properties window (or anywhere else). Our admin isn't HTML proficient and won't be able to add it using the HTML view. Is there a way to specify the image title?
1 Answer, 1 is accepted
0
Rumen
Telerik team
answered on 01 Jul 2008, 03:31 PM
Hello Cody,
The Set Image Properties, Image Manager and Properties Inspector module allow the user to set the Image Alt attribute. If this not enough for you and you want to set a "title" attribute, then you can do that by using theOnClientPasteHtml event of RadEditor.
The OnClientPasteHtml event is useful in scenarios
where the developers need to examine or modify the HTMl to be pasted by
an editor tool before it is inserted in the editor content area. Some
common cases where the event can be used are:
Check whether user specified alt attribute for an image - you can use the provided code to add programmatically the needed title attribute to the inserted image.
Make modifications to a table being inserted (e.g. set a specific classname, etc)