Browse Source

Editor: Remove `accept` field in file importer. (#28396)

Michael Herzog 1 year ago
parent
commit
a12adba73a
1 changed files with 0 additions and 1 deletions
  1. 0 1
      editor/js/Menubar.File.js

+ 0 - 1
editor/js/Menubar.File.js

@@ -192,7 +192,6 @@ function MenubarFile( editor ) {
 	const fileInput = document.createElement( 'input' );
 	fileInput.multiple = true;
 	fileInput.type = 'file';
-	fileInput.accept = Loader.getSupportedFileFormats().map( format => '.' + format ).join( ', ' );
 	fileInput.addEventListener( 'change', function () {
 
 		editor.loader.loadFiles( fileInput.files );