From 6bff30dba0a4b9609e9267c23bdbbca256b814a9 Mon Sep 17 00:00:00 2001 From: Robert Swoboda <53216935+Gengar-i@users.noreply.github.com> Date: Tue, 1 Aug 2023 13:54:22 +0200 Subject: [PATCH] IBX-1756: Added id attribute to custom tags (#238) --- .../standard/ezrichtext/custom_tags/ezfacebook.html.twig | 5 +++-- .../standard/ezrichtext/custom_tags/eztwitter.html.twig | 6 +++++- .../standard/ezrichtext/custom_tags/ezyoutube.html.twig | 1 + 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/bundle/Resources/views/themes/standard/ezrichtext/custom_tags/ezfacebook.html.twig b/src/bundle/Resources/views/themes/standard/ezrichtext/custom_tags/ezfacebook.html.twig index 4120be81..fae0b872 100644 --- a/src/bundle/Resources/views/themes/standard/ezrichtext/custom_tags/ezfacebook.html.twig +++ b/src/bundle/Resources/views/themes/standard/ezrichtext/custom_tags/ezfacebook.html.twig @@ -11,8 +11,9 @@ class="fb-post" style="display: flex;{% if justify_content is defined %} justify-content: {{ justify_content }};{% endif %}" data-href="{{ params.post_url }}" - data-width="{{ params.width is defined ? params.width : '' }}"> - + data-width="{{ params.width is defined ? params.width : '' }}" + {% if id is defined %}id="{{ id }}"{% endif %} +>