Hi Support,
I'm using RadEditor 7.1.2 with Custom Dialog as manager.
PasteHTML button pastes the content at the beginning of the text. It is not pasting at the cursor position where it is..
We are calling the dialog like this.
editor.ShowDialog(
"ImagesDialogCS.aspx"
, null//argument
, 470
, 500
, InsertCustomImage
, null
, "Choose Image");
InsertCustomImage
function InsertImage(returnValue)
{
// some code
if (returnValue != null)
{
//some code
if(editor.IsIE)
{
editor.PasteHtml("<a href=\"javascript:showImages()" ><img src=\""+std_icon+"\" ></a>");
}
else
{
editor.PasteHtml("<a href=\"javascript:showImages()" ><img src=\""+std_icon+"\" ></a> ");
}
}
}