feat(webui): notes can now contain newlines

feat/tables
Tomáš Mládek 2024-02-06 22:48:04 +01:00
parent 33768e2695
commit 3344e69544
1 changed files with 4 additions and 1 deletions

View File

@ -36,7 +36,10 @@
<LabelBorder hide={!notes?.length}>
<span slot="header">Notes</span>
<div class="notes" contenteditable on:input={onInput} bind:this={contentEl}>
{notes ? notes : ''}
{#each (notes || '').split('\n') as line, idx}
{#if idx > 0}<br />{/if}
{line}
{/each}
</div>
<div class="status">
{#if lastSaved}