EditorImageDialog: allow the list of allowed file extensions to be configured

Created on 25 May 2016, almost 9 years ago
Updated 20 January 2023, about 2 years ago

In the EditorImageDialog, buildFom(), list of valid file extensions are hardcoded and limited to: gif, png, jpg, and jpeg.

'file_validate_extensions' => array('gif png jpg jpeg'), 

Just like 'Maximum file size' or 'Maximum dimensions', file extension, would be set for each text format. If not specified to use default extensions.

Feature request
Status

Closed: works as designed

Version

10.1

Component
Editor 

Last updated about 1 hour ago

Created by

🇺🇸United States pericxc

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024