mirror of
https://github.com/Ionaru/easy-markdown-editor
synced 2025-06-27 21:21:02 -06:00
Accept GIF for image uploads
This commit is contained in:
parent
16b1de652e
commit
0dd2f99f9d
@ -1816,7 +1816,7 @@ function EasyMDE(options) {
|
||||
// Import-image default configuration
|
||||
options.uploadImage = options.uploadImage || false;
|
||||
options.imageMaxSize = options.imageMaxSize || 2097152; // 1024 * 1024 * 2
|
||||
options.imageAccept = options.imageAccept || 'image/png, image/jpeg';
|
||||
options.imageAccept = options.imageAccept || 'image/png, image/jpeg, image/gif';
|
||||
options.imageTexts = extend({}, imageTexts, options.imageTexts || {});
|
||||
options.errorMessages = extend({}, errorMessages, options.errorMessages || {});
|
||||
options.imagePathAbsolute = options.imagePathAbsolute || false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user