[TYPO3-english] HTMLarea RTE: Problem with <p> being added around hr and img

Samrat Chakraborty Samrat.Chakraborty at lntinfotech.com
Fri Sep 11 07:58:41 CEST 2009


I am not clear with the problem....but which RTE are U using.
I suggest use TinyMCE_RTE 0.4.0.
I used rtehtmlarea1.7.9 and faced lot of such issues as i could'nt embed
flash etc...
but  TinyMCE_RTE 0.4.0. rescued me from all the problems and it works with
tt_news,products and DAM etc....
Thanks and Regards

Samrat Chakraborty

Software Engineer
Consulting Group
I Tech. Tower, 6th Floor I
L&T Infotech Ltd. I Powai, Mumbai I
Ph: 022 6776 7327 I Extn:7327 I
Cell:09920563033


Larsen & Toubro Infotech Ltd.
www.Lntinfotech.com

This Document is classified as:

|------|
| [X]  |
|------|L&T Infotech Proprietary   |------|
                                   | [ ]  |
                                   |------|L&T Infotech Confidential   |------|
                                                                       | [ ]  |
                                                                       |------|
L&T Infotech Internal Use Only   |------|
                                 | [ ]  |
                                 |------|L&T Infotech General Business

This Email may contain confidential or privileged information for the
intended recipient (s) If you are not the intended recipient, please do not
use or disseminate the information, notify the sender and delete it from
your system.


                                                                           
             Daniel Rutzen                                                 
             <ardan at gmx.net>                                               
             Sent by:                                                   To 
             typo3-english-bou         typo3-english at lists.netfielders.de  
             nces at lists.netfie                                          cc 
             lders.de                                                      
                                                                   Subject 
                                       [TYPO3-english] HTMLarea RTE:       
             09/10/2009 05:10          Problem with <p> being added around 
             PM                        hr and img                          
                                                                           
                                                                           
             Please respond to                                             
               TYPO3 English                                               
             <typo3-english at li                                             
             sts.netfielders.d                                             
                    e>                                                     
                                                                           
                                                                           




Hello,
my head is going to explode as I can't find a solution to my problems:


First Problem: From DB -> FE

My RTE content looks like this (htlm view)

<p><img src="http://localhost/typo/bla.jpg" /></p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr</p>
<hr />
<div class="test"><p>div test</p></div>


BUT: at the frontent, somehow the <hr> got wrapped within a <p> as well!

<p><img src="http://localhost/typo/bla.jpg" /></p>
<p>Lorem ipsum dolor sit amet, consetetur sadipscing elitr</p>
<p><hr />
<div class="test"><p>div test</p></div>  </p>


I tried "allowTagsOutside = hr, address, img" in my page TSconfig, with
no luck :-(



SECOND Problem: just RTE

How can I prevent the RTE from automatically wrapping
<img /> in <p></p>-tags?

I also dont want the text withing a <div>-tag being wrapped in <p> as
well :-/
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.netfielders.de
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english

______________________________________________________________________



______________________________________________________________________


More information about the TYPO3-english mailing list