Skip to content

Commit

Permalink
Set required permissions in notebook iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Jan 31, 2024
1 parent 1e7bb7f commit 90ca06a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/annotator/components/NotebookModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,7 @@ function NotebookIframe({ config, groupId }: NotebookIframeProps) {
<iframe
title={'Hypothesis annotation notebook'}
className="h-full w-full border-0"
// Enable media in annotations to be shown fullscreen.
// TODO: Use `allow="fullscreen" once `allow` attribute available for
// iframe elements in all supported browsers
// See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-allow
// eslint-disable-next-line react/no-unknown-property
allowFullScreen
allow="fullscreen; clipboard-write"
src={notebookAppSrc}
/>
);
Expand Down

0 comments on commit 90ca06a

Please sign in to comment.