From 3348d1e818276572a3d93438bce8474e1ef28b64 Mon Sep 17 00:00:00 2001 From: Artem Korsunov Date: Mon, 11 Nov 2024 21:43:03 +0100 Subject: [PATCH] feat: allow uploading webp images --- frontend/static/js/common/markdown-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/static/js/common/markdown-editor.js b/frontend/static/js/common/markdown-editor.js index b74636946..aebd4b99f 100644 --- a/frontend/static/js/common/markdown-editor.js +++ b/frontend/static/js/common/markdown-editor.js @@ -57,6 +57,7 @@ export const imageUploadOptions = { allowedTypes: [ "image/jpeg", "image/png", + "image/webp", "image/jpg", "image/gif", "video/mp4",