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.
Patch attached checks whether the $selector_str variable already exists or not in the $disassembled_css array. It makes sure the declaration of a selector is merged into one array instead of overwriting it.
Got on this while doing tests with Sweaver by first doing some changes with the editor and since we don't have support for all possible properties yet (think border-radius and such), we use another plugin to add some custom css. However when using ctools_filter, we lose some of those declarations when saving our configuration and writing the css file.
Comment | File | Size | Author |
---|---|---|---|
ctools_css_disassemble.patch | 926 bytes | swentel |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedCommitted to D6. Looks like this is already in D7.