I found the following code in an existing thread (http://www.telerik.com/community/forums/aspnet/editor/set-default-image-properties-when-inserting.aspx). The editor.fire executes fine, but the callback never runs. Any suggestions?
Telerik.Web.UI.Editor.CommandList["ImageDialog"] = function (commandName, editor, args) {
function callBackFn(result) {
if (result) {
var imgTag = "<img src=" + result.imagePath + " hspace='10' vspace='5' align='right' />";
editor.PasteHtml(imgTag);
}
}
editor.fire('ImageManager' , callBackFn);
};