Block Registration: add SlotFill to extend a block's description #49887
Labels
[Feature] Block API
API that allows to express the block paradigm.
[Feature] Extensibility
The ability to extend blocks or the editing experience
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
Needs Dev
Ready for, and needs developer efforts
[Type] Bug
An existing feature does not function as intended
What problem does this address?
It was previously possible to use React nodes in a block's description, like so:
This allowed adding extra information to a block's description, such as links to support documentation or more.
Unfortunately, this is no longer encouraged since #44455.
What is your proposed solution?
Instead of adding all that information to the block's description itself, and since adding it there can have some unintended side-effects, it would be nice to add a new
SlotFill
that would be displayed right below the block's description in the editor sidebar, and nowhere else.The text was updated successfully, but these errors were encountered: