no Adam, it didn't make any difference, again trying another approach, the following works for my purpose as I'm mainly concerned about pasted text...
BUT as always there's an issue, this code does not work with firefox, any idea as to why not and is there a workaround?
function CuteEditor_OnCommand(editor,command,ui,value)
{
if (command=="Paste")
{
var oEditor = document.getElementById(editor.id);
var oSelection = oEditor.GetSelection();
var oRange = oSelection.createRange();
oRange.execCommand("Paste");
var sHTML = oEditor.getHTML();
sHTML = sHTML.replace(/font-family:.*?>/ig, 'font-family: "Arial">');
sHTML = sHTML.replace(/font-size:.*?pt/ig, 'font-size: 12px');
oEditor.setHTML(sHTML);
return true;
}
Thanks