Skip to content

Add drag-and-drop support for displaying file contents in text editor #2

@zeevenn

Description

@zeevenn

Now the text diff editor only supports copying or typing. Adding drag-and-drop support will improve user experience by allowing users to directly drop files into the viewer.

  • Enable users to drag a file from their system and drop it onto the diff viewer area(left or right).
  • Automatically read the file contents and display them.
  • Support multiple text file types (e.g., .txt, .js, .json).
  • Provide clear error messages for unsupported file types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions