Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
zoom for the attachment images
zadamff6f2a4d44d7
diff --git a/src/public/app/widgets/attachment_detail.js b/src/public/app/widgets/attachment_detail.jsindex 4ca6eff6db..8c68ebac72 100644--- a/src/public/app/widgets/attachment_detail.js+++ b/src/public/app/widgets/attachment_detail.js@@ -168,7 +168,7 @@ export default class AttachmentDetailWidget extends BasicWidget {.text(`Role: ${this.attachment.role}, Size: ${utils.formatSize(this.attachment.contentLength)}`);this.$wrapper.find('.attachment-actions-container').append(this.attachmentActionsWidget.render());- const {$renderedContent} = await contentRenderer.getRenderedContent(this.attachment, { imageHasZoom: true });+ const {$renderedContent} = await contentRenderer.getRenderedContent(this.attachment, { imageHasZoom: this.isFullDetail });this.$wrapper.find('.attachment-content-wrapper').append($renderedContent);}