Files
Momento/memento-note/components/note-editor.tsx
Antigravity 97b08e5d0b feat: icon-only toolbar, versioning fixes, history modal, PanelRight repositioning
- Toolbar: remove text labels from all icon buttons (AI, Save, Preview, Convert)
  all buttons now icon-only with title tooltip for accessibility
- Toolbar: reposition PanelRight (info panel toggle) to far right after three-dot menu
- Versioning: decouple getNoteHistory/restoreNoteVersion from global userAISettings.noteHistory
  now checks note.historyEnabled directly — unblocks manual per-note history
- Versioning: add 'Sauvegarder cette version' button in Versions tab of info panel
  calls commitNoteHistory with visual feedback (spinner → success state)
- note-document-info-panel: import commitNoteHistory, add isSavingVersion state
- notes.ts: fix double guard that silently blocked all history operations
2026-05-09 07:28:03 +00:00

11 lines
567 B
TypeScript

'use client'
// Re-export from new structure for backwards compatibility
// The actual NoteEditor implementation is now in note-editor/
export { NoteEditor, useNoteEditorContext } from './note-editor/index'
export type { NoteEditorContextValue, NoteEditorState, NoteEditorActions } from './note-editor/types'
// Re-export all sub-components for advanced usage
export { NoteEditorFullPage, NoteEditorDialog, NoteEditorProvider } from './note-editor/index'
export { NoteTitleBlock, NoteContentArea, NoteMetadataSection, NoteEditorToolbar } from './note-editor/index'