Gutenberg: disable formatting buttons
-
I am working on a client theme, where buttons should always be in bold, non-italic text. We don’t want the client to be able to spoil the design with the wrong formatting, or to confuse them with unnecessary styling options. Is there a way to disable the Bold and Italic formatting buttons for the core/button block, that appear in the block editor toolbar? Is there a general way to add and remove formatting buttons for all blocks? It seems to me this is crucial to developing client sites but I can’t see options for it anywhere.
I tried making a custom button block to get round this, but I couldn’t get it to work properly so I am trying to use core blocks as much as possible.
- The topic ‘Gutenberg: disable formatting buttons’ is closed to new replies.