[TYPO3-rte] Can't remove the <p> tags from RTE

Erdal Gök comm at webcan.de
Tue Aug 28 23:55:20 CEST 2012


Hi Borislav,

Borislav Pantaleev wrote:
> So I was able to disable (sounds nice) the <p> tag when I save my text with
> RTE and it goes without it in the DB, but when it's printed to the FE the
> <p> tags are there. How can I disable them?

As I understand html standards, the <p> tags are needed.

But these both TYPOSCRIPT lines in Setup may do the trick, if you use 
css styled content:

tt_content.stdWrap.dataWrap >
lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines >

Or look here: http://wiki.typo3.org/Ts45min#encapsLines

Kind regards

Erdal


More information about the TYPO3-project-rte mailing list