From 3fb393baf33a491a529f99c0a1a59354a8b7604d Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Wed, 18 Jan 2023 16:46:24 +0100 Subject: [PATCH] Fixes #316 --- web/cm_plugins/editor_paste.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/cm_plugins/editor_paste.ts b/web/cm_plugins/editor_paste.ts index eeffed5..0ffac11 100644 --- a/web/cm_plugins/editor_paste.ts +++ b/web/cm_plugins/editor_paste.ts @@ -172,7 +172,7 @@ export function attachmentExtension(editor: Editor) { return; } - const finalFileName = prompt( + const finalFileName = await editor.prompt( "File name for pasted attachment", suggestedName, );