hallo,
nach dem update auf C 5.3 funktioniert mein altes ce_player template nicht mehr.
ich möche aus dem output den
HTML-Code:
<div class="content-player" ...>
entfernen. wie kann ich das im twig-template machen (oder wär's einfacher legacy content elements zu "restoren")?
da bin ich völlig lost
HTML-Code:
{% extends "@Contao/content_element/player.html.twig" %}
{#
** Add changes to the base template here. **
Hint: Try adjusting blocks and attributes instead of
overwriting the whole template. This way your version
can remain compatible with future changes to the base
template as well as adjustments made by extensions.
Currently available blocks:
"picture_component", "image", "sources", "source",
"schema_org", "figure_component", "media",
"media_link", "caption", "caption_inner",
"content", "editor_view", "metadata",
"headline_component", "headline_attributes",
"headline_inner", "wrapper", "wrapper_tag",
"attributes", "inner", "style", "script"
Example:
{% block picture_component %}
{{ parent() }}
My additional content for 'picture_component'…
{% endblock %}
#}