Explorar el Código

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

Michael Herzog hace 1 año
padre
commit
a12adba73a
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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 );