Answers.Body: <p>Redactor applies all kinds of 'improvements' to your HTML on save. You might be able to prevent this behaviour by altering the <a href="https://github.com/craftcms/redactor#configuration" rel="nofollow noreferrer">config</a>.</p>
  
  <p>If you want to use a plain text field for html, your only problem is that Twig applies html_encode to outputted text. You can prevent this by using the <code>|raw</code> filter:</p>
  
  <pre><code>{{ entry.plainTextField |raw }}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-15T03:19:07.297Z
Answers.Text: raw works. I did check ExpressionEngine and there the field type is called "Textarea" and it's possible to disable the text formatting.
Answers.UserDisplayName: MrGlasspoole
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-15T04:17:09.960Z
Answers.Text: I found the "Simple Text" field plugin. In combination with raw it is like Textarea in EE.
Answers.UserDisplayName: MrGlasspoole
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-07-14T09:12:08.617Z
Answers.LastActivityDate: 2019-07-14T09:12:08.617Z
Answers.UserDisplayName: Paul
Body: <p>I hate WYSIWYG.<br>
  I prefer to write my own html but can't figure out how to put that into a field for entries content. </p>
  
  <p>I tried plain text but that does not work.<br>
  I tried to disable cleanup and purify html on Redactor and CKEditor but if i switch to the html view my code is not like it was before saving.</p>
  
Tags: <redactor><wysiwyg><ckeditor5>
Title: Disable WYSIWYG?
ThreadText: # Disable WYSIWYG?
  
  (Asked by: username_0 on 2019-07-13)
  
  I hate WYSIWYG.  
  I prefer to write my own html but can't figure out how to put that into a field for entries content.
  
  I tried plain text but that does not work.  
  I tried to disable cleanup and purify html on Redactor and CKEditor but if i switch to the html view my code is not like it was before saving.
  
  **Tags:** redactor, wysiwyg, ckeditor5
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2019-07-14. Score: 2 | Accepted answer
  
  Redactor applies all kinds of 'improvements' to your HTML on save. You might be able to prevent this behaviour by altering the [config](https://github.com/craftcms/redactor#configuration).
  
  If you want to use a plain text field for html, your only problem is that Twig applies html\_encode to outputted text. You can prevent this by using the `|raw` filter:
  
  ```
  {{ entry.plainTextField |raw }}
  
  ```
  
  > **Comments:**
  > **username_0**: raw works. I did check ExpressionEngine and there the field type is called "Textarea" and it's possible to disable the text formatting.  
  > **username_0**: I found the "Simple Text" field plugin. In combination with raw it is like Textarea in EE.  
  
  ---
  
  