This commit is contained in:
Timothy Jaeryang Baek
2025-08-21 21:25:42 +04:00
parent 71d7ba6c07
commit 3e28c46026

View File

@@ -1442,6 +1442,7 @@
}
messageInput?.setText('');
prompt = '';
// Reset chat input textarea
if (!($settings?.richTextInput ?? true)) {
@@ -2334,6 +2335,7 @@
clearDraft();
if (e.detail || files.length > 0) {
await tick();
submitPrompt(
($settings?.richTextInput ?? true)
? e.detail.replaceAll('\n\n', '\n')