JavaScript for WordPress Forums Gutenberg Development How to remove inspector controls from core blocks

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #49209
    winefolly
    Participant

    Hey Zac,

    First off thanks for the course – I’m really finding it useful to level up my Gutenberg skills.

    Something which I didn’t see mentioned anywhere is how to remove controls from the core blocks. For example removing the dropcap, custom text size, background and color options from the paragraph block.

    TIA,
    Chris

    #49231
    Zac Gordon
    Keymaster

    Hiya!

    Yes, when I made the course this wasn’t really possible. They are looking for ways to make blocks more customizable like you want and I hope to cover more hooks in a separate advanced video.

    For the time being if you want a custom block you have to build it yourself.

    That said, please go ask this question in WP Slack #core-editor channel and see if they have made any progress! Would love to know what you find out.

    Once it’s possible I’ll prepare some material on how to do it 🙂

    #49245
    winefolly
    Participant

    Hey Zac,

    Thanks for the replies 🙂 Noted, I’ll go ahead and replace the core blocks with my own variations.

    Cheers,
    Chris

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.