The "Pull Quote" block comes with the "Color settings" option which is located in the sidebar.

enter image description here

I am aware that we can remove the style using wp.blocks.unregisterBlockStyle but is there a way to remove a specific control for a specific block.

In this case, I am wondering if it's possible to remove the "Color settings" option just for the "Pull Quote" block.

  • 2
    You could use the editor.BlockEdit filter to modify the block's edit component, which is this for the Pull Quote block; however, you should probably just clone the entire block and make it yours by editing the relevant parts, then unregister the default block and register your Pull Quote block.
    – Sally CJ
    Commented Feb 28, 2020 at 1:50


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.