Skip to content

Commit

Permalink
sandbox iframe in fileupload
Browse files Browse the repository at this point in the history
  • Loading branch information
khavinshankar authored Nov 22, 2023
1 parent c1c4e56 commit e3f1682
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 e3f1682

Please sign in to comment.