From 606a7292f356a53055b39c0ccc0f1d886615406b Mon Sep 17 00:00:00 2001 From: Jicheng Lu <103353@smsassist.com> Date: Wed, 23 Oct 2024 10:13:21 -0500 Subject: [PATCH] activate text area --- src/routes/chat/[agentId]/[conversationId]/chat-box.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte index 8645918..9f1e073 100644 --- a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte +++ b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte @@ -195,8 +195,8 @@ let isError = false; $: { - const editor = lastBotMsg?.rich_content?.editor || ''; - loadTextEditor = TEXT_EDITORS.includes(editor) || !Object.values(EditorType).includes(editor); + // const editor = lastBotMsg?.rich_content?.editor || ''; + loadTextEditor = true; // TEXT_EDITORS.includes(editor) || !Object.values(EditorType).includes(editor); loadEditor = !isSendingMsg && !isThinking && loadTextEditor; }