[TYPO3] RTE-row spaces, fonts?

Aleksandar Milovac aleksandar.milovac at rns-nis.co.yu
Wed May 17 07:10:09 CEST 2006


Thanks Erik!


Erik Svendsen wrote:
> Hello Aleksandar,
> 
>> Hi everyone,
>>
>> I'been using T3 v4 on my linux box. I have a question regarding RTE.
>> When I'm writing something and press enter to go to the next line,
>> space between two lines looks as if are two empty rows between these
>> two lines.
>>
>> Something like this:
>>
>> Bla, bla....
>>
>> Bla, bla...
>>
>> , but I want it to look like this:
>>
>> Bla, bla....
>> Bla, bla....
>> What seems to be the problem?
> 
> Nothing, when you hit enter you end a paragraph and put a p-tags before and 
> after, like <p>Some text....</p>. To don't get any space between, use shift-enter 
> who makes a linebreak <br />. With css you can change the distance between 
> the paragraphs.
> 
> But RTE behaves like it should regarding to paragraph end (enter) and line-break 
> (shift-enter).
>  
>> Also, how to change the defaul font size and font family? There are no
>> these drop down lists in RTE anymore?
>>
>> Thanks!
> 
> Look in the documentation for HTMLArea how to enable/unenable different buttons/dropdown. 
> But normaly you shouldn't allow end-users to change font-size and fontfamily 
> (and the font-tag is depreciated). It's better to define classes and css 
> who gives the user opportunity to do changes who don't break the design. 
> Wrapped in the span-tag.
>  
> WBR,
> Erik Svendsen
> www.linnearad.no
> 
> 
> _______________________________________________
> 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