From f919081923b5da39bdca92604291a80c399d6786 Mon Sep 17 00:00:00 2001 From: samlhuillier Date: Wed, 13 Nov 2024 23:02:33 +0000 Subject: [PATCH] more fixes --- src/components/Editor/EditorManager.tsx | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/components/Editor/EditorManager.tsx b/src/components/Editor/EditorManager.tsx index 5185f8b8..dbb9b385 100644 --- a/src/components/Editor/EditorManager.tsx +++ b/src/components/Editor/EditorManager.tsx @@ -60,13 +60,20 @@ const EditorManager: React.FC = () => { }, }} > - {showAIPopup ? ( - {}} /> - ) : ( - - )} +
{ + e.preventDefault() + e.stopPropagation() + }} + > + {showAIPopup ? ( + {}} /> + ) : ( + + )} +
)}