Fixes #316
This commit is contained in:
@@ -172,7 +172,7 @@ export function attachmentExtension(editor: Editor) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const finalFileName = prompt(
|
const finalFileName = await editor.prompt(
|
||||||
"File name for pasted attachment",
|
"File name for pasted attachment",
|
||||||
suggestedName,
|
suggestedName,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user