[Typo3] Single line break? shift+return does not work

Brian Bendtsen brb at mentor-it.dk
Wed Nov 9 10:23:54 CET 2005


JoH wrote:
>>>>hi - there's a way to fix this with the rte editor, if you install
>>>>an extension, was it "Rich Text Editor pre-configuration" and/or
>>>>"htmlArea RTE" ???  i don't have the details at the moment but will
>>>>be solving the same problem myself in a few days.  will try to post
>>>>the info. - antje
>>>>
>>>>
>>>>>When I use shift + return in the text-editor it insert at single
>>>>>line break, but when I save the page the single line breaks turns
>>>>>into a double line break?
>>>>>
>>>
>>>Add this to your page TS config:
>>>
>>>RTE.default{
>>>    proc {
>>>           dontConvBRtoParagraph = 1
>>>    }
>>>}
>>>
>>>Regs. Peter.
>>>
>>
>>Hi
>>
>>Im not quite sure where to do this, in my template?
> 
> 
> Peter said: Add this to your page TS config:
> And this is exactly the place where you should do this.
> Edit your page header (like you do when you want to change the title).
> There you find a textarea called "TS config".
> Fill in the code, save the page and you're done.
> If you do this at your root page it will affect the whole page tree, so you
> just have to it once.
> 
> Be sure to edit the desired content elements again since the conversion is
> done while saving to the DB.
> 
> Joey
> 
Hi

Thank you, now I got it :)

/Brian Bendtsen



More information about the TYPO3-english mailing list