Explorar el Código

Add support for other common web formats

Steven Silvester hace 9 años
padre
commit
e7a9eaf828
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/imagehandler/plugin.ts

+ 2 - 1
src/imagehandler/plugin.ts

@@ -49,7 +49,8 @@ class ImageHandler extends AbstractFileHandler {
    * Get the list of file extensions explicitly supported by the handler.
    */
   get fileExtensions(): string[] {
-    return ['.png', '.gif', '.jpeg', '.jpg', '.svg', '.bmp']
+    return ['.png', '.gif', '.jpeg', '.jpg', '.svg', '.bmp', '.ico', '.xbm',
+            '.tiff', '.tif']
   }
 
   /**