Note Editor

{#if initialName}

Editing note {initialName}

{/if} {#if (note && user?.pk == note?.user_id) || !note}
{ if (e.key === 'Enter') { e.preventDefault(); addLink(); } }} />
{#if newNote.links.length > 0}
    {#each newNote.links as link, i}
  • {link}
  • {/each}
{/if} {#if warning}
{warning}
{/if} {#if collection.is_public}
This note is public because it is in a public collection.
{/if}
{:else}
{#if newNote.links.length > 0}
    {#each newNote.links as link, i}
  • {link}
  • {/each}
{/if}
{/if}