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.
Hi,
Thanks for the module!
I'll love to have the option to remove also the default classes of the wrapper element. We're a little obsessed with creating clean HTML lately.
I've attached a patch that changes the way the settings form works. It adds three checkboxes "Add default classes" checked by default.
BR,
Comment | File | Size | Author |
---|---|---|---|
#2 | 1826764-allow-removing-wrappers-default-classes-2.patch | 5.25 KB | mcjim |
allow-removing-wrappers-default-classes.patch | 4.68 KB | luisortizramos |
Comments
Comment #1
luisortizramos CreditAttribution: luisortizramos commentedI've been using it for a week and the patch works fine. So I'm marking it as reviewed by the community.
Comment #2
mcjim CreditAttribution: mcjim commentedUpdated patch to apply to latest dev.
Review of previous patch: great idea! More control over the default classes is very welcome.
Comment #3
berdyshev CreditAttribution: berdyshev commented@mcjim, what is the different between two patches? As I can see, you have just attached the same patch as in topic but with wrong file paths.
Comment #4
pyxio CreditAttribution: pyxio commentedI was wondering since these are only notices and critical to proper functionality, is there anyway to turn them off within the module itself so they we can still use the module but these notices don't overwhelm the log? If there is a temporary patch for that it would be greatly appreciated until the issue generating the notices is resolved. cheers Kevin