[TYPO3-RTE] Changing the font-size list

Stig Kjeldsen sk at itu.dk
Tue Apr 1 12:37:54 CEST 2008


Hi Stanislas

Thx for answer!

Best regards

Stig Kjeldsen

Stanislas Rolland skrev:
> Hi Stig,
> 
> This is not currently possible.
> 
> One issue with fontsize is that each browser has it's own definition of 
> font sizes.
> 
> The other issue is that most browsers use deprecated font tag to produce 
> it and the old size attribute of the font tag with values from 1 to 6. 
> So the RTE would need to be modified to insert class or style attributes 
> on current element, or add a span tag, etc.
> 
> Same issue with font family.
> 
> Regards,
> Stanislas
> 
> 
> 
> Stig Kjeldsen a écrit :
>> Is it possible to change the list of font-sizes?
>>
>> From
>> 1 (8pt)
>> 2 (10pt)
>> .
>> .
>> .
>> 6 (24pt)
>> 7 (36pt)
>>
>>
>> Like this:
>>
>> RTE.fontSizes {
>>   fontsize1 {
>>     name = 8px
>>     value = 8px
>>   }
>>   fontsize2 {
>>     name = 9px
>>     value = 9px
>>   }
>> }
>>
>> RTE.default.fontSizes = fontsize1, fontsize2
>>
>>
>> Best regards
>>
>> Stig Kjeldsen
>>
>>
> 


More information about the TYPO3-project-rte mailing list