diff --git a/campaignion_wizard/src/Email.php b/campaignion_wizard/src/Email.php index e92563dba..ae95e5ed7 100644 --- a/campaignion_wizard/src/Email.php +++ b/campaignion_wizard/src/Email.php @@ -73,7 +73,6 @@ protected function &getEmailForm(&$form_state) { $email_form['template']['template']['#type'] = 'text_format'; $email_form['template']['template']['#format'] = $email['html'] ? $formats['html'] : $formats['plain']; $email_form['template']['template']['#wysiwyg'] = TRUE; - $email_form['template']['template']['#pre_render'][] = 'wysiwyg_pre_render_text_format'; // needed for ['template']['tokens'] which does not load js via #collapsible // tokens it is only html markup drupal_add_library("system", "drupal.collapse");