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.
Our Drupal theme defines CSS for printing using the group print
stylesheets[all][] = css/main.css
stylesheets[all][] = css/responsive.css
stylesheets[print][] = css/print.css
What was observed: The Wysiwyg module apply all CSS defined in the .info file, including the print.css style.
What was expected: The Wysiwyg module should only apply the styles set for the group all, or at least, ignore the styles set for special groups such as print.
NOTE: I have tried the latest dev version (as of 30 Apr 2019). It has a fix for a similar CSS issue (https://www.drupal.org/project/wysiwyg/issues/2884691) but that didn't fix the print issue.
Comment | File | Size | Author |
---|---|---|---|
#2 | wysiwyg.print-css.3051597.1.patch | 545 bytes | TwoD |
Comments
Comment #2
TwoDCould you please check if this patch helps?
You may need to clear caches after applying it.
Comment #4
TwoDI've not run in to any issues with this so far so committing it. Thanks for reporting it!