From 1d85263c31b5ad54652e0affac360c066b3ba5c1 Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Thu, 26 Jan 2023 09:50:23 +0100 Subject: [PATCH] fixed errors in image preview --- .../communication/blocks/templates/image/_preview.html.erb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/views/admin/communication/blocks/templates/image/_preview.html.erb b/app/views/admin/communication/blocks/templates/image/_preview.html.erb index 1e267cefa..80358078e 100644 --- a/app/views/admin/communication/blocks/templates/image/_preview.html.erb +++ b/app/views/admin/communication/blocks/templates/image/_preview.html.erb @@ -1,7 +1,5 @@ <figure> - <a class="glightbox" data-glightbox="type: image;" href='{{ partial "GetImageUrl" (dict "url" $url "size" $lightbox_sizes ) }}'> - <%= block_component_preview :image %> - </a> + <%= block_component_preview :image %> <figcaption> <p><%= block_component_preview :alt %></p> <p><%= block_component_preview :text %></p> -- GitLab