-
Notifications
You must be signed in to change notification settings - Fork 57
Filtering of templates based on the supported blocks #2415
Copy link
Copy link
Closed
Labels
[Type] EnhancementImproves a current area of the editorImproves a current area of the editor
Description
We want to include block layout that are currently found on .com but we want to only offer layouts that have mobile supported blocks. So we need a way to filter out the layouts that contain unsupported blocks.
Describe the solution you'd like
This should be done via a query parameter (?supported_blocks=core/paragraph) that passes in the list of supported blocks that the editor currently supports.
Describe alternatives you've considered
We also considered passing a version and editor name to the endpoint. But that would mean that releasing the editor would would need an update to .com which we are trying to avoid.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
[Type] EnhancementImproves a current area of the editorImproves a current area of the editor