[TYPO3-RTE] tinymce_rte templates unwanted wraps and disapearing tag
Andreas Burg
typo3 at andreasburg.de
Sat Mar 28 20:15:26 CET 2009
Hi Tapio,
> I have found the unwanted empty p-tag problem. I assume that the same
> would happen also when you just paste something HTML-formatted content.
> After removing unwanted empty p and saving again the result was ok.
> Weird.
for some unknown reason now the empty P-tag did not appear after inserting my template. Not before
and not after saving.
Oh, just find out, if I delete all content of the editor field and do NOT save, then insert the
template, a <br /> is created at the end, which is transformed to this empty P-tag after saving. If
you save after deleting, its ok. I have to find a way to delete all empty HTML-tags.
> Using h1-h2 I got an additional p tags.
> I have tried to avoid that by using as format codes just P and TABLE
> (with related child-elements).
which config-line are you talking about? I cannot confirm this. Additional or wrapped with P?
> In anyway a small annoyance.
I'm trying to configurate the RTE, so that I don't have to clean up the HTML after editors work ;-)
> But loosing link is serious. Have you asked help from google group?
> http://groups.google.com/group/typo3-tinymce_rte?pli=1
Now I've changed my template from:
<div>
<a><img /></a>
<p></p>
<p></p>
</div>
to:
<div>
<p>
<a><img /></a>
</p>
<p></p>
<p></p>
</div>
and with this all stays fine, but I DON'T want a P-tag there.
For help, I go to http://forge.typo3.org/projects/show/extension-tinymce_rte and to this newsgroup.
It's uncomfortable, if I need a third place, to stay informed and getting help. I hope you sometimes
take a look at this group.
Thank you for help
--
Andreas
Mailing list rules & guidelines (Mailing list Regeln & Leitfaden):
http://typo3.org/community/mailing-lists/
http://typo3.org/community/mailing-lists/mailing-list-rules-guidelines/
More information about the TYPO3-project-rte
mailing list