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.
Hello,
After installing Bootstrap theme and configured it so it uses a CDN to serve the bootstrap.min.css file instead of serving it locally. That file was not added to the Iframe holding the editor (tinyMCE in my case).
wysiwyg_get_css() uses drupal_add_css() which seems to return an incomplete list when css_alter() is called later by a theme.
I propose to call drupal_alter('css', $css); before creating the list of css files
Comment | File | Size | Author |
---|---|---|---|
wysiwyg-wysiwyg_get_css_hook_alter_css.patch | 593 bytes | cedricdo |
Comments
Comment #1
TwoDThis should have been indirectly fixed by #2289683: Select in-editor theme and get all stylesheets.