In terminal run: npm create vite@latest svelte-page -- --template svelte
Then run: cd svelte-page
Install dependencies: npm install
Navigate to: src/App.svelte or add the editor where you require it.
Add the provided iframe code of Tetrons editor
1<div class="container">
2 <iframe
3 id="tetrons-iframe"
4 src="https://product.tetrons.com/embed"
5 style="width:100%; height:100vh; border:none;"
6 allow="clipboard-read; clipboard-write; microphone; camera"
7 ></iframe>
8</div>Run: npm run dev
