Have others join by sharing the following url:
{ if (wsProvider?.shouldConnect) { disableCollaboration() } else { setCollaborationMode() } }} collabLive={wsProvider?.shouldConnect} {collabMode} {validCode} iconOnly={width < EDITOR_BAR_WIDTH_THRESHOLD} on:collabPopup={() => (showCollabPopup = true)} {editor} {lang} on:createScriptFromInlineScript {websocketAlive} collabUsers={peers} kind={asKind(kind)} {template} {diffEditor} {args} {noHistory} {saveToWorkspace} /> {#if !noSyncFromGithub}
{/if}
{#key lang} { inferSchema(e.detail) }} cmdEnterAction={async () => { await inferSchema(code) runTest() }} formatAction={async () => { await inferSchema(code) try { localStorage.setItem(path ?? 'last_save', code) } catch (e) { console.error('Could not save last_save to local storage', e) } dispatch('format') }} class="flex flex-1 h-full !overflow-visible" lang={scriptLangToEditorLang(lang)} scriptLang={lang} automaticLayout={true} {fixedOverflowWidgets} {args} />
{#if testIsLoading} {:else} {/if}