From 4a75cd10efdbf02f0c7bf1ea73ca0e1aee6d8055 Mon Sep 17 00:00:00 2001 From: Robert Swoboda <53216935+Gengar-i@users.noreply.github.com> Date: Tue, 18 Jul 2023 13:54:40 +0200 Subject: [PATCH 1/2] IBX-1756: Added id to custom tags --- .../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..de31504e 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 %} +>