Skip to content

Bug: Drag-and-drop does not open files in editor #175

@petertzy

Description

@petertzy

Description
When dragging and dropping a file into the editor, the file is not opened. The editor does not respond to the drop action.


Steps to Reproduce

  1. Open the application
  2. Drag a file (e.g. .md, .txt, .pdf, etc.) into the editor area
  3. Drop the file

Expected Behavior
The file should be opened in a new editor tab (or processed accordingly if conversion is needed).


Actual Behavior
Nothing happens after dropping the file. The file is not opened.


Environment

  • OS: (e.g. macOS / Windows / Linux)
  • App version: (if applicable)

Additional Notes

  • This may be related to missing drag-and-drop event handling in the editor component
  • Should align with existing file open logic (e.g. handleOpenFile)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions