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, );