Block Collection instead of category #16866
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Feature] Inserter
The main way to insert blocks using the + button in the editing interface
So far we have allowed people to register a new category with an icon and it's been used by many block libraries or collections to register all the blocks in a single category.
This is not the most optimal for users because blocks that really belong in core categories are placed instead in plugin specific ones. However, it's also useful to see all the blocks coming from a single source. Several libraries have requested we allow more than one category for a block, but I think that is a sub-par solution and has the potential of making categories useless.
So I'd like to propose an addition to the block API which would be the notion of a collection. The way it'd work would be something like the following:
namespace
would be matched against a block prefix and included automatically in a registered collection.Thoughts?
The text was updated successfully, but these errors were encountered: