diff --git a/client/modules/IDE/components/PreviewFrame.jsx b/client/modules/IDE/components/PreviewFrame.jsx index cf77bcc433..5f28bbef26 100644 --- a/client/modules/IDE/components/PreviewFrame.jsx +++ b/client/modules/IDE/components/PreviewFrame.jsx @@ -24,8 +24,8 @@ function PreviewFrame({ fullView }) { const frameUrl = previewUrl; const sandboxAttributes = `allow-forms allow-modals allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads`; - const allow = - 'accelerometer; autoplay; camera; encrypted-media; geolocation; gyroscope; microphone; magnetometer; midi; vr;'; + const allow = `accelerometer; autoplay; camera; encrypted-media; geolocation; + gyroscope; microphone; magnetometer; midi; serial; vr;`; return (