Forums / Developer / How to override default value "align" of embed tag

How to override default value "align" of embed tag

Author Message

Fabien Mas

Thursday 30 April 2009 1:15:59 am

Hi,
In this file \kernel\classes\datatypes\ezxmltext\ezxmlschema.php, I have found the default value of 'align' attribute of 'embed' tag

 'attributesDefaults' => array( 'align' => 'right', 'view' => 'embed', 'class' => '' ) ),

I'd like to change this value without hacking this file
I've tried this in my content.in file, but it changes nothing

[embed]
CustomAttributes[]=align
CustomAttributesDefaults[align]=My_value

How can I do ?

thx for your help, Fabien