Skip to content

Drag and drop does not work on MacOS #10

@seanrussell

Description

@seanrussell

It appears that file.type is always empty for files with an .md or .markdown extension, so that the following always returns false:

const fileTypeIsSupported = (file) => {
    return ['text/plain', 'text/md'].includes(file.type);
};

Thus, the drop target always displays the red error color

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions