From e4aa77426d7fa33e7fbf07ee334144ea337f7fb0 Mon Sep 17 00:00:00 2001 From: Yunsup Sim Date: Fri, 29 Nov 2024 23:21:07 +0900 Subject: [PATCH] Fix: Add form id to drawSlug --- .../src/features/blocks/client/componentInline/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/richtext-lexical/src/features/blocks/client/componentInline/index.tsx b/packages/richtext-lexical/src/features/blocks/client/componentInline/index.tsx index 45b0d97142d..8d91039ab90 100644 --- a/packages/richtext-lexical/src/features/blocks/client/componentInline/index.tsx +++ b/packages/richtext-lexical/src/features/blocks/client/componentInline/index.tsx @@ -97,7 +97,7 @@ export const InlineBlockComponent: React.FC = (props) => { ) const drawerSlug = formatDrawerSlug({ - slug: `lexical-inlineBlocks-create-` + uuidFromContext, + slug: `lexical-inlineBlocks-create-${uuidFromContext}-${formData.id}`, depth: editDepth, }) const { toggleDrawer } = useLexicalDrawer(drawerSlug, true)