Double click to edit note

This commit is contained in:
Dallas Hoffman 2023-10-02 21:31:10 -04:00
parent 393c5c3c7a
commit cabdb09b5e
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

View File

@ -43,7 +43,12 @@
<NoteTags {note} {noteTags} bind:this={tagsComponent} />
</div>
</header>
<div class="note-card__body" class:note-card__body--editing={$editing}>
<div
role="application"
class="note-card__body"
class:note-card__body--editing={$editing}
on:dblclick={noteEditorStore.startEditing}
>
<NoteContent {note} {noteEditorStore} />
</div>
<footer class="note-card__footer">