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 %} +>