diff --git a/web/src/routes/Config.jsx b/web/src/routes/Config.jsx index ee01d8d018..d3e8ee90ae 100644 --- a/web/src/routes/Config.jsx +++ b/web/src/routes/Config.jsx @@ -48,7 +48,7 @@ export default function Config() { return; } - if (window.editor) { + if (document.getElementById('container').children.length > 0) { // we don't need to recreate the editor if it already exists return; }