Answers.Body: <p>You can create a new redactor config under craft/config/redactor named Simple-With-Divs.json with the following code:</p>
  
  <pre><code>{
      buttons: ['bold', 'italic'],
      toolbarFixed: true,
      replaceDivs: false
  }
  </code></pre>
  
  <p>Now you can select Simple With Divs under the Rich Text field type.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-05T13:17:21.880Z
Answers.Text: If you found this answer acceptable, please consider approving it ;D
Answers.UserDisplayName: Rob Erskine
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-07-07T13:36:43.303Z
Answers.LastActivityDate: 2015-07-07T13:36:43.303Z
Answers.UserDisplayName: Rob Erskine
Body: <p>I have read previous questions and answers about the redactor rich text editor but in this version of Craft i only found simple.json and standard.json under <strong>craft/config/redactor</strong>. I have tried with both but <code>&lt;div&gt;</code> tags are still replaced by <code>&lt;p&gt;</code>. Is there another way to add <code>&lt;div&gt;</code> into a redactor rich text field?</p>
  
Tags: <redactor>
Title: <div> being replaced by <p> tags in redactor rich text editor
ThreadText: # <div> being replaced by <p> tags in redactor rich text editor
  
  (Asked by: username_0 on 2015-07-06)
  
  I have read previous questions and answers about the redactor rich text editor but in this version of Craft i only found simple.json and standard.json under **craft/config/redactor**. I have tried with both but `<div>` tags are still replaced by `<p>`. Is there another way to add `<div>` into a redactor rich text field?
  
  **Tags:** redactor
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-07-07. Score: 3
  
  You can create a new redactor config under craft/config/redactor named Simple-With-Divs.json with the following code:
  
  ```
  {
      buttons: ['bold', 'italic'],
      toolbarFixed: true,
      replaceDivs: false
  }
  
  ```
  
  Now you can select Simple With Divs under the Rich Text field type.
  
  > **Comments:**
  > **username_1**: If you found this answer acceptable, please consider approving it ;D  
  
  ---
  
  