mirivlad
|
383a9546df
|
fix: inline file editor mode in FilesTab, remove separate TextFileEditor
- Replace separate TextFileEditor modal with inline editor mode in FilesTab
- Editor mode replaces browser mode (file list) within the same .files-tab container
- Markdown files: view/edit/split modes using existing MarkdownEditor + MarkdownPreview
- Plain text files: readonly monospace viewer
- Linked .md notes → note editor (via CheckFileAction)
- Unlinked .md / text files → inline editor (not FilePreviewModal)
- FilePreviewModal only for images, PDF, binary
- Back button returns to file browser without losing folder state
- Reset editor state on selectedNode change
- Remove TextFileEditor.svelte (no longer needed)
Co-Authored-By: OWL (Hermes Agent) <hermes@nousresearch.com>
)
|
2026-06-16 09:51:25 +08:00 |