nsarrazin HF Staff commited on
Commit
01b3b9f
·
unverified ·
1 Parent(s): cd7182d

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 > 1000) {
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(() => {