소스 검색

Upgrade to release v2.5.0

Kartik Visweswaran 10 년 전
부모
커밋
d236ebabc9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -52,6 +52,7 @@ The following are the major changes with release v2.4.0:
    Thus all file types are treated as an object to preview by default. For exampleTo preview only `image` and `video`, you can set this to `['image', 'video']`.
 - `allowedPreviewMimeTypes`: In addition to `allowedPreviewTypes`, you can also control which all mime types can be displayed for preview. This defaults to null,
    meaning all mime types are supported.
+   >NOTE: With release 2.5.0 you can now control which file types or extensions are allowed for upload by setting `allowedFileTypes` and `allowedFileExtensions`.
 - `layoutTemplates`: Allows you to configure all layout template settings within one property. The layout objects that can be configured are: `main1`, `main2`,
    `preview`, `caption`, and `modal`.
 - `previewTemplates`: All preview templates for **each preview type** have been combined into one property, instead of separate templates for image, text etc.