8000 Support block variations as well as styles · Issue #12 · kadamwhite/block-editor-hmr · GitHub
[go: up one dir, main page]

Skip to content

Support block variations as well as styles #12

Open

Description

@goldenapples

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0