diff --git a/src/App.jsx b/src/App.jsx index 2e9818e..a845b53 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -21,6 +21,8 @@ const TASKS = [ ['mark', 'Watermark PDFs', 'Put your text across every page'], ]; const unlockedAtLoad = initUnlock(); +// ?embed=1: Studio inside chat.flisk.si, without the side panel (chat opens the right tool and sends it commands). +const EMBED = new URLSearchParams(location.search).get('embed') === '1'; const save = (blob, name) => { const a = document.createElement('a'); a.href = URL.createObjectURL(blob); a.download = name; a.click(); setTimeout(() => URL.revokeObjectURL(a.href), 5000); }; const Choice = ({value, set, options}) => ( {options.map(([id, label]) =>