<p>That Straight Up Craft article is pretty old and based on the Redactor I API, I believe.</p>

<p>Pretty sure in Redactor II, <code>formattingTags</code> got replaced with either <a href="https://imperavi.com/redactor/docs/settings/formatting/#setting-formatting" rel="nofollow noreferrer"><code>formatting</code></a> or <a href="https://imperavi.com/redactor/examples/formatting-add/" rel="nofollow noreferrer"><code>formattingAdd</code></a>, depending on your needs.</p>

CC BY-SA 3.0
2017-04-14T19:06:34.747Z
2017-04-14T19:06:34.747Z
Brad Bell
<p>Craft 2.6.2972</p>

<p>I've created a new redactor config called <strong>Basic Config</strong> and saved the json in craft/config/redactor based on this <a href="https://straightupcraft.com/articles/how-to-add-custom-redactor-toolbars-to-the-default-rich-text-field-in-craft-cms" rel="nofollow noreferrer">Strait Up Craft post</a>. I then created a field and selected the correct config setting and added it to a channel.</p>

<p>However when I go to edit the entry it's not using my config setting as all the formatting options including code etc are there.</p>

<p><a href="https://i.sstatic.net/MJXRk.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/MJXRk.png" alt="enter image description here"></a></p>

<p>the json is:</p>

<pre><code>{
    buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],
    plugins: ['fullscreen'],
    formattingTags: ['p', 'blockquote', 'h3', 'h4', 'h5']
}
</code></pre>

<p>Not sure why code, h1, and h2 tags are available when clearly they are not in the above formatting options</p>

<p>Please advise.</p>

<redactor>
Custom Redactor Setting not Working
# Custom Redactor Setting not Working

(Asked by: username_0 on 2017-04-14)

Craft 2.6.2972
I've created a new redactor config called Basic Config and saved the json in craft/config/redactor based on this Strait Up Craft post. I then created a field and selected the correct config setting and added it to a channel.
However when I go to edit the entry it's not using my config setting as all the formatting options including code etc are there.

the json is:
{
    buttons: ['html','formatting','bold','italic','unorderedlist','orderedlist','link','image','video'],
    plugins: ['fullscreen'],
    formattingTags: ['p', 'blockquote', 'h3', 'h4', 'h5']
}

Not sure why code, h1, and h2 tags are available when clearly they are not in the above formatting options
Please advise.

**Tags:** redactor

---

## 1 answers

### Answer by username_1 on 2017-04-14. Score: 1 | Accepted answer

That Straight Up Craft article is pretty old and based on the Redactor I API, I believe.

Pretty sure in Redactor II, `formattingTags` got replaced with either [`formatting`](https://imperavi.com/redactor/docs/settings/formatting/#setting-formatting) or [`formattingAdd`](https://imperavi.com/redactor/examples/formatting-add/), depending on your needs.


---

