[TYPO3-UG Dutch] rendering tags in tabel

Joris joris.willems at gmail.com
Sat May 11 00:27:59 CEST 2013


Beste Typo3 liefhebbers,

Momenteel ben ik een pagina aan het maken die ook via email verzonden
worden. De RTE is aangepast op een aantal punten zodat de inhoud in een
tabel gebaseerde uitlijning gedraaid wordt.

Zo pas ik bv de h1 tags aan met inline stijlen met deze regel in de
template setup:
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.H1.style =
font-size:20px; font-weight:bold; color:#008731; font-variant:small-caps;

Als ik de inhoud in een tabel wordt steek krijgt echter de toegevoegde
stijl niet mee. Steeds wordt de stijl er ook uitgerukt als ik die zelf
inline toevoeg via de code view.

Ik heb reeds een aantal dingen geprobeerd oa volgende pogingen:

template setup:
lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser..tags.H1.fixAttrib.style.set
= font-family: Verdana; color: #008731; font-variant:small-caps;

OF

PageTs:
RTE.default{
proc.entryHTMLparser_db.tags.h1.fixAttrib.style.unset >
proc.entryHTMLparser_db.tags.h1.allowedAttribs = style
proc.entryHTMLparser_db.tags.h1.fixAttrib.style.set = font-family: Verdana;
color: #008731; font-variant:small-caps;
}

Het is de bedoeling eigenlijk dat de h1 tags automatisch de stijl krijgen
aangemeten als de gebruiker zijn titel in een tabel opslaat.


met vriendelijke groet
Joris Willems


More information about the TYPO3-UG-Dutch mailing list