diff --git a/src/main.tsx b/src/main.tsx index 2678d5f5..50077a23 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -20,6 +20,10 @@ const editorStore = createEditorStore({ }); const initialStatusMessage = [storageAccess.diagnostic, bootstrapResult.diagnostic].filter(Boolean).join(" ") || undefined; +if (import.meta.env.DEV) { + (window as Window & { __webeditor3dEditorStore?: typeof editorStore }).__webeditor3dEditorStore = editorStore; +} + ReactDOM.createRoot(rootElement).render(