<p>Unfortunately no, the “Default” config is just whatever default values are hard-coded in redactor.js.</p>

CC BY-SA 3.0
2014-07-17T19:58:43.510Z
Too bad. That's what I was afraid of. Thanks for the confirmation though! I'll post an answer with the code for it the next time I duplicate it.
Simon Kuran
CC BY-SA 3.0
2014-07-17T19:47:35.150Z
2014-07-17T19:47:35.150Z
Brandon Kelly
<p>As @Brandon said, the defaults are hardcoded in redactor.js so there isn't a default.json file, but if there was, this is what it would be (from Craft 2.3.2615):</p>

<pre class="lang-json prettyprint-override"><code>{
    buttons: ['html', 'formatting', 'bold', 'italic', 'deleted',
    'unorderedlist', 'orderedlist', 'outdent', 'indent',
    'image', 'link', 'alignment', 'horizontalrule'],

    formatting: ['p', 'blockquote', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5']
}
</code></pre>

<p>Since the above code could change on occasion consider checking directly over at the Redactor site:</p>

<p><a href="http://imperavi.com/redactor/docs/settings/buttons/#setting-buttons" rel="nofollow">Buttons defaults</a></p>

<p><a href="http://imperavi.com/redactor/docs/settings/formatting/#setting-formatting" rel="nofollow">Formatting defaults</a></p>

CC BY-SA 3.0
2014-07-17T20:39:21.993Z
2015-05-24T20:33:45.527Z
2015-05-24T20:33:45.527Z
Simon Kuran
<p>When I need to make one tiny change to the default config it would be handy to be able to duplicate the current default.json file and just change a one thing instead of building a duplicate from scratch.</p>

<p>It's a small thing, but it would be a nice time saver. I've had no luck finding it, does anyone know if the default is saved somewhere?</p>

<config><redactor>
Is Redactor's default config saved as a .json file anywhere?
# Is Redactor's default config saved as a .json file anywhere?

(Asked by: username_0 on 2014-07-17)

When I need to make one tiny change to the default config it would be handy to be able to duplicate the current default.json file and just change a one thing instead of building a duplicate from scratch.

It's a small thing, but it would be a nice time saver. I've had no luck finding it, does anyone know if the default is saved somewhere?

**Tags:** config, redactor

---

## 2 answers

### Answer by username_0 on 2014-07-17. Score: 9 | Accepted answer

As @Brandon said, the defaults are hardcoded in redactor.js so there isn't a default.json file, but if there was, this is what it would be (from Craft 2.3.2615):
{
    buttons: ['html', 'formatting', 'bold', 'italic', 'deleted',
    'unorderedlist', 'orderedlist', 'outdent', 'indent',
    'image', 'link', 'alignment', 'horizontalrule'],

    formatting: ['p', 'blockquote', 'pre', 'h1', 'h2', 'h3', 'h4', 'h5']
}

Since the above code could change on occasion consider checking directly over at the Redactor site:
Buttons defaults
Formatting defaults


---

### Answer by username_1 on 2014-07-17. Score: 4

Unfortunately no, the “Default” config is just whatever default values are hard-coded in redactor.js.

> **Comments:**
> **username_0**: Too bad. That's what I was afraid of. Thanks for the confirmation though! I'll post an answer with the code for it the next time I duplicate it.  

---

