[TYPO3-RTE] alignment class gets removed from some <p> tags

Walrick Bosch lists at globalhealingcircle.net
Sat Oct 18 09:31:27 CEST 2008


Hello,

First of all I must say I'm getting kind of tired of the things
rtehtmlarea does on it's own. It keeps removing, changing or adding
stuff I don't want.

My current problem:
I have a text element which is roughly setup like this:

<p class="align-justify"></p>
<ol>
<li><p class="align-justify"></p><p class="align-justify"></p></li>
<li><p class="align-justify"></p><> class="align-justify"></p></li>
<li><p class="align-justify"></p><p
class="align-justify"></p><ul><li></li><li></li></ul></li>
<li><p class="align-justify"></p><p class="align-justify"></p></li>
</ol>
<p class="align-justify"></p>
<p class="align-justify"></p>

Naturally with content in it.

Now when I save this, the alignment class gets removed from the first
and the last two <p> tags. But it stays on all the <p> tags within the <ol>.

I really don't understand this.

By the way: is it possible to add alignment to <li> elements using the
RTE? That way I would't have to add all these <p> tags within them.

Thanks for any help.

Regards,

Walrickl

-- 
webmaster Global Healing Circle
www.globalhealingcircle.net


More information about the TYPO3-project-rte mailing list