You
{#if message.files}
{#each message.files as file}
{#if file.type === 'image'}
{:else if file.type === 'doc'}
{file.name}
Document
{/if}
{/each}
{/if} {#if edit === true}
{ e.target.style.height = `${e.target.scrollHeight}px`; }} />
{ editMessageConfirmHandler(); }} > Save & Submit
{ cancelEditMessage(); }} > Cancel
{:else}
{message.content}
{#if siblings.length > 1}
{ showPreviousMessage(message); }} >
{siblings.indexOf(message.id) + 1} / {siblings.length}
{ showNextMessage(message); }} >
{/if}
{ editMessageHandler(); }} >
{ copyToClipboard(message.content); }} >
{/if}