diff --git a/client/src/playground/index.tsx b/client/src/playground/index.tsx index a6bd3c8715cb..bb9725aaf76a 100644 --- a/client/src/playground/index.tsx +++ b/client/src/playground/index.tsx @@ -189,6 +189,7 @@ export default function Playground() { setSearchParams([], { replace: true }); setCodeSrc(undefined); setEditorContent({ html: HTML_DEFAULT, css: CSS_DEFAULT, js: JS_DEFAULT }); + setInitialContent(null); updateWithEditorContent(); };