diff --git sites/all/modules/custom/wysiwyg/wysiwyg.module sites/all/modules/custom/wysiwyg/wysiwyg.module index dd56833..5054667 100644 --- wysiwyg.module +++ wysiwyg.module @@ -523,10 +523,12 @@ function wysiwyg_get_plugins($editor_name) { * Return an array of initial editor settings for a Wysiwyg profile. */ function wysiwyg_get_editor_config($profile, $theme) { + drupal_alter('wysiwyg_editor_config', $profile, $theme); $editor = wysiwyg_get_editor($profile->editor); $settings = array(); if (!empty($editor['settings callback']) && function_exists($editor['settings callback'])) { $settings = $editor['settings callback']($editor, $profile->settings, $theme); + drupal_alter('wysiwyg_editor_settings', $settings, $editor, $profile->settings, $theme); } return $settings; }