Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented Jul 28, 2025

Overview

Fix validation logic error in "Zoom image" templates.

Related

Changes

  • fixes parent plugin comparison
  • deletes unused variables

Testing

  1. Open https://dev.cep.tacc.utexas.edu/test/image-picture-block/?edit (or similar test page).
  2. Edit and save Image at "Template: zoom_effect • External image: 🚫 • Within a Link: ✅": "[in a Link] Attrs"
    • Save should have no validation error.
    • Image should zoom on hover.
  3. Edit and save Image at "Template: zoom_effect_no_link_to_ext_image • External image: 🚫 • Within a Link: ✅": "[in a Link] Attrs"
    • Save should have no validation error.
    • Image should zoom on hover.

UI

Template: zoom_effect • External image: 🚫 • Within a Link: ✅

zoom_effect.BEFORE.mov
zoom_effect_no_link_to_ext_image.AFTER.mov

Template: zoom_effect_no_link_to_ext_image • External image: ✅ • Within a Link: ✅

zoom_effect_no_link_to_ext_image.BEFORE.mov
zoom_effect.AFTER.mov

@wesleyboar wesleyboar merged commit 34acc58 into main Jul 28, 2025
@wesleyboar wesleyboar deleted the fix/u-image-zoom-validation branch July 28, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants