[Typo3] Preserving <p> tags in HTMLAREA RTE
Jason Lefkowitz
jlefkowitz at oceana.org
Tue Jun 7 00:52:09 CEST 2005
Hey everyone...
I've been hacking away on a simple extension for a project I'm working on, and so far it's been easier than I expected! However, I have run into one stumbling block. I have defined one field in my data table to be filled-in using the RTE -- i'm using HTMLAREA, not the stock RTE, if that matters -- and when users enter content into this field via the RTE, the <p> tags surrounding their paragraphs are being discarded. Then, when the content is called up later for display, it looks like a big run-on paragraph.
I take it from reading all the docs on RTE Transformations that this is by design, so that the content in the database doesn't have a bunch of extraneous <p> tags. Fair enough. But what do I need to do to get the <p> tags added back when I retrieve the content for display later? Or, failing that, is there a way to tell the RTE to save the <p> tags? The docs indicate that you can use skipAlign and skipClass in TSConfig to do this, but I tried them and they don't seem to do the trick...
thanks in advance!
- Jason Lefkowitz (jlefkowitz)
-----------------------
The mailing list archive is found here:
http://typo3.org/documentation/mailing-lists/english-main-list-archive/
More information about the TYPO3-english
mailing list