feat(MarkdownEditor, NotesList): add editing change handler and improve delete confirmation text encoding
This commit is contained in:
@@ -561,6 +561,7 @@ export function MarkdownEditor({
|
|||||||
redo,
|
redo,
|
||||||
onCreateNote,
|
onCreateNote,
|
||||||
onToggleSidebar,
|
onToggleSidebar,
|
||||||
|
onEditingChange,
|
||||||
]
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -234,7 +234,7 @@ export function NotesList({
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className="text-sm font-medium text-[var(--foreground)] mb-2 line-clamp-1">
|
<div className="text-sm font-medium text-[var(--foreground)] mb-2 line-clamp-1">
|
||||||
Supprimer "{getNoteTitle(note.content)}" ?
|
Supprimer "{getNoteTitle(note.content)}" ?
|
||||||
</div>
|
</div>
|
||||||
<div className="flex gap-2">
|
<div className="flex gap-2">
|
||||||
<button
|
<button
|
||||||
|
|||||||
Reference in New Issue
Block a user