Skip to content

Commit 9f1b8c9

Browse files
author
Yann Leflour
committed
relax content security policy
1 parent e971ce0 commit 9f1b8c9

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

ui-sketcher-extension/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Change Log
22

3+
## [1.1.3] - 2023-23-09
4+
5+
## Fixed
6+
7+
- Allow pasting images from clipboard
8+
- Allow embeddings from urls
9+
310
## [1.1.2] - 2023-22-09
411

512
### Fixed

ui-sketcher-extension/src/ui-sketcher.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
-->
1010
<meta
1111
http-equiv="Content-Security-Policy"
12-
content="default-src 'none'; img-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline'; style-src <%= cspSource %> 'unsafe-inline'; script-src 'nonce-<%= nonce %>'; connect-src https://unpkg.com/@tldraw/; frame-src <%= previewHost %>/;"
12+
content="default-src 'none'; img-src * data: blob: 'unsafe-inline'; font-src * data: blob: 'unsafe-inline'; style-src <%= cspSource %> 'unsafe-inline'; script-src 'nonce-<%= nonce %>' 'unsafe-eval'; connect-src https://unpkg.com/@tldraw/ blob: data:; media-src blob: data:; frame-src *;"
1313
/>
1414

1515
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

0 commit comments

Comments
 (0)