Skip to content

Image Compare Block: Add AMP support #15653

Closed

Description

Describe the solution you'd like

Add AMP support for new Image Compare block using the <img-image-slider> component:
https://amp.dev/documentation/examples/components/amp-image-slider/

Note: The component currently does not support vertical orientation, the ideal solution is to detect when a site is using the AMP plugin, and to not surface the vertical option if it is. This prevents the user from expecting one behavior in the editor that will not be matched when viewing.

See: #15598

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions