1 ckeditor.admin.inc ckeditor_settings_form_submit($form, &$form_state)

Additional submit handler for filter_admin_format_form().

File

core/modules/ckeditor/ckeditor.admin.inc, line 99

Code

function ckeditor_settings_form_submit($form, &$form_state) {
  $settings = $form_state['values']['editor_settings'];
  form_set_value($form['editor_settings']['toolbar'], json_decode($settings['toolbar'], TRUE), $form_state);

  $styles = _ckeditor_settings_parse_style_list($settings['plugins']['style']['style_list']);
  form_set_value($form['editor_settings']['plugins']['style']['style_list'], $styles, $form_state);
}