[TYPO3-RTE] allowing align atribute for img tag

Lukas Stancik lukas.stancik at robe.cz
Thu Apr 23 23:51:06 CEST 2009


Stanislas, thank you for your reply, I really appreciate that you took 
time to do so. I know that such attribute is deprecated of course, but 
setting the align property through css will not help me in this 
particular case. Do I understand it right that it's not possible to set 
the RTE to produce align attribute inside img tag at all? Simple yes/no 
will do. Thanks a lot again.

Best Regards

Lukas

Stanislas Rolland napsal(a):
> Hi Lukas,
>>
>> I'd to kindly ask you for your help. I need to have <img> tag with 
>> corresponding align attribute set rendered in frontend. So far I have 
>> only eg. style="float: right;" set for the image tag if I chose 
>> right-align in the insert image dialog, but I need also align="right" 
>> in this case. Is it possible to configure RTE to behave such way? I've 
>> searched and read tons of docs about RTE settings but I'm getting a 
>> bit lost :)
>>
>> Could you please advice? Thank you very much in advance.
>>
> The align attribute is deprecated. Define a class with text-align:right 
> and apply it to a containing block element. Such a class named 
> "align-right" exists as an example in the default configuration.
> 
> Regards,
> Stanislas
> 
> 
> 


More information about the TYPO3-project-rte mailing list