Skip to content

Commit

Permalink
Merge pull request #20 from githubnext/jaked/sandbox_flag
Browse files Browse the repository at this point in the history
add `"sandbox": false` for trusted blocks
  • Loading branch information
Jake Donham authored Mar 10, 2022
2 parents c015d5a + e082eb4 commit cd4ebe1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"id": "code-block",
"title": "Code block",
"description": "A basic code block",
"sandbox": false,
"entry": "/src/blocks/file-blocks/code/index.tsx",
"extensions": [
"*"
Expand All @@ -34,6 +35,7 @@
"id": "excalidraw-block",
"title": "Drawing block",
"description": "A whiteboard tool",
"sandbox": false,
"entry": "/src/blocks/file-blocks/excalidraw/index.tsx",
"extensions": [
"excalidraw"
Expand All @@ -45,6 +47,7 @@
"id": "html-block",
"title": "HTML block",
"description": "View HTML content",
"sandbox": false,
"entry": "/src/blocks/file-blocks/html.tsx",
"extensions": [
"html",
Expand All @@ -57,6 +60,7 @@
"id": "css-block",
"title": "Styleguide block",
"description": "View selectors in a css file",
"sandbox": false,
"entry": "/src/blocks/file-blocks/css.tsx",
"extensions": [
"css"
Expand All @@ -68,6 +72,7 @@
"id": "image-block",
"title": "Image block",
"description": "View images",
"sandbox": false,
"entry": "/src/blocks/file-blocks/image.tsx",
"extensions": [
"png",
Expand All @@ -83,6 +88,7 @@
"id": "json-block",
"title": "Object explorer",
"description": "An interactive view of JSON objects",
"sandbox": false,
"entry": "/src/blocks/file-blocks/json.tsx",
"extensions": [
"json",
Expand All @@ -98,6 +104,7 @@
"id": "3d-model-block",
"title": "3D block",
"description": "A block for 3d files",
"sandbox": false,
"entry": "/src/blocks/file-blocks/3d-files.tsx",
"extensions": [
"gltf",
Expand All @@ -110,6 +117,7 @@
"id": "flat-block",
"title": "Flat data block",
"description": "A block for flat data files",
"sandbox": false,
"entry": "/src/blocks/file-blocks/flat.tsx",
"extensions": [
"csv"
Expand All @@ -121,6 +129,7 @@
"id": "simple-poll-block",
"title": "Poll block",
"description": "View simple polls beautifully",
"sandbox": false,
"entry": "/src/blocks/file-blocks/poll.tsx",
"extensions": [
"json"
Expand All @@ -132,6 +141,7 @@
"id": "chart-block",
"title": "Chart block",
"description": "An interactive chart block",
"sandbox": false,
"entry": "/src/blocks/file-blocks/charts/index.tsx",
"extensions": [
"csv"
Expand Down Expand Up @@ -167,6 +177,7 @@
"id": "sentence-encoder-block",
"title": "Sentence encoder block",
"description": "Experiment with your sentence-encoder",
"sandbox": false,
"entry": "/src/blocks/file-blocks/sentence-encoder.tsx",
"extensions": [
"json"
Expand All @@ -189,6 +200,7 @@
"id": "minimap-block",
"title": "Minimap",
"description": "A visualization of your folders and files",
"sandbox": false,
"entry": "/src/blocks/folder-blocks/minimap/index.tsx",
"example_path": "https://github.com/githubnext/blocks-tutorial"
},
Expand All @@ -197,6 +209,7 @@
"id": "dashboard-block",
"title": "Dashboard",
"description": "A dashboard of Blocks",
"sandbox": false,
"entry": "/src/blocks/folder-blocks/dashboard/index.tsx",
"example_path": "https://github.com/githubnext/blocks-tutorial"
},
Expand All @@ -205,6 +218,7 @@
"id": "code-tour-block",
"title": "Code Tour",
"description": "Create documented tours of your code",
"sandbox": false,
"entry": "/src/blocks/folder-blocks/code-tour/index.tsx",
"example_path": "https://github.com/githubnext/blocks-tutorial"
}
Expand Down

0 comments on commit cd4ebe1

Please sign in to comment.