fix: add support for uploading webp images
This commit is contained in:
parent
9a0a1ebb32
commit
5ce2f4e415
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ Quill.register(MyLink, true);
|
|||
|
||||
// image uploader
|
||||
const Uploader = Quill.import("modules/uploader");
|
||||
Uploader.DEFAULTS.mimetypes.push("image/gif");
|
||||
Uploader.DEFAULTS.mimetypes.push("image/gif", "image/webp");
|
||||
|
||||
// inline style
|
||||
const BackgroundStyle = Quill.import("attributors/style/background");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue