Tengo implementado el script del editor TinyMCE del siguiente modo:
Código HTML:
<script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "textareas", theme : "advanced", plugins : "paste", theme_advanced_buttons1 :"bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,bullist,numlist,undo,redo,link,unlink,cut,copy,paste,pastetext", theme_advanced_buttons2 : "", theme_advanced_buttons3 : "", theme_advanced_toolbar_location : "top", theme_advanced_toolbar_align : "left", theme_advanced_resizing : true, apply_source_formatting : true, extended_valid_elements : "a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]" }); </script>
Código PHP:
<p style="font-family:Verdana, Geneva, sans-serif; color:#000; padding-left:15px; padding-bottom:0px; padding-right:15px; font-size:12px; padding-top:10px;"><?php echo $box->descripcion ?></p>
Espero puedan ayudarme porque hace rato q estoy dando vueltas, muchas gracias!!!