Skip to content

Commit

Permalink
[project-base] more file types are now allowed to upload in wysiwyg e…
Browse files Browse the repository at this point in the history
…ditor (#2948)
  • Loading branch information
grossmannmartin authored Dec 21, 2023
1 parent d987c2c commit 20e5570
Showing 1 changed file with 34 additions and 2 deletions.
36 changes: 34 additions & 2 deletions app/config/packages/fm_elfinder.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,23 @@ fm_elfinder:
flysystem:
enabled: true
filesystem: 'main_filesystem'
upload_allow: ['image/png', 'image/jpg', 'image/jpeg']
upload_allow:
- 'image/png'
- 'image/jpg'
- 'image/jpeg'
- 'image/gif'
- 'image/webp'
- 'text/csv'
- 'text/plain'
- 'application/pdf'
- 'application/msword'
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
- 'application/vnd.ms-excel'
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
- 'application/vnd.ms-powerpoint'
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
- 'application/zip'
- 'video/quicktime'
tmb_path: 'web/%shopsys.filemanager_upload_web_dir%/_thumbnails'
url: '%shopsys.filemanager_upload_web_dir%'
tmb_url: '%shopsys.filemanager_upload_web_dir%/_thumbnails'
Expand Down Expand Up @@ -41,7 +57,23 @@ fm_elfinder:
flysystem:
enabled: true
filesystem: 'main_filesystem'
upload_allow: [ 'image/png', 'image/jpg', 'image/jpeg' ]
upload_allow:
- 'image/png'
- 'image/jpg'
- 'image/jpeg'
- 'image/gif'
- 'image/webp'
- 'text/csv'
- 'text/plain'
- 'application/pdf'
- 'application/msword'
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'
- 'application/vnd.ms-excel'
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
- 'application/vnd.ms-powerpoint'
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation'
- 'application/zip'
- 'video/quicktime'
tmb_path: 'web/%shopsys.filemanager_upload_web_dir%/_thumbnails'
url: '%shopsys.filemanager_upload_web_dir%'
tmb_url: '/%shopsys.filemanager_upload_web_dir%/_thumbnails'
Expand Down

0 comments on commit 20e5570

Please sign in to comment.