Skip to content

Commit

Permalink
sandbox iframe in fileupload (#6691)
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar authored Nov 24, 2023
1 parent 392fbd5 commit 83b6d1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Components/Common/FilePreviewDialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ const FilePreviewDialog = (props: FilePreviewProps) => {
/>
) : (
<iframe
sandbox
title="Source Files"
src={fileUrl}
className="mx-auto h-5/6 w-5/6 border-2 border-black bg-white md:my-6 md:w-4/6"
Expand Down

0 comments on commit 83b6d1f

Please sign in to comment.