Open markvanwijnen opened 5 years ago
Hey @markvanwijnen
I will ping in @ntsekouras Nik here and he might have some thoughts on it.
Hey 👋 - Now that embed
is implemented with block variations
you could just register a new block variation (registerBlockVariation
). Would that be helpful?
Ref: https://developer.wordpress.org/block-editor/packages/packages-blocks/#registerBlockVariation
Is your feature request related to a problem? Please describe. I can't find any filters in the core-embeds block, which creates the need for a lot of duplicate code for a custom embed.
Describe the solution you'd like A filter to hook into so you can easily add custom embeds.