nsarrazin HF Staff commited on
Commit
36164db
·
1 Parent(s): 821697c

fix: bump char limit for paste to 1000

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 > 256) {
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 > 1000) {
96
  e.preventDefault();
97
  pastedLongContent = true;
98
  setTimeout(() => {