I wonder is there any property in editor that when someone clicks on a image, it shows the full sized image in a lightbox? Is that possible?
Abdullah
1 Answer, 1 is accepted
0
Rumen
Telerik team
answered on 26 Oct 2009, 08:48 AM
Hi Abdullah,
RadEditor is an WYSIWYG editor for editing HTML / XHTML content. The requested feature is not part of the advertised editor's functionality and we do not support it.
What you can do is to try the code below as a base and implement the requested functionality yourself:
The code shows how to attach to the onclick event of the editor's content area, check for the selected element and if it is of type IMG to execute window.open to open the selected image in a new window.
Please note that you need to double click on the image in Internet Explorer to open to open it in a new window.