فهرست منبع

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 );