feat(webui): notes can now contain newlines
parent
33768e2695
commit
3344e69544
|
@ -36,7 +36,10 @@
|
||||||
<LabelBorder hide={!notes?.length}>
|
<LabelBorder hide={!notes?.length}>
|
||||||
<span slot="header">Notes</span>
|
<span slot="header">Notes</span>
|
||||||
<div class="notes" contenteditable on:input={onInput} bind:this={contentEl}>
|
<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>
|
||||||
<div class="status">
|
<div class="status">
|
||||||
{#if lastSaved}
|
{#if lastSaved}
|
||||||
|
|
Loading…
Reference in New Issue