JavaScript for WordPress Forums Gutenberg Development Move core blocks from one category to another

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #114877
    IronManager
    Participant

    Hi, I’d like to have only one category and in order to do so I have to empty all the other categories. How do I move a core block from one category to another? thanks

    #114880
    Zac Gordon
    Keymaster

    I can’t remember if this is possible, but you can use hooks to change block categories. It’s covered in the Advanced Gutenberg Course how to use them 🙂

    The registerBlockType hook is probably what you need 👍

    #114881
    IronManager
    Participant

    thank you! 🙂 you are the best

    #114882
    Zac Gordon
    Keymaster

    Hope that helps! Please report back how it goes 🙂

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