feat: rich text input for chat

This commit is contained in:
Timothy J. Baek committed 2024-10-18 23:54:35 -07:00
1 parent 5e96922eba
commit f46b95300b
15 files changed
+268 -178

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@
console.log(prompt);
await tick();
const chatInputElement = document.getElementById('chat-textarea');
const chatInputElement = document.getElementById('chat-input');
if (chatInputElement) {
chatInputElement.style.height = '';
chatInputElement.style.height = Math.min(chatInputElement.scrollHeight, 200) + 'px';