-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Expose embed block creation function #13490
Copy link
Copy link
Open
Labels
[Block] EmbedAffects the Embed BlockAffects the Embed Block[Feature] ExtensibilityThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experience[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Metadata
Metadata
Assignees
Labels
[Block] EmbedAffects the Embed BlockAffects the Embed Block[Feature] ExtensibilityThe ability to extend blocks or the editing experienceThe ability to extend blocks or the editing experience[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Projects
Status
In Progress
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
getEmbedBlockSettingsexported to a public API.Describe alternatives you've considered
As mentioned, so far the alternatives would be to replicate all functionality in
getEmbedBlockSettingsandgetEmbedEditComponent, along with all dependencies. This would be very inefficient and not inherit any Core improvements automatically, requiring maintenance.