Procházet zdrojové kódy

Add support for other common web formats

Steven Silvester před 9 roky
rodič
revize
e7a9eaf828
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  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 the list of file extensions explicitly supported by the handler.
    */
    */
   get fileExtensions(): string[] {
   get fileExtensions(): string[] {
-    return ['.png', '.gif', '.jpeg', '.jpg', '.svg', '.bmp']
+    return ['.png', '.gif', '.jpeg', '.jpg', '.svg', '.bmp', '.ico', '.xbm',
+            '.tiff', '.tif']
   }
   }
 
 
   /**
   /**