[TYPO3] [SOLVED] cellpadding, cellspacing and bodytext in RTE

Jeroen Visser jeroen at roquin.nl
Thu Sep 13 11:16:27 CEST 2007


Hi,

Just for those who would like to know.

 

I wanted to set default attributes (cellpadding, cellspacing, border) to
HTML tables that have been created inside a text element, using the RTE.

 

# In the TSconfig

RTE.default.proc.entryHTMLparser_db.tags.table.fixAttrib.cellspacing.set =
"0"

RTE.default.proc.entryHTMLparser_db.tags.table.fixAttrib.cellpadding.set =
"0"

RTE.default.proc.entryHTMLparser_db.tags.table.fixAttrib.border.set = "0"

 

I also didn't wanted the class="bodytext" in my paragraphs.

# In the Setup

lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.addAttributes.P.class >

 

Regards,

Jeroen



More information about the TYPO3-english mailing list