Gutenberg: Extending Block Categories

Created on 13 Sep 2017  路  8Comments  路  Source: WordPress/gutenberg

While registering a new block, I can only assign the default categories formatting | layout | widgets | embeds. What I would like to do is extend the categories. I can't seem to find a way to do that. I think there should be an API to register new categories as well.

Looking forward!

Most helpful comment

All 8 comments

Hi @ahmadawais,
Actually, there is already a conversation about that.

Here you can find my pull request #1732 waiting for a review.

Any feedback is highly appreciated.

@kuoko That's great. I just reviewed it. Not sure how I can contribute to it (guess you have to allow access), but I added comments.

Thanks @ahmadawais. I've updated the PR #1732 following your suggestions.
Don't know why you aren't able to contribute. The flag "allow edits from maintainers" is already checked.

I am only a contributor :)

Oh I see. me too.
Anyway, your advices were very helpful.
Thanks @ahmadawais

Going to close this as looks like the other ticket has this being dealt with, no need to duplicate.

@karmatosed which other ticket? The PR? I suppose?

Was this page helpful?
0 / 5 - 0 ratings