Skip to content

Commit

Permalink
Add ctl=1 as a query parameter to the iframe's src URL. (#2798)
Browse files Browse the repository at this point in the history
  • Loading branch information
Brokyeom authored Nov 5, 2024
1 parent 924c285 commit 1b77710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/components/stackblitz.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const Stackblitz = ({ id, file }) => {
<iframe
title={id}
className="h-[400px] w-full"
src={`https://stackblitz.com/edit/${id}?embed=1${file ? `&file=${file}` : ''}&terminal=dev`}
src={`https://stackblitz.com/edit/${id}?embed=1${file ? `&file=${file}` : ''}&terminal=dev&ctl=1`}
allow="accelerometer; ambient-light-sensor; camera; encrypted-media; geolocation; gyroscope; hid; microphone; midi; payment; usb; vr; xr-spatial-tracking"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
loading="lazy"
Expand Down

0 comments on commit 1b77710

Please sign in to comment.