Merge pull request #450 from writefreely/fix-markdown-import-safari

Accept general text/* files on post import
This commit is contained in:
Matt Baer 2021-04-19 16:23:45 -04:00 committed by GitHub
commit c06a739f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@
<div class="formContainer">
<form id="importPosts" class="prominent" enctype="multipart/form-data" action="/api/me/import" method="POST">
<label>Select some files to import:
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/markdown, text/plain"/>
<input id="fileInput" class="fileInput" name="files" type="file" multiple accept="text/*"/>
</label>
<input id="fileDates" name="fileDates" hidden/>
<label>