Skip to content
Snippets Groups Projects

Issue #3354931: Drupal 10 compatibility

Closed Dionisio Fernandez requested to merge issue/insert-3354931:8.x-2.x into 8.x-2.x
8 files
+ 14
18
Compare changes
  • Side-by-side
  • Inline
Files
8
@@ -33,7 +33,7 @@
@@ -33,7 +33,7 @@
* on how to specify the data-insert-attach attribute.
* on how to specify the data-insert-attach attribute.
*/
*/
#}
#}
{% spaceless %}
{% apply spaceless %}
{% set classes = [] %}
{% set classes = [] %}
@@ -49,4 +49,4 @@
@@ -49,4 +49,4 @@
<img src="{{ url }}"{{ attributes }} {% if width and height %}width="{{ width }}" height="{{ height }}" {% endif %}{% if classes|length %} class="{{ classes|join(' ') }}"{% endif %} data-insert-type="{{ field_type }}" data-entity-type="{{ entity_type }}" data-entity-uuid="{{ uuid }}" data-insert-attach='{"id": "{{ id }}", "attributes": {"alt": ["alt", "description"], "title": ["title"]{% if insert_caption %}, "data-caption": ["title"]{% endif %}}}' />
<img src="{{ url }}"{{ attributes }} {% if width and height %}width="{{ width }}" height="{{ height }}" {% endif %}{% if classes|length %} class="{{ classes|join(' ') }}"{% endif %} data-insert-type="{{ field_type }}" data-entity-type="{{ entity_type }}" data-entity-uuid="{{ uuid }}" data-insert-attach='{"id": "{{ id }}", "attributes": {"alt": ["alt", "description"], "title": ["title"]{% if insert_caption %}, "data-caption": ["title"]{% endif %}}}' />
</a>
</a>
{% endspaceless %}
{% endapply %}
\ No newline at end of file
\ No newline at end of file
Loading