[TYPO3] [TYPO3-RTE] RTE not showing paragraph classes in Firefox, Opera or IE7.0, only in IE6

rodrigo cea rodrigo.cr at gmail.com
Thu Jan 10 02:53:24 CET 2008


I have defined a series of classes in the RTE using page TSconfig 
(pasted at the end of this message).

However, the RTE's Paragraph style dropdown only shows up in IE 6, not 
FF, Opera or IE7. The styles themselves (as defined in 
RTE.classes.CLASSNAME.value) also show up only in IE6.

I am using Typo 4.0.2 and htmlArea RTE 1.4.2

Thanks,

Rodrigo

My page TSconfig:

# General configuration of the available classes:
RTE.default.disabled = 0
RTE.default.showButtons = 
cut,copy,paste,formatblock,bold,italic,underline,left,center,right,orderedlist,unorderedlist,outdent, 
indent,link,table,image,line,chMode, RemoveFormat, user
RTE.default.useCSS = 1

RTE.classes {
   titulo {
    name = Título
    value = font:bold; color:#f90; font-family:"Century Gothic"; 
font-size:36px
   }
     subtitulo {
    name = Subtítulo
    value = font:bold; color:#666; font-family:"Century Gothic"; 
font-size:16px;
   }
   t2 {
    name = Título 2
    value = font:bold; color:#f90; font-family:"Century Gothic"; 
font-size:32px
   }
   t3 {
    name = Título 3
    value = font:bold; color:#f90; font-family:"Century Gothic"; 
font-size:28px
   }
   t4 {
    name = Título 4
    value = font:bold; color:#f90; font-family:"Century Gothic"; 
font-size:24px
   }
   t5 {
    name = Título 5
    value = font:bold; color:#f90; font-family:"Century Gothic"; 
font-size:20px
   }
   t6 {
    name = Título 6
    value = font:bold; color:#f90; font-family:"Century Gothic"; 
font-size:18px
   }

     firma {
    name = Firma
    value = align: right; font:bold; padding: 0px 0px 0px 24px;
      }
     cita {
    name = Cita
    value = padding: 0px 24px;
   }
   ficha {
   name = Ficha
   value = background-color: #eee; padding: 20px;
   }
   nota {
   name = Nota
   value = border: solid black 2px; margin: 20px;
   }
}
RTE.default.classesParagraph = P, titulo, subtitulo,  t3,  t5, firma, 
cita, ficha, nota
RTE.default.hidePStyleItems = H1,H2,H3,H4,H5,H6,pre
RTE.default.proc.allowTags = titulo, subtitulo, firma, cita, ficha, nota, a
RTE.default.proc.HTMLparser_rte.tags.titulo.protect = 1
RTE.default.proc.allowTags = div, sup, a
RTE.default.proc.allowedClasses = titulo, subtitulo, firma, cita, ficha, 
nota
RTE.default {
	proc 	{
		dontConvBRtoParagraph = 1
		}	
	}
RTE.default.userElements{
	10 = Nota
	10{
     		2 = Número de nota
		2.mode = wrap
		2.content = <sup>|</sup>
     		}
	}
RTE.default.classesAnchor =


More information about the TYPO3-english mailing list