Help with the latest Redactor, removing formatting options 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).

So far I have tried various ways of inserting this from the documentation:
['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!
  &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
}

Please could you spoon feed me the json as I cannot seem to find the answer anywhere. Thanks in advance for your help!
Inside the buttons array, you should only mention formatting.
The actual styles you want to put inside an array with key &quot;formatting&quot;.
{
  &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
}

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: [&quot;blockquote&quot;, &quot;pre&quot;, &quot;h1&quot;]