Skip to content

Commit

Permalink
fix: parsing text not working
Browse files Browse the repository at this point in the history
  • Loading branch information
szuperaz committed Oct 8, 2024
1 parent bd5720c commit 51a82a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ export class MessageInputComponent
if (this.configService.customPasteEventHandler) {
this.configService.customPasteEventHandler(event, this);
} else {
if (event.clipboardData?.files) {
if (event.clipboardData?.files && event.clipboardData?.files.length > 0) {
event.preventDefault();
void this.filesSelected(event.clipboardData?.files);
}
Expand Down

0 comments on commit 51a82a0

Please sign in to comment.