Answers.Body: <p>Please refer the below link </p>
  
  <p><a href="https://civicrm.stackexchange.com/questions/6337/is-there-a-way-to-disable-the-wysiwyg-editor-when-editing-mail-templates">Is there a way to disable the wysiwyg editor when editing mail templates?</a></p>
  
  <p>you need to disable the Editor before user access the editor page</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T10:03:58.860Z
Answers.Text: Hi Ramesh.. I don't think the link answers the question. In the Tell a Friend Page it always shows in HTML. We can disable to Text Area but how do we relate it to Drupal roles or anonymous vs signed in users?
Answers.UserDisplayName: Sohal Khatwani
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T10:17:27.967Z
Answers.Text: this is bit hard seriously when you provide the link for an user you need text and for admin you need Editor but we don't have different setting for this - but still if you default it to text and whenever admin is using it you can change that to editor and roll back to text area once job is done - this i guess you can do with an extension -
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-10-01T04:58:52.407Z
Answers.Text: Thanks Ramesh. However, it is not feasible as a solution. In Drupal for example we have Roles and options in CK Editor to setup which roles get or are seen what type of editors. To me giving HTML to anonymous users is not good practice and it should be editable. I will leave this open in case anyone else has suggestions. Cheers.
Answers.UserDisplayName: Sohal Khatwani
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-30T09:06:13.057Z
Answers.LastActivityDate: 2015-09-30T09:06:13.057Z
Answers.LastEditDate: 2017-04-13T12:53:13.167Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Body: <p>In the online contribution section when we enable Tell A friend as a option we noticed that the option for an anonymous user only shows in a WYSIWYG Editor format. This is high risk and we would like to avoid it by only allowing admins to use the WYSIWYG Editor. However, I only see one option in the Customise Data section whichs says use the WYSIWYG Editor or not i.e. CKeditor, TinyMCE and Text area. </p>
  
  <p>Is there a way to control access based on a users role. </p>
  
Tags: <civicontribute>
Title: WYSIWYG Editor Permissions
ThreadText: # WYSIWYG Editor Permissions
  
  (Asked by: username_0 on 2015-09-30)
  
  In the online contribution section when we enable Tell A friend as a option we noticed that the option for an anonymous user only shows in a WYSIWYG Editor format. This is high risk and we would like to avoid it by only allowing admins to use the WYSIWYG Editor. However, I only see one option in the Customise Data section whichs says use the WYSIWYG Editor or not i.e. CKeditor, TinyMCE and Text area.
  
  Is there a way to control access based on a users role.
  
  **Tags:** civicontribute
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-09-30. Score: 1
  
  Please refer the below link
  
  [Is there a way to disable the wysiwyg editor when editing mail templates?](https://civicrm.stackexchange.com/questions/6337/is-there-a-way-to-disable-the-wysiwyg-editor-when-editing-mail-templates)
  
  you need to disable the Editor before user access the editor page
  
  > **Comments:**
  > **username_0**: Hi Ramesh.. I don't think the link answers the question. In the Tell a Friend Page it always shows in HTML. We can disable to Text Area but how do we relate it to Drupal roles or anonymous vs signed in users?  
  > **username_1**: this is bit hard seriously when you provide the link for an user you need text and for admin you need Editor but we don't have different setting for this - but still if you default it to text and whenever admin is using it you can change that to editor and roll back to text area once job is done - this i guess you can do with an extension -  
  > **username_0**: Thanks Ramesh. However, it is not feasible as a solution. In Drupal for example we have Roles and options in CK Editor to setup which roles get or are seen what type of editors. To me giving HTML to anonymous users is not good practice and it should be editable. I will leave this open in case anyone else has suggestions. Cheers.  
  
  ---
  
  