[TYPO3-RTE] Remove P-Tag from HTMLAREA-RTE-Table

Erik Svendsen erik at linnearad.no
Thu Mar 30 21:01:08 CEST 2006


Hello Martin,

> Hello,
> 
> how can I remove the P-Tags from a HTMLAREA-RTE-Table. Here is a
> snippet:
> 
> [...]
> <tr>
> <td><p>test</p></td>
> <td><p>test</p></td>
> </tr>
> [...]
> I use TYPO3 4RC2, htmlarea 1.2.0

Try following in your TS. 

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.removeTags = p

will remove every p-tag inside a table who is parsed trough parseFunc_RTE. 
But you loose any chance to use p tags inside tables. You can also deny the 
use of other tags with making the list longer.

lib.parseFunc_RTE.externalBlocks.table.stdWrap.HTMLparser.removeTags = p, 
h1, h2 

Will remove p, h1 and h2.

WBR,
Erik Svendsen
www.linnearad.no





More information about the TYPO3-project-rte mailing list