Преглед на файлове

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

Michael Herzog преди 1 година
родител
ревизия
a12adba73a
променени са 1 файла, в които са добавени 0 реда и са изтрити 1 реда
  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 );