From 581fe252a44d7ba24f277cc9d28abd7a8f5d6729 Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Tue, 3 Oct 2023 07:39:34 +0700 Subject: [PATCH] fix imageZoom (#1772) --- src/plugins/imageZoom/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/imageZoom/index.tsx b/src/plugins/imageZoom/index.tsx index cca0db023..60f8a22c4 100644 --- a/src/plugins/imageZoom/index.tsx +++ b/src/plugins/imageZoom/index.tsx @@ -165,7 +165,7 @@ export default definePlugin({ { find: '"renderLinkComponent","maxWidth"', replacement: { - match: /(return\(.{1,100}\(\)\.wrapper.{1,100})(src)/, + match: /(return\(.{1,100}\(\)\.wrapper.{1,200})(src)/, replace: `$1id: '${ELEMENT_ID}',$2` } },