New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mediumZoom and Wordpress/Divi builder issue #211
Comments
Could you reproduce in the sandbox by copying the Divi builder generated HTML? It might be because of incorrect |
@francoischalifour I have written a docs-only PR that fixes the issue. Would be happy if that finds its way into readme.md |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
Trying to make mediumZoom working in the Divi builder I stumble over one issue.
Working Example:
When running mz with Antora (a documentation framework), you add it via
Which results in a working zoomable image, example with the following code from the inspector:
Failing Example with Divi:
Loading the library and initializing mediumZoom:
Note, using
[data-zoomable]
did not work...Adding
data-zoomable
to the imageCSS Class
to make it zoomable.This is the code from the inspector:
Now, the following happens:
medium-zoom-image--hidden
is added to the class containingmedium-zoom-image
✔️I can provide you a temproary view access to my dev site if required.
Expected behavior
mediumZoom should show the zoomed image when using the Divi builder.
Environment
medium-zoom
version: 1.1.0The text was updated successfully, but these errors were encountered: