feat(MarkdownEditor, NotesList): add editing change handler and improve delete confirmation text encoding

This commit is contained in:
Julien Froidefond
2025-11-17 08:30:02 +01:00
parent 72cd76c77b
commit a9a2988293
2 changed files with 2 additions and 1 deletions

View File

@@ -561,6 +561,7 @@ export function MarkdownEditor({
redo, redo,
onCreateNote, onCreateNote,
onToggleSidebar, onToggleSidebar,
onEditingChange,
] ]
); );

View File

@@ -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 &quot;{getNoteTitle(note.content)}&quot; ?
</div> </div>
<div className="flex gap-2"> <div className="flex gap-2">
<button <button