Answers.Body: <p>Inside the buttons array, you should only mention formatting.</p>
  <p>The actual styles you want to put inside an array with key &quot;formatting&quot;.</p>
  <pre><code>{
    &quot;buttons&quot;: [
      &quot;html&quot;,
      &quot;formatting&quot;,
      &quot;bold&quot;,
      &quot;italic&quot;,
      &quot;unorderedlist&quot;,
      &quot;orderedlist&quot;,
      &quot;link&quot;,
      &quot;image&quot;,
      &quot;video&quot;
    ],
    &quot;formatting&quot;: [&quot;p&quot;, &quot;h2&quot;, &quot;h3&quot;, &quot;h4&quot;, &quot;h5&quot;],
    &quot;plugins&quot;: [
      &quot;fullscreen&quot;,
      &quot;video&quot;
    ],
    &quot;linkNewTab&quot;: true,
    &quot;toolbarFixed&quot;: true
  }
  </code></pre>
  <p>Reading a bit further in the docs, you could also remove the styles you don't want, instead of stating the ones you do want:
  <code>formattingHide: [&quot;blockquote&quot;, &quot;pre&quot;, &quot;h1&quot;]</code></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-11T19:06:18.873Z
Answers.Text: Bro, I love you!
Answers.UserDisplayName: Matt P
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-11-11T16:53:03.873Z
Answers.LastActivityDate: 2020-11-11T16:53:03.873Z
Answers.UserDisplayName: Joorren
Body: <p>In the past I've managed to remove a few formatting buttons from Redactor but am having trouble with the new version.</p>
  <p>The goal is to remove 'quote', 'code' and 'heading1' from the formatting-dropdown. (see attached).</p>
  <p><a href="https://i.sstatic.net/c3BmK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/c3BmK.png" alt="I need to know how to remove the highlighted items" /></a></p>
  <p>So far I have tried various ways of inserting this <a href="https://imperavi.com/redactor/examples/formatting/change-formatting-dropdown/" rel="nofollow noreferrer">from the documentation</a>:</p>
  <p><code>['p', 'h2', 'h3', 'h4', 'h5']</code></p>
  <p>This is the only attempt which hasn't resulted in a syntax error, but which has resulted in the formatting button disappearing completely!</p>
  <pre><code>  &quot;buttons&quot;: [
      &quot;html&quot;,
      &quot;formatting: ['p', 'h2', 'h3', 'h4', 'h5']&quot;,
      &quot;bold&quot;,
      &quot;italic&quot;,
      &quot;unorderedlist&quot;,
      &quot;orderedlist&quot;,
      &quot;link&quot;,
      &quot;image&quot;,
      &quot;video&quot;
    ],
    &quot;plugins&quot;: [
      &quot;fullscreen&quot;,
      &quot;video&quot;
    ],
    &quot;linkNewTab&quot;: true,
    &quot;toolbarFixed&quot;: true
  }
  </code></pre>
  <p>Please could you spoon feed me the json as I cannot seem to find the answer anywhere. Thanks in advance for your help!</p>
  
Tags: <redactor><button><remove>
Title: Help with the latest Redactor, removing formatting options
ThreadText: # Help with the latest Redactor, removing formatting options
  
  (Asked by: username_0 on 2020-11-11)
  
  In the past I've managed to remove a few formatting buttons from Redactor but am having trouble with the new version.
  
  The goal is to remove 'quote', 'code' and 'heading1' from the formatting-dropdown. (see attached).
  
  [![I need to know how to remove the highlighted items](https://i.sstatic.net/c3BmK.png)](https://i.sstatic.net/c3BmK.png)
  
  So far I have tried various ways of inserting this [from the documentation](https://imperavi.com/redactor/examples/formatting/change-formatting-dropdown/):
  
  `['p', 'h2', 'h3', 'h4', 'h5']`
  
  This is the only attempt which hasn't resulted in a syntax error, but which has resulted in the formatting button disappearing completely!
  
  ```
    "buttons": [
      "html",
      "formatting: ['p', 'h2', 'h3', 'h4', 'h5']",
      "bold",
      "italic",
      "unorderedlist",
      "orderedlist",
      "link",
      "image",
      "video"
    ],
    "plugins": [
      "fullscreen",
      "video"
    ],
    "linkNewTab": true,
    "toolbarFixed": true
  }
  
  ```
  
  Please could you spoon feed me the json as I cannot seem to find the answer anywhere. Thanks in advance for your help!
  
  **Tags:** redactor, button, remove
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-11-11. Score: 3 | Accepted answer
  
  Inside the buttons array, you should only mention formatting.
  
  The actual styles you want to put inside an array with key "formatting".
  
  ```
  {
    "buttons": [
      "html",
      "formatting",
      "bold",
      "italic",
      "unorderedlist",
      "orderedlist",
      "link",
      "image",
      "video"
    ],
    "formatting": ["p", "h2", "h3", "h4", "h5"],
    "plugins": [
      "fullscreen",
      "video"
    ],
    "linkNewTab": true,
    "toolbarFixed": true
  }
  
  ```
  
  Reading a bit further in the docs, you could also remove the styles you don't want, instead of stating the ones you do want:
  `formattingHide: ["blockquote", "pre", "h1"]`
  
  > **Comments:**
  > **username_0**: Bro, I love you!  
  
  ---
  
  