feat: rich text input for chat
This commit is contained in:
1 parent
5e96922eba
commit
f46b95300b
15 files changed
+268
-178
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user