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