enh: rich text input preserve breaks

This commit is contained in:
Timothy Jaeryang Baek
2024-11-30 15:05:08 -08:00
parent d3778b0bda
commit acb61d3c42
3 changed files with 35 additions and 13 deletions

View File

@@ -817,6 +817,7 @@
className="input-prose-sm"
bind:value={selectedFile.data.content}
placeholder={$i18n.t('Add content here')}
preserveBreaks={true}
/>
{/key}
</div>