Skip to content

Commit

Permalink
fix(preview): allows clipboard api (#1149)
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz authored Jun 18, 2024
1 parent e2436d8 commit 7350364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandpack-client/src/clients/runtime/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class SandpackRuntime extends SandpackClient {

this.iframe.setAttribute(
"allow",
"accelerometer; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; clipboard-write;"
"accelerometer; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; clipboard-read; clipboard-write;"
);
}

Expand Down

0 comments on commit 7350364

Please sign in to comment.