Skip to content

Commit

Permalink
chore(web): enable sandboxed iframe by default (#968)
Browse files Browse the repository at this point in the history
  • Loading branch information
airslice committed Apr 25, 2024
1 parent a36a00e commit 55990d1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion web/src/beta/features/Editor/Visualizer/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ export default ({
selectedWidgetArea,
widgetAlignEditorActivated,
engineMeta,
useExperimentalSandbox: false, // TODO: test and use new sandbox in beta solely, removing old way too.
isVisualizerReady, // Not being used (as of 2024/04)
zoomedLayerId,
installableInfoboxBlocks,
Expand Down
2 changes: 0 additions & 2 deletions web/src/beta/features/Editor/Visualizer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ const EditorVisualizer: React.FC<Props> = ({
selectedWidgetArea,
widgetAlignEditorActivated,
engineMeta,
useExperimentalSandbox,
zoomedLayerId,
installableInfoboxBlocks,
handleLayerSelect,
Expand Down Expand Up @@ -92,7 +91,6 @@ const EditorVisualizer: React.FC<Props> = ({
pluginProperty={pluginProperty}
// editor
zoomedLayerId={zoomedLayerId}
useExperimentalSandbox={useExperimentalSandbox}
visualizerRef={visualizerRef}
currentCamera={currentCamera}
interactionMode={interactionMode}
Expand Down
2 changes: 1 addition & 1 deletion web/src/beta/features/Visualizer/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const Visualizer: FC<VisualizerProps> = ({
pluginProperty,
story,
zoomedLayerId,
useExperimentalSandbox,
useExperimentalSandbox = true,
visualizerRef,
currentCamera,
interactionMode,
Expand Down

0 comments on commit 55990d1

Please sign in to comment.