[TYPO3-RTE] tinymce_rte templates unwanted wraps and disapearing tag

Tapio Markula tapio.markula at xetpoint.fi
Sun Mar 29 17:20:12 CEST 2009


Andreas Burg
>> 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?

doesn't relate with specific config but the template has h1 or some 
other heading element

  I cannot confirm this.
> Additional or wrapped with P?

additional P tag

>> 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.
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


More information about the TYPO3-project-rte mailing list