Drag and drop does not work on MacOS
Opened this issue · 0 comments
seanrussell commented
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