diff --git editors/markitup.inc editors/markitup.inc index 1b030f8..faa68b2 100644 --- editors/markitup.inc +++ editors/markitup.inc @@ -97,9 +97,11 @@ function wysiwyg_markitup_themes($editor, $profile) { * Drupal.settings.wysiwyg.configs.{editor} */ function wysiwyg_markitup_settings($editor, $config, $theme) { - // Whoever is guilty for adding this horrible CSS-file-without-filepath - // override "feature" to Drupal core... stand in the corner! - drupal_add_css($editor['library path'] . '/markitup/skins/' . $theme . '/style.css', 'theme'); + drupal_add_css($editor['library path'] . '/markitup/skins/' . $theme . '/style.css', array( + 'basename' => 'markitup.' . $theme . '.style.css', + 'group' => CSS_THEME, + ) + ); $settings = array( 'root' => base_path() . $editor['library path'] . '/markitup/',