File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
client/modules/IDE/components Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ function PreviewFrame({ fullView }) {
24
24
const frameUrl = previewUrl ;
25
25
const sandboxAttributes = `allow-forms allow-modals allow-pointer-lock allow-popups
26
26
allow-same-origin allow-scripts allow-top-navigation-by-user-activation allow-downloads` ;
27
- const allow = `accelerometer; autoplay; camera; encrypted-media; geolocation;
28
- gyroscope; microphone; magnetometer; midi; serial; vr;` ;
27
+ const allow = `accelerometer; ambient-light-sensor; autoplay; camera; encrypted-media; geolocation; gyroscope; \
28
+ hid; microphone; magnetometer; midi; payment; usb; serial; vr; xr-spatial-tracking` ;
29
+
29
30
return (
30
31
< Frame
31
32
title = "sketch preview"
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ This folder contains documents intended for developers of the p5.js Web Editor.
4
4
* [ Contribution Guide] ( https://github.com/processing/p5.js-web-editor/blob/develop/.github/CONTRIBUTING.md ) - A place to get started!
5
5
* [ Installation] ( installation.md ) - A guide for setting up your development environment
6
6
* [ Development] ( development.md ) - A guide for adding code to the web editor
7
+ * [ Testing] ( ./testing.md ) - A guide for writing and running tests in the codebase
7
8
* [ Preparing a pull-request] ( preparing_a_pull_request.md ) - Instructions for how to make a pull-request
8
9
* [ Accessibility Guidelines] ( accessibility.md ) - Guidelines for writing code to create an accessible application
9
10
* [ Translations Guidelines] ( translations.md ) - Guidelines for translating the application
You can’t perform that action at this time.
0 commit comments