[TYPO3] Dummy Installation 4.2.1 + rte in a frontend-plugin + linebreaks will be lost after saving the page

Konrad Schiertz konrad at schiertz.de
Tue Sep 2 10:31:45 CEST 2008


Hi Andreas,

OK...

so i will still searching why in the "Content element type text" the 
htmlarea generates p Tags with   and in the "frontend-plugin" 
generates only empty p Tags.

Perhaps the class.t3lib_parsehtml_proc.php will be my friend... or not ;-)

Konrad

Andreas Burg schrieb:
> Konrad Schiertz schrieb:
>>> Creating paragraphs is no problem, but after saving the page the 
>>> paragraphs in my frontend-plugin rte are lost. I can't realize why?
>>
>> I have uploaded the dummy typo3 site on my webpack. I hope then you 
>> will unterstand my problem and someone could help me.
>>
>> http://www.schiertz.de/typo3test/typo3/
>>
>> User: tester
>> PW: tester
>>
>> Konrad
> 
> Hello Konrad,
> 
> I've tested it and it seems to work nearly perfect.
> 
> Content element type text holds this:
> <p>row1</p>
> <p>row2</p>
> <p>&nbsp;</p>
> <p>row3<br />row4</p>
> 
> Content of your extension holds this:
> <p>row1</p><p>row2</p><p></p><p>row3<br />row4</p>
> 
> After I've saved the page(???) it's still the same.
> 
> But I see your problem. an empty <p></p> is treated by FF2.0.0.16 and 
> IE6 as if it did not exist, in opposition to a paragraph with a 
> whitespace <p>&nbsp;</p>. I'm sure you can adjust this somehow, sorry, I 
> don't know how. I've seen it somewhere, something similar emptyParagraph 
> I believe. Perhaps you try to work without empty paragraphs, in semantic 
> it doesn't make sence anyway.
> 
> Andreas


More information about the TYPO3-english mailing list