Spaces:
Running
Running
fix: bump copy limit into conversation
Browse files
src/lib/components/chat/ChatWindow.svelte
CHANGED
@@ -92,7 +92,7 @@
|
|
92 |
const onPaste = (e: ClipboardEvent) => {
|
93 |
const textContent = e.clipboardData?.getData("text");
|
94 |
|
95 |
-
if (!$settings.directPaste && textContent && textContent.length
|
96 |
e.preventDefault();
|
97 |
pastedLongContent = true;
|
98 |
setTimeout(() => {
|
|
|
92 |
const onPaste = (e: ClipboardEvent) => {
|
93 |
const textContent = e.clipboardData?.getData("text");
|
94 |
|
95 |
+
if (!$settings.directPaste && textContent && textContent.length >= 3984) {
|
96 |
e.preventDefault();
|
97 |
pastedLongContent = true;
|
98 |
setTimeout(() => {
|