diff --git a/memento-note/components/note-editor.tsx b/memento-note/components/note-editor.tsx index 5dfa633..8475e46 100644 --- a/memento-note/components/note-editor.tsx +++ b/memento-note/components/note-editor.tsx @@ -662,45 +662,57 @@ export function NoteEditor({ note, readOnly = false, onClose, fullPage = false } if (fullPage) { return ( <> -
+
{/* main scrollable column */} -
+
- {/* sticky toolbar */} -
+ {/* sticky toolbar — matches prototype */} +
-
+
+ {/* Save status */} + + {isSaving + ? <>{t('notes.saving') || 'Enregistrement...'} + : isDirty + ? <>{t('notes.dirtyStatus') || 'Modifié'} + : <>{t('notes.savedStatus') || 'Enregistré'}} + + {/* Type selector */} { setNoteType(newType); setShowMarkdownPreview(newType === 'markdown'); setIsDirty(true) }} compact /> -
-
- - {isSaving - ? <>{t('notes.saving') || 'Saving...'} - : isDirty - ? <>{t('notes.dirtyStatus') || 'Modifié'} - : <>{t('notes.savedStatus') || 'Enregistré'}} - + {/* AI button — rounded-full like prototype */} + {/* Info button */}