Ah, entiendo. Yo lo que hago es algo como esto:
Código PHP:
function iniciarEditor(){
editor=$('edit').contentDocument || $('edit').contentWindow.document;
editor.body.style.fontFamily='Myriad Roman, Arial, Helvetica, sans-serif';
editor.body.style.fontSize='12px';
editor.body.style.color='#8c8c8c';
editor.designMode='on';
<?php if(!empty($row['contenido'])){?>
try{
setTimeout(function(){editor.body.innerHTML='<?php echo $row['contenido']; ?>';},500);
}catch(e){}
<?php } ?>
}
Y luego la llamo desde el mismo iframe:
Código PHP:
<iframe name="edit" frameborder="0" id="edit" width="100%" height="300" style=" border:1px solid #000; background-color:#FFF" onload="iniciarEditor()"></iframe>