Answers.Body: <p>Ah, I've figured out the problem after looking at the code in ./sites/all/modules/civicrm/CRM/Admin/Form/MessageTemplates.php. The WYSIWYG editor is only shown if the message template is not a system message</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-27T18:40:18.000Z
Answers.Text: Yes, system message templates use Smarty which I guess is why WYSIWYG isn't offered
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-03-27T07:56:47.830Z
Answers.LastActivityDate: 2018-03-27T07:56:47.830Z
Answers.UserDisplayName: user2430147
Body: <p>I am trying to edit a "Message Template" in CiviCRM 4.7.30 and Drupal 7.57, but the "HTML Format" is not showing a WYSIWYG editor, just a plain text editor.</p>
  
  <p>I have gone to CiviCRM -> Administer -> Customise Data and Screens -> Display Preferences.  The "WYSIWYG Editor" setting is "CKEditor" (this is the only option).</p>
  
  <p>In Drupal, I have the WYSIWYG module installed.</p>
  
  <p>Any thoughts?</p>
  
  <p>Thanks,</p>
  
  <p>Carl </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-25T22:03:04.037Z
Comments.Text: Can you run a comparison with what is on dmaster.demo.civicrm.org
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-26T18:57:19.193Z
Comments.Text: It is the same - the "HTML Format" section shows the raw HTML of the template, rather than a WYSIWYG".
Comments.UserDisplayName: user2430147
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-26T19:13:06.557Z
Comments.Text: Ah, I've figured out the problem after looking at the code in ./sites/all/modules/civicrm/CRM/Admin/Form/MessageTemplates.php.  The WYSIWYG editor is only shown if the message template is not a system message
Comments.UserDisplayName: user2430147
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-26T19:19:30.963Z
Comments.Text: Ah right. That wasn't obvious in the question. Anyhow, go ahead and Answer and Accept your own question and help close this off
Comments.UserDisplayName: petednz - fuzion
Tags: <drupal><wysiwyg>
Title: WYSIWYG editor not appearing in CiviCRM and Drupal
ThreadText: # WYSIWYG editor not appearing in CiviCRM and Drupal
  
  (Asked by: username_0 on 2018-03-25)
  
  I am trying to edit a "Message Template" in CiviCRM 4.7.30 and Drupal 7.57, but the "HTML Format" is not showing a WYSIWYG editor, just a plain text editor.
  
  I have gone to CiviCRM -> Administer -> Customise Data and Screens -> Display Preferences. The "WYSIWYG Editor" setting is "CKEditor" (this is the only option).
  
  In Drupal, I have the WYSIWYG module installed.
  
  Any thoughts?
  
  Thanks,
  
  Carl
  
  **Tags:** drupal, wysiwyg
  
  > **Comments:**
  > **username_1**: Can you run a comparison with what is on dmaster.demo.civicrm.org  
  > **username_0**: It is the same - the "HTML Format" section shows the raw HTML of the template, rather than a WYSIWYG".  
  > **username_0**: Ah, I've figured out the problem after looking at the code in ./sites/all/modules/civicrm/CRM/Admin/Form/MessageTemplates.php.  The WYSIWYG editor is only shown if the message template is not a system message  
  > **username_1**: Ah right. That wasn't obvious in the question. Anyhow, go ahead and Answer and Accept your own question and help close this off  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-03-27. Score: 1
  
  Ah, I've figured out the problem after looking at the code in ./sites/all/modules/civicrm/CRM/Admin/Form/MessageTemplates.php. The WYSIWYG editor is only shown if the message template is not a system message
  
  > **Comments:**
  > **username_1**: Yes, system message templates use Smarty which I guess is why WYSIWYG isn't offered  
  
  ---
  
  