Hi,
You can attach to the
OnClientPasteHtml property of RadEditor and modify the pasted content when the Paste command is executed, e.g.
<script type="text/javascript">
function OnClientPasteHtml(sender, args)
{
var commandName = args.get_commandName();
var value = args.get_value();
if (commandName == "Paste")
{
re = /“/gi;
re1 = /”/gi;
value= valuereplace(re, "\"").replace(re1, "\"");
args.set_value(value); //set the modified content in the editor
}
}
</script>
Greetings,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their
blog feed now.