From a06369ab06fe93e24e5ed46daa92ef1b2e2722ea Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Wed, 2 Nov 2016 11:42:59 -0400 Subject: [PATCH] add font uploads --- client/modules/IDE/components/FileUploader.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/modules/IDE/components/FileUploader.js b/client/modules/IDE/components/FileUploader.js index b8bbc5df..81a25230 100644 --- a/client/modules/IDE/components/FileUploader.js +++ b/client/modules/IDE/components/FileUploader.js @@ -27,7 +27,8 @@ class FileUploader extends React.Component { // TODO what is a good list of MIME types???? acceptedFiles: `image/*,audio/*,text/javascript,text/html,text/css, application/json,application/x-font-ttf,application/x-font-truetype, - text/plain,text/csv,.obj,video/webm,video/ogg,video/quicktime,video/mp4`, + text/plain,text/csv,.obj,video/webm,video/ogg,video/quicktime,video/mp4, + .otf,.ttf`, dictDefaultMessage: 'Drop files here to upload or click to use the file browser', accept: this.props.dropzoneAcceptCallback, sending: this.props.dropzoneSendingCallback,