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

  • Have you tried clicking the Source button in the editor, which allows you to directly modify the html?
    – DaveD
    Sep 10, 2015 at 22:16
  • I did, but then the editor still kicks in and reformat it and decides to add spans and reshuffle some tags around unfortunately
    – Xavier
    Sep 11, 2015 at 15:16

1 Answer 1


Editor can be disabled completely by the following

Administer > Customize Data and Screens > Display Preferences. CKEditor can be changed to TextArea


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 -

  • I'm editing the question to clarify: I want to disable only when editing the templates, the rest should stay the same
    – Xavier
    Sep 10, 2015 at 19:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.