Disable Paragraph Transformations of RTE

353 views
Skip to first unread message

fabus

unread,
Jun 4, 2008, 7:53:46 AM6/4/08
to Typo3
Hi guys,
I have tried this for several hours now, but it does not work.

The code in the RTE is:
<div class="block">.....
<p>A utility that helps ... </p>
...
</div>

And in the DB this gets
<div class="block">.....
A utility that helps ...
...
</div>

But in the final output it gets
<p><div class="block">.....</p>
<p>A utility that helps ... </p>
...
<p></div></p>

Which is obviously invalid code.

How can I disable all the transformations at all?
I can disable the <p> in the DB->Frontend step, but then I loose the
paragraph.

Thanks in advance,
Fabus

fabus

unread,
Jun 4, 2008, 9:42:05 AM6/4/08
to Typo3
I found a way of solving by myself:

RTE.default {
proc {
remapParagraphTag =
entryHTMLparser_db.tags.p.remap = para
exitHTMLparser_db.tags.para.remap = p
Reply all
Reply to author
Forward
0 new messages