--- a/editors/ckeditor.inc 2012-05-16 12:26:14.336689868 +0200 +++ b/editors/ckeditor.inc 2012-05-16 13:44:21.812845974 +0200 @@ -167,7 +167,7 @@ $settings['contentsCss'] = reset(wysiwyg_get_css()); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['contentsCss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme())); + $settings['contentsCss'] = strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme(), '%d' => drupal_get_path('theme', variable_get('theme_default', NULL)))); } } else { @@ -175,7 +175,7 @@ $settings['contentsCss'] = wysiwyg_get_css(); } elseif ($config['css_setting'] == 'self' && isset($config['css_path'])) { - $settings['contentsCss'] = explode(',', strtr($config['css_path'], array('%b' => base_path(), '%t' => path_to_theme()))); + $settings['contentsCss'] = explode(',', strtr($config['css_path'], array('%b' => base_path(), '%d' => drupal_get_path('theme', variable_get('theme_default', NULL))))); } } }