Skip to content

Commit

Permalink
Don’t override pre_render hooks for email wysiwyg editors.
Browse files Browse the repository at this point in the history
  • Loading branch information
torotil committed Dec 6, 2017
1 parent b17a4b2 commit 9ee5a42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion campaignion_wizard/src/Email.php
Expand Up @@ -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");
Expand Down

0 comments on commit 9ee5a42

Please sign in to comment.