You are here

function tinymce_wysiwyg_settings_form_submit in TinyMCE 7

Additional submit handler for the wysiwyg_profile_form().

1 string reference to 'tinymce_wysiwyg_settings_form_submit'
tinymce_form_wysiwyg_profile_form_alter in includes/tinymce.wysiwyg.inc
Implements hook_form_FORM_ID_alter().

File

includes/tinymce.wysiwyg.inc, line 76
Provides all integration hooks with WYSIWYG module.

Code

function tinymce_wysiwyg_settings_form_submit($form, &$form_state) {

  // Move the settings back out of the editor_settings parents so they save.
  $form_state['values'] = array_merge($form_state['values'], $form_state['values']['editor_settings']);
  unset($form_state['values']['editor_settings']);
}