Open seanrussell opened 3 years ago
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
It appears that file.type is always empty for files with an .md or .markdown extension, so that the following always returns false:
Thus, the drop target always displays the red error color