10. 03. 2011, 08:31
Hallo!
Ich habe folgendes Script gebastelt, um mittels inline styles (für Newsletter) dem p tag unterschiedliche styles zuweisen zu können, abhängig von der Spalte:
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.style = font-family:Arial, Helvetica, sans-serif;margin:0;padding-bottom:6px;line-height:18px;text-align:left;font-size: 12px;color: #4D4D4D; parseFunc_RIGHT < lib.parseFunc_RTE parseFunc_RIGHT.nonTypoTagStdWrap.encapsLines.addAttributes.P.style = font-family:Arial, Helvetica, sans-serif;margin:0;padding-bottom:6px;line-height:16px;text-align:left;font-size: 11px;color: #4D4D4D;padding:10px; tt_content.specialtext < tt_content.text.20 tt_content.text.20 > tt_content.text.20 { default < tt_content.specialtext 2 < tt_content.specialtext }
Das ganz funktioniert wunderbar, nur werden Sonderzeichen nicht mehr richtig dargestellt, d.h. aus " wird beim Speichern im RTE sofort ".
Ich hab schon an diversen Stellen probiert htmlSpecialChars = 2 einzufügen, hat aber keine Auswirkung.
Weiss jemand, wo das Problem liegen könnte?
Danke schonmal!
Natascha

