Body: <p>I use a separate email editor to code emails before copying and pasting into civicrm to send. </p>
  
  <p>I have noticed that if I copy and paste into source and press send without looking at it in the wysiwyg editor the code works as expected.</p>
  
  <p>If I look at it first the following code is stripped out. I am not a proficient email coder - this is what the programme I use puts in.</p>
  
  <p><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;&lt;html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"&gt;&lt;head&gt;</code></p>
  
  <p>The editor is CKeditor. Can I stop it doing this? I have a work around but if I could stop it (or understand if there's a good reason why it is doing it) that would be better!</p>
  
  <p>Thanks
  Caroline</p>
  
  <p>New information: I think part of the answer is here. <a href="https://civicrm.stackexchange.com/questions/4523/how-do-i-override-the-default-ckeditor-configuration">How do I override the default CKEditor configuration?</a>
  If that's right I'm not still not sure what I need to do! If anyone can help that woudl be great :)</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-11T19:45:11.747Z
Comments.Text: You say "the following code is stripped out" - but i don't see the code pasted. Can you add some examples, and perhaps explain what programme you are copying this from.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-12T21:06:02.927Z
Comments.Text: Hello - sorry I realised after your comment that I hadn't formatted my post correctly. I have also managed to get this to work (I think) by goign to admin console, display preferences, configure wysiwyg editor, email,  and adding fullpage = true. I'm reluctant to post this is as a correct answer - but it seems to work for me! Thank you for replying!
Comments.UserDisplayName: Caroline B
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-03-12T23:43:39.067Z
Comments.Text: I think any answer that works deserves posting as an Answer ;-)
Comments.UserDisplayName: petednz - fuzion
Tags: <civimail><ckeditor><wysiwyg>
Title: Civimail strips html when switching from source to wysiwyg editor
ThreadText: # Civimail strips html when switching from source to wysiwyg editor
  
  (Asked by: username_0 on 2018-03-10)
  
  I use a separate email editor to code emails before copying and pasting into civicrm to send.
  
  I have noticed that if I copy and paste into source and press send without looking at it in the wysiwyg editor the code works as expected.
  
  If I look at it first the following code is stripped out. I am not a proficient email coder - this is what the programme I use puts in.
  
  The editor is CKeditor. Can I stop it doing this? I have a work around but if I could stop it (or understand if there's a good reason why it is doing it) that would be better!
  
  Thanks
  Caroline
  
  New information: I think part of the answer is here. [How do I override the default CKEditor configuration?](https://civicrm.stackexchange.com/questions/4523/how-do-i-override-the-default-ckeditor-configuration)
  If that's right I'm not still not sure what I need to do! If anyone can help that woudl be great :)
  
  **Tags:** civimail, ckeditor, wysiwyg
  
  > **Comments:**
  > **username_1**: You say "the following code is stripped out" - but i don't see the code pasted. Can you add some examples, and perhaps explain what programme you are copying this from.  
  > **username_0**: Hello - sorry I realised after your comment that I hadn't formatted my post correctly. I have also managed to get this to work (I think) by goign to admin console, display preferences, configure wysiwyg editor, email,  and adding fullpage = true. I'm reluctant to post this is as a correct answer - but it seems to work for me! Thank you for replying!  
  > **username_1**: I think any answer that works deserves posting as an Answer ;-)  
  
  ---
  
  ## 0 answers
  
  