Enhancement: Improved popup preview, respect embedded viewer, error handling (#4947)

This commit is contained in:
shamoon
2023-12-18 08:41:51 -08:00
committed by GitHub
parent 829836ddf6
commit 9e93ae952a
17 changed files with 235 additions and 53 deletions

View File

@@ -56,7 +56,7 @@
</svg>&nbsp;<span class="d-none d-md-inline" i18n>View</span>
</a>
<ng-template #previewContent>
<object [data]="previewUrl | safeUrl" class="preview" width="100%"></object>
<pngx-preview-popup [document]="document"></pngx-preview-popup>
</ng-template>
<a class="btn btn-sm btn-outline-secondary" [href]="getDownloadUrl()">
<svg class="sidebaricon" fill="currentColor" class="sidebaricon">