[TYPO3-RTE] allowing align atribute for img tag

Stanislas Rolland typo3 at sjbr.ca
Thu Apr 23 15:46:40 CEST 2009


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