Commit 90ca06a2 authored by Alejandro Celaya's avatar Alejandro Celaya Committed by Alejandro Celaya

Set required permissions in notebook iframe

parent 1e7bb7f7
...@@ -35,12 +35,7 @@ function NotebookIframe({ config, groupId }: NotebookIframeProps) { ...@@ -35,12 +35,7 @@ function NotebookIframe({ config, groupId }: NotebookIframeProps) {
<iframe <iframe
title={'Hypothesis annotation notebook'} title={'Hypothesis annotation notebook'}
className="h-full w-full border-0" className="h-full w-full border-0"
// Enable media in annotations to be shown fullscreen. allow="fullscreen; clipboard-write"
// 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
src={notebookAppSrc} src={notebookAppSrc}
/> />
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment