Hallo,
ich bekomme meinen <DIV> tag im frontend nicht angezeigt. Im RTE ist alles richtig. Im Frontend wird aus dem <div> aber ein <p>. Die Klasse wird im Frontend mit class="zitat" richtig angezeigt. Woran liegt es?
Hier meine Einstellungen:
Constants:
content.RTE_compliant = 1
Setup
# Entfernen der <p style='margin:0 0 0 0 '>
tt_content.text.20.parseFunc.nonTypoTagStdWrap.encapsLines.addAttributes {
P.style =
}
Page TSconfig:
RTE.config.tt_content.bodytext.proc.allowedClasses >
RTE.default {
hideButtons =
options.RTEkeyList = cut,copy,paste,formatblock,class,fontstyle,fontsize,bold,italic,underline,left,center,right,orderedlist,unorderedlist,outdent,indent,line,link,table,image,textcolor,chMode
proc.dontConvBRtoParagraph = 1
proc.preserveTables = 1
hidePStyleItems = h4,h5,h6,pre
}
RTE.classes {
zitat {
name = Zitat
value = font:italic 15px; margin-left:20px;
}
}
RTE.default.classesParagraph = zitat
RTE.default.classesCharacter = zitat
Danke für Hinweise! 😉