enh: import md notes

This commit is contained in:
Timothy Jaeryang Baek
2025-05-04 23:04:15 +04:00
parent 8514669053
commit a6a7ce6b68
3 changed files with 231 additions and 126 deletions

View File

@@ -504,6 +504,7 @@
className="input-prose-sm px-0.5"
bind:value={note.data.content.json}
placeholder={$i18n.t('Write something...')}
html={note.data?.content?.html}
json={true}
onChange={(content) => {
note.data.content.html = content.html;