even better preview!
This commit is contained in:
@@ -116,7 +116,7 @@ export class FilePreview {
|
||||
const encodedUrl = encodeURIComponent(file.url);
|
||||
contentDiv.innerHTML = `
|
||||
<iframe src="https://view.officeapps.live.com/op/embed.aspx?src=${encodedUrl}"
|
||||
width="100%" height="70vh" frameborder="0"></iframe>
|
||||
width="100%" height="600px" frameborder="0"></iframe>
|
||||
`;
|
||||
} else {
|
||||
// Default preview for other file types
|
||||
|
||||
Reference in New Issue
Block a user