<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>

CC BY-SA 3.0
2016-05-05T13:17:21.880Z
If you found this answer acceptable, please consider approving it ;D
Rob Erskine
CC BY-SA 3.0
2015-07-07T13:36:43.303Z
2015-07-07T13:36:43.303Z
Rob Erskine
<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>

<redactor>
<div> being replaced by <p> tags in redactor rich text editor
# <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  tags are still replaced by . Is there another way to add  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  

---

