make sure editor init also works from the tiles view

This commit is contained in:
Mario Vavti
2026-01-03 19:31:56 +01:00
parent e295765bef
commit b6a58fbf6e

View File

@@ -21,7 +21,7 @@
{{foreach $entries as $item}}
<div class="col mb-4">
<div class="card h-100">
<a href="{{$item.rel_path}}" title="{{$item.name}}" class="text-decoration-none">
<a href="{{$item.rel_path}}" title="{{$item.name}}" class="text-decoration-none stretched-link file_link" data-id="{{$item.attach_id}}" data-type="{{$item.type}}">
<div class="d-flex align-items-center justify-content-center m-1" style="height: 4.5rem;">
{{if $item.photo_icon}}
<img src="{{$item.photo_icon}}" class="rounded" alt="{{$item.photo_icon}}" title="{{$item.size_formatted}}" style="max-height: 4rem; width: auto; max-width: 100%;">