feat: TextFileEditor for text/markdown files, fix menu positioning
- Create TextFileEditor.svelte: full editor/viewer for text files - Markdown: edit/preview/split modes with MarkdownEditor + MarkdownPreview - Plain text: readonly monospace viewer - Footer: external open button + save (markdown) + close - Rewrite _openFile in FilesTab: text/markdown → TextFileEditor, images/PDF → FilePreviewModal - Linked .md notes → note editor (via CheckFileAction) - Unlinked .md / text files → TextFileEditor (not FilePreviewModal) - Fix toggleMenu in FileTreeRow: position using getBoundingClientRect - Expand codeNames/textMimes for all text file types - Add debug logs for file open flow and menu positioning Co-Authored-By: OWL (Hermes Agent) <hermes@nousresearch.com>
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user