Skip to content

Commit 8d62510

Browse files
committed
fix: SidePanelDocumentation - update iframe sandbox attributes to include clipboard-read
1 parent c1fd796 commit 8d62510

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/common/SidePanel/SidePanelDocumentation.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,14 @@ export const SidePanelDocumentation = ({ onClose }: SidePanelDocumentationProps)
5151
<div className="flex-grow-1">
5252
{docLink && (
5353
<iframe
54+
key={appTheme}
5455
title="side-panel-documentation"
5556
loading="lazy"
5657
className="dc__no-border"
5758
src={`${docLink}&theme=${appTheme}`}
5859
width="100%"
5960
height="100%"
60-
sandbox="allow-same-origin allow-scripts"
61+
sandbox="allow-same-origin allow-scripts clipboard-read"
6162
referrerPolicy="no-referrer"
6263
/>
6364
)}

0 commit comments

Comments
 (0)