
11/04/2012, 06:54
|
| | Fecha de Ingreso: mayo-2003
Mensajes: 523
Antigüedad: 21 años, 9 meses Puntos: 6 | |
¿Color de fuente en TinyMCE? He integrado el editor TinyMCE a un proyecto, activé la lista de estilos CSS y cargue un par de estilos. Anda todo excepto el color de fuente ¿?
El código del TinyMCE:
Código:
<script type="text/javascript">
tinyMCE.init({
mode : "exact",
elements : "detalle",
theme : "advanced",
language : "es",
width : "350",
height : "280",
plugins : "safari,spellchecker,pagebreak,style,layer,table,save,advhr,advimage,autosave,advlist,advlink,emotions,iespell,inlinepopups,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,wordcount,imagemanager,filemanager",
theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,outdent,indent,|,styleselect",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_statusbar_location : "bottom",
theme_advanced_resizing : true,
content_css : "rtf_editor.css"
});
</script>
Los estilos que cargué en el archivo rtf_editor.css: Código HTML: @charset "utf-8";
/* CSS Document */
.negrita-bordo-14{
font:bold 14px Arial, Helvetica, sans-serif;
color:#660000;
}
.negrita-negro-14{
font:bold 14px Arial, Helvetica, sans-serif;
color:#000;
}
Como verán un estilo pone fuente negro y otro bordó pero esto no me lo respeta y no entiendo por qué.
Desde ya muchas gracias! |