-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
[Type] Help RequestHelp with setup, implementation, or "How do I?" questions.Help with setup, implementation, or "How do I?" questions.
Description
Hello Gutenberg Team 👋,
I'm exploring the extensibility of the supports API in Gutenberg and I have a question regarding the creation and usage of custom block supports.
From the documentation (https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/), I understand how core-supported features like align, color, or typography work.
However, I want to go a step further and define my own custom support, for example:
supports: { myCustomSupport: true, }
I’d like to:
- Register and hook into this custom support.
- Handle it similarly to how __experimentalBorder or typography is handled internally.
- Access the support value in both the editor and front-end rendering logic.
Could you please guide me on:
- Whether this is currently supported?
- If yes, how can I implement a custom block support handler?
- If no, is this feature being considered for future support?
A code example or reference to any internal implementation would be incredibly helpful.
Thanks for your amazing work on Gutenberg and for making WordPress development so powerful! 🙌
Best regards,
@theaminuli
Metadata
Metadata
Assignees
Labels
[Type] Help RequestHelp with setup, implementation, or "How do I?" questions.Help with setup, implementation, or "How do I?" questions.