Subsequent showing of an Paste HTML dialogs updates the title with some delay.
A possible workaround is using the code from this example:
<telerik:RadEditor runat="server" ID="RadEditor1" OnClientCommandExecuted="OnClientCommandExecuted">
</telerik:RadEditor>
<script type="text/javascript">
function OnClientCommandExecuted(editor, args) {
var command = args.get_commandName();
var dialogContainer = editor.get_dialogOpener()._dialogContainers;
var dialogName = "";
switch (command) {
case "PasteFromWord":
case "PasteFromWordNoFontsNoSizes":
case "PasteAsHtml":
dialogName = "CleanPasteHtmlContent";
break;
default:
break;
}
dialogContainer[dialogName].add_pageLoad(updateTitle);
dialogContainer[dialogName].add_show(updateTitle);
}
function updateTitle(sender, args) {
var clientParameters = sender.ClientParameters;
if (clientParameters && clientParameters.dialogTitle)
sender.set_title(clientParameters.dialogTitle)
sender.add_pageLoad(updateTitle);
sender.add_show(updateTitle);
}
</script>