{$t('editor')}

    {#each editTypes as etype (etype.name)}
  • selectType(etype.name)} />
  • {/each}
{#if $showCancelConfirmDialog} { $showCancelConfirmDialog = false; }} onConfirm={() => (typeof $showCancelConfirmDialog === 'boolean' ? null : $showCancelConfirmDialog())} /> {/if}