[TYPO3-RTE] tinymce_rte templates unwanted wraps and disapearing tag
Peter Klein
peter at umloud.dk
Mon Mar 30 21:28:39 CEST 2009
Hi Andreas.
Have you tried adding "img" to the
"lib.parseFunc_RTE.nonTypoTagStdWrap.encapsLines.encapsTagList" taglist?
(Untested)
--
Peter
"Andreas Burg" <typo3 at andreasburg.de> wrote in message
news:mailman.1.1238350454.9005.typo3-project-rte at lists.netfielders.de...
> Tapio,
>
>> Typo3 wraps as default images with p tag. You can disable that behavior.
>> You can set for the P tag a class and set for that class margin:0
>
> it would be nice, if someone can tell me how to disable this rendering of
> P elements around IMG elements. As far as I know, IMG elements may occur
> as child in block-elements except PRE, inline-elements and with HTML
> Transitional even within the body-element.
>
> Setting margin:0 is not enough, you also need display:inline, BUT I don't
> need a P-element around an IMG-element anyway.
>
> --
> 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