Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I wanted to add a class to all images inserted with IMCE so that I could style them without also styling smileys, and it's a simple case of adding class="imce"
to line 23 of imce_set_inline.js so that img src="...
becomes img class="imce" src="...
. I figured this would be a failry useful feature, maybe even making it an option in the admin panel so users could customise the class assigned to images.
Comments
Comment #1
ufku CreditAttribution: ufku commented