Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support block variations as well as styles #12

Open
goldenapples opened this issue Oct 31, 2023 · 0 comments
Open

Support block variations as well as styles #12

goldenapples opened this issue Oct 31, 2023 · 0 comments

Comments

@goldenapples
Copy link
Collaborator

The registerBlock utility allows for exporting an array of styles, which are each registered as block styles and unregistered on hot module updates (code here).

It would be good to expose a similar interface for block variations, which calls registerBlockVariation in the registerBlock function and unregisterBlockVariation in the unregisterBlock method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant