Skip to content

Expose embed block creation function #13490

@ChaosExAnima

Description

@ChaosExAnima

Is your feature request related to a problem? Please describe.
I would like a way to register new embed blocks simply via a public API. Currently, the only way to create a new embed seems to be replicating all related core code.

Describe the solution you'd like
I would like to see the function getEmbedBlockSettings exported to a public API.

Describe alternatives you've considered
As mentioned, so far the alternatives would be to replicate all functionality in getEmbedBlockSettings and getEmbedEditComponent, along with all dependencies. This would be very inefficient and not inherit any Core improvements automatically, requiring maintenance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions