First of all thanks for a great module.

I'm not sure what the status is on adding the ability to configure skins with TinyMCE.
The code in wysiwyg module seems to suggest it was written what such functionality in mind ($theme variable in editors/

I found solution to "hack it" here Even if one shouldn't hack a modules core, I think it is good to intermittently document where these settings are done, so that one can find it on, because this is a hack I'm going to need every time I use TinyMCE until Wysiwyg allow us to change skins in a better way.

row 148 of

theme' => 'advanced', 
'skin' => 'o2k7', 
'skin_variant' => "silver",


TwoD’s picture

Status:Active» Closed (duplicate)

I posted a reply to that article, but it got messed up a bit and is now in moderation. Will copy it below:

There is normally no need to hack Wysiwyg for a simple setting like this.

We do not have a GUI to set it yet, but you can still override the skin without touching Wysiwyg or TinyMCE.

Look in wysiwyg.api.php under hook_wysiwyg_editor_settings_alter().


name = Custom module
description = Does some custom things for my site
core = 7.x


 * Implements hook_wysiwyg_editor_settings_alter().
function custom_wysiwyg_editor_settings_alter(&$settings, $context) {
  if (
$context['profile']->editor == 'tinymce') {
$settings['skin'] = 'o2k7';
$settings['skin_variant'] = 'silver';

That will take care of enabling the skin, but as you noted, you probably need to tweak the CSS a bit. That should be possible to put in your theme's stylesheet though, avoiding problems with updates overwriting your tweaks.

(We already have #414496: Allow to select editor theme/skin so I'll mark this a duplicate.)

leanderl’s picture

Sweet! Will try that. Thanks for the reply!

prairiebean’s picture

Just a note that I tried this function in the theme layer in Template.php, and that works too. Thanks!

Yuri’s picture

Issue summary:View changes

That is a nice solution! I have a question for you guys...I want to use a skin for a specific content type.
How could I extend the code above to check for the content type?