diff --git a/ts/routes/editor/rich-text-input/data-transfer.ts b/ts/routes/editor/rich-text-input/data-transfer.ts index 76cab078c..4c318f84b 100644 --- a/ts/routes/editor/rich-text-input/data-transfer.ts +++ b/ts/routes/editor/rich-text-input/data-transfer.ts @@ -374,6 +374,7 @@ export async function handlePaste(event: ClipboardEvent) { } export async function handleDrop(event: DragEvent) { + (event.target as HTMLElement).focus(); await handlePasteOrDrop(event); }