feat(webui): notes can now contain newlines
parent
33768e2695
commit
3344e69544
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue