Skip to content

Commit e082eb4

Browse files
author
Jake Donham
committed
add "sandbox": false for trusted blocks
1 parent c015d5a commit e082eb4

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"id": "code-block",
2424
"title": "Code block",
2525
"description": "A basic code block",
26+
"sandbox": false,
2627
"entry": "/src/blocks/file-blocks/code/index.tsx",
2728
"extensions": [
2829
"*"
@@ -34,6 +35,7 @@
3435
"id": "excalidraw-block",
3536
"title": "Drawing block",
3637
"description": "A whiteboard tool",
38+
"sandbox": false,
3739
"entry": "/src/blocks/file-blocks/excalidraw/index.tsx",
3840
"extensions": [
3941
"excalidraw"
@@ -45,6 +47,7 @@
4547
"id": "html-block",
4648
"title": "HTML block",
4749
"description": "View HTML content",
50+
"sandbox": false,
4851
"entry": "/src/blocks/file-blocks/html.tsx",
4952
"extensions": [
5053
"html",
@@ -57,6 +60,7 @@
5760
"id": "css-block",
5861
"title": "Styleguide block",
5962
"description": "View selectors in a css file",
63+
"sandbox": false,
6064
"entry": "/src/blocks/file-blocks/css.tsx",
6165
"extensions": [
6266
"css"
@@ -68,6 +72,7 @@
6872
"id": "image-block",
6973
"title": "Image block",
7074
"description": "View images",
75+
"sandbox": false,
7176
"entry": "/src/blocks/file-blocks/image.tsx",
7277
"extensions": [
7378
"png",
@@ -83,6 +88,7 @@
8388
"id": "json-block",
8489
"title": "Object explorer",
8590
"description": "An interactive view of JSON objects",
91+
"sandbox": false,
8692
"entry": "/src/blocks/file-blocks/json.tsx",
8793
"extensions": [
8894
"json",
@@ -98,6 +104,7 @@
98104
"id": "3d-model-block",
99105
"title": "3D block",
100106
"description": "A block for 3d files",
107+
"sandbox": false,
101108
"entry": "/src/blocks/file-blocks/3d-files.tsx",
102109
"extensions": [
103110
"gltf",
@@ -110,6 +117,7 @@
110117
"id": "flat-block",
111118
"title": "Flat data block",
112119
"description": "A block for flat data files",
120+
"sandbox": false,
113121
"entry": "/src/blocks/file-blocks/flat.tsx",
114122
"extensions": [
115123
"csv"
@@ -121,6 +129,7 @@
121129
"id": "simple-poll-block",
122130
"title": "Poll block",
123131
"description": "View simple polls beautifully",
132+
"sandbox": false,
124133
"entry": "/src/blocks/file-blocks/poll.tsx",
125134
"extensions": [
126135
"json"
@@ -132,6 +141,7 @@
132141
"id": "chart-block",
133142
"title": "Chart block",
134143
"description": "An interactive chart block",
144+
"sandbox": false,
135145
"entry": "/src/blocks/file-blocks/charts/index.tsx",
136146
"extensions": [
137147
"csv"
@@ -167,6 +177,7 @@
167177
"id": "sentence-encoder-block",
168178
"title": "Sentence encoder block",
169179
"description": "Experiment with your sentence-encoder",
180+
"sandbox": false,
170181
"entry": "/src/blocks/file-blocks/sentence-encoder.tsx",
171182
"extensions": [
172183
"json"
@@ -189,6 +200,7 @@
189200
"id": "minimap-block",
190201
"title": "Minimap",
191202
"description": "A visualization of your folders and files",
203+
"sandbox": false,
192204
"entry": "/src/blocks/folder-blocks/minimap/index.tsx",
193205
"example_path": "https://github.com/githubnext/blocks-tutorial"
194206
},
@@ -197,6 +209,7 @@
197209
"id": "dashboard-block",
198210
"title": "Dashboard",
199211
"description": "A dashboard of Blocks",
212+
"sandbox": false,
200213
"entry": "/src/blocks/folder-blocks/dashboard/index.tsx",
201214
"example_path": "https://github.com/githubnext/blocks-tutorial"
202215
},
@@ -205,6 +218,7 @@
205218
"id": "code-tour-block",
206219
"title": "Code Tour",
207220
"description": "Create documented tours of your code",
221+
"sandbox": false,
208222
"entry": "/src/blocks/folder-blocks/code-tour/index.tsx",
209223
"example_path": "https://github.com/githubnext/blocks-tutorial"
210224
}

0 commit comments

Comments
 (0)