[TYPO3] RTE and linebreaks

Xavier Perseguers typo3 at perseguers.ch
Thu Sep 25 15:38:40 CEST 2008


Hello,

> I have a question about RTE: is there any way to choose, how
> linebreaks will be interpreted?
> Because sometimes I want them make new paragraph (<p>...</p>) and
> sometimes just insert <br /> tag.
> 
> By default, when I click 'Enter' on my keyboard, a new paragraph is
> inserted. And I cann't see any way to add <br /> tag in RTE (only by
> clicking "Toggle HTML Source" and inserting it manually - but it's not
> the good way...).
> 
> I will be glad to read any ideas and propositions.

Enter means "new paragraph", that is the same with text editors, for 
instance MS Word. Use Shift-Enter instead to get a newline (same in MS 
Word).

You may have to configure RTE a bit with "dontConvBRtoParagraph = 1". 
Please read the manual for more information.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html


More information about the TYPO3-english mailing list