From de93a370fd24dd6ded4833cbb20f3d627e19f8cf Mon Sep 17 00:00:00 2001 From: Lester Hairston Date: Tue, 24 Sep 2024 23:17:52 -0500 Subject: [PATCH] fixed inline @ deletion --- gui/src/components/mainInput/TipTapEditor.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gui/src/components/mainInput/TipTapEditor.tsx b/gui/src/components/mainInput/TipTapEditor.tsx index 2fc543907..f46646e07 100644 --- a/gui/src/components/mainInput/TipTapEditor.tsx +++ b/gui/src/components/mainInput/TipTapEditor.tsx @@ -166,10 +166,6 @@ function TipTapEditor(props: TipTapEditorProps) { return; } - editor.commands.deleteRange({ - from: indexOfAt + 2, - to: contents.length + 1, - }); inSubmenuRef.current = providerId; // to trigger refresh of suggestions