diff --git a/editors/ckeditor.inc b/editors/ckeditor.inc
index fee3587..1f9b0ce 100644
--- a/editors/ckeditor.inc
+++ b/editors/ckeditor.inc
@@ -130,8 +130,7 @@ function wysiwyg_ckeditor_themes($editor, $profile) {
* @see http://docs.cksource.com/CKEditor_3.x/Developers_Guide/Styles
* @see http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.stylesSet
*/
-function wysiwyg_ckeditor_settings_form(&$form, &$form_state) {
- $editor = wysiwyg_get_editor($form['editor']['#value']);
+function wysiwyg_ckeditor_settings_form(&$form, &$form_state, $profile, $editor, $plugins) {
if (version_compare($editor['installed version'], '3.2.1', '>=')) {
// Replace CSS classes element description to explain the advanced syntax.
$form['css']['css_classes']['#description'] = t('Optionally define CSS classes for the "Font style" dropdown list.
Enter one class on each line in the format: !format. Example: !example
If left blank, CSS classes are automatically imported from loaded stylesheet(s).', array(
diff --git a/wysiwyg.admin.inc b/wysiwyg.admin.inc
index 12ebd11..6337b4e 100644
--- a/wysiwyg.admin.inc
+++ b/wysiwyg.admin.inc
@@ -301,7 +301,7 @@ function wysiwyg_profile_form($form, &$form_state, $profile) {
// Allow editor library specific changes to be made to the form.
if (isset($editor['settings form callback'])) {
- $editor['settings form callback']($form, $form_state);
+ $editor['settings form callback']($form, $form_state, $profile, $editor, $plugins);
}
return $form;