[TYPO3] allowTagsOutside not working...
    Pierre-Luc Drouin 
    pldrouin at cyberfingers.net
       
    Sat Feb 17 21:19:17 CET 2007
    
    
  
Hi,
I have been trying for many hours without success to allow a <br> tag 
outside a <p> block. RTE always add <p> and </p> around the <br> tag 
when I save the page content. According to what I have found, I have to 
add the br tag to RTE.default.proc.allowTagsOutside in page tsconfig. I 
have tried this, but it did not work. I have read also that this was 
allowed for the <img> tag by default, but even this does not work. So I 
have tried to install the cbstarter extension that basically allows all 
tags outside a <p> block, but it did not fix it.
So right now when I look at Web->Info for the page, I see almost all 
existing tags, including br, in the allowTagsOutside property of the 
following objects:
RTE.default.proc.entryHTMLparser_db
RTE.default.proc
RTE.default
RTE.default.FE.proc.entryHTMLparser_db
RTE.default.FE.proc
RTE.default.FE
RTE.config.tt_content.bodytext.proc.entryHTMLparser_db
RTE.config.tt_content.bodytext.proc
dontConvBRtoParagraph is also set to 1 for the following objects:
RTE.default.proc
RTE.default.FE.proc
RTE.config.tt_content.bodytext.proc
I have noticed the following thing: When I use the RTE editor, the <p> 
tag is added when I save the page content. When I check the "Disable 
Rich Text Editor" checkbox and edit the html code directly, the <p> tag 
is not added at save time. However, in both cases, the <p> tag is there 
when I look at the source of the generated FE page.
<p class="bodytext"><br /> </p>
I am using Typo3 4.0.4 with rtehtmlarea 1.4.3 . I have also tried with 
rtehtmlarea 1.3.8.
Is this a known problem with RTE? What am I doing wrong if not?
Thanks!
Pierer-Luc Drouin
    
    
More information about the TYPO3-english
mailing list