Answers.Body: <p>Editor can be disabled completely by the following </p>
  
  <p>Administer > Customize Data and Screens > Display Preferences.
  CKEditor  can be changed to TextArea</p>
  
  <p><a href="http://book.civicrm.org/user/current/initial-set-up/customizing-the-user-interface/" rel="nofollow">http://book.civicrm.org/user/current/initial-set-up/customizing-the-user-interface/</a></p>
  
  <hr>
  
  <p><strong>For specify Action</strong> </p>
  
  <p>Editor can be disabled before editing the template using SQL </p>
  
  <p>civicrm_setting table holds the CKEditor setting </p>
  
  <p>Id: -         11</p>
  
  <p>Group name: - CiviCRM Preferences</p>
  
  <p>Name: -        editor_id    </p>
  
  <p>Value: - s:1:"2";</p>
  
  <p>If the value is made null then it changes to Text Area and later it can be changed back to CKEditor </p>
  
  <p>But, any member accessing the Editor at the every moment like in contact summary screen for creating PDF at the same time cannot view Editor till this is been changed -</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-10T19:08:44.507Z
Answers.Text: I'm editing the question to clarify: I want to disable only when editing the templates, the rest should stay the same
Answers.UserDisplayName: Xavier
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-10T14:58:45.227Z
Answers.LastActivityDate: 2015-09-10T16:09:59.150Z
Answers.LastEditDate: 2015-09-10T16:09:59.150Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Body: <p>I'm trying to add the "shortlink" html schema so my users on gmail can have the direct link to RSVP to the event or confirm their signature for the petition</p>
  
  <p>Unfortunately, the editor on civicrm fubar the html to the point gmail can't recognise it anymore</p>
  
  <p>Is this possible to disable the editor only when editing the mail template? So my users still have the wysiwyg editor when composing their mail, just the admins being able to write nice html templates without having the html editor messing up</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-10T22:16:29.207Z
Comments.Text: Have you tried clicking the Source button in the editor, which allows you to directly modify the html?
Comments.UserDisplayName: DaveD
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-11T15:16:30.500Z
Comments.Text: I did, but then the editor still kicks in and reformat it and decides to add spans and reshuffle some tags around unfortunately
Comments.UserDisplayName: Xavier
Tags: <email><wysiwyg>
Title: Is there a way to disable the wysiwyg editor when editing mail templates?
ThreadText: # Is there a way to disable the wysiwyg editor when editing mail templates?
  
  (Asked by: username_0 on 2015-09-10)
  
  I'm trying to add the "shortlink" html schema so my users on gmail can have the direct link to RSVP to the event or confirm their signature for the petition
  
  Unfortunately, the editor on civicrm fubar the html to the point gmail can't recognise it anymore
  
  Is this possible to disable the editor only when editing the mail template? So my users still have the wysiwyg editor when composing their mail, just the admins being able to write nice html templates without having the html editor messing up
  
  **Tags:** email, wysiwyg
  
  > **Comments:**
  > **username_1**: Have you tried clicking the Source button in the editor, which allows you to directly modify the html?  
  > **username_0**: I did, but then the editor still kicks in and reformat it and decides to add spans and reshuffle some tags around unfortunately  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-09-10. Score: 2
  
  Editor can be disabled completely by the following
  
  Administer > Customize Data and Screens > Display Preferences.
  CKEditor can be changed to TextArea
  
  <http://book.civicrm.org/user/current/initial-set-up/customizing-the-user-interface/>
  
  ---
  
  **For specify Action**
  
  Editor can be disabled before editing the template using SQL
  
  civicrm\_setting table holds the CKEditor setting
  
  Id: - 11
  
  Group name: - CiviCRM Preferences
  
  Name: - editor\_id
  
  Value: - s:1:"2";
  
  If the value is made null then it changes to Text Area and later it can be changed back to CKEditor
  
  But, any member accessing the Editor at the every moment like in contact summary screen for creating PDF at the same time cannot view Editor till this is been changed -
  
  > **Comments:**
  > **username_0**: I'm editing the question to clarify: I want to disable only when editing the templates, the rest should stay the same  
  
  ---
  
  