Thanks André. Well, I didn't guess for one second that I had to declare the new class both under [embed] AND [embed-type_images] ... And it works only if you put it on /root/settings/override/content.ini.append.php and not on /root/extension/my_site_design/settings/siteaccess/my_site/content.ini.append.php, as classes for links, etc. are OK in the second one...
[table]
Defaults[class]=myclass
# For custom attributes:
#CustomAttributesDefaults[<custom_attribute>]=<value>
Or using ezoe_attributes.ini where you can also specify a lot more on how attributes/custom-attributes are shown(see file in ezoe/settings for details).
Following the first reply from André R., I was able to add a class of "slide" to my embed images, but only from /settings/override/content.ini.append.php.
When I used /extension/my_project/settings/content.ini.append.php this did not work.
@Benjamin : I had got the same problem as you. It's because the settings/override/content.ini.append.php reset the value of AvailablesClasses. To fix it, remove the line
AvailablesClasses[] on the settings/override/content.ini.append.php file. Then your extension settings should prevail.
You must be logged in to post messages in this topic!