From cb3950f8b158ebd0e788b4fa288959e962c7156b Mon Sep 17 00:00:00 2001 From: sifat Date: Mon, 29 Apr 2024 23:41:32 +0600 Subject: [PATCH] Update index.js --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index ff00b214..a4eefdd8 100644 --- a/src/index.js +++ b/src/index.js @@ -283,7 +283,7 @@ export default class ImageTool { * Paste URL of image into the Editor */ patterns: { - image: /https?:\/\/\S+\.(gif|jpe?g|tiff|png|svg|webp)(\?[a-z0-9=]*)?$/i, + image: /https?:\/\/\S+\.(gif|jpe?g|tiff|png|svg|webp)(\?[a-z0-9=\-&]*)?$/i, }, /**