fix: spell mistake

This commit is contained in:
cjhw 2024-07-02 00:10:53 +08:00
parent 92a632fabf
commit a1771c7196
1 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ const htmlToProsemirror = async (editor: CoreEditor, html, isPasteMarkdown = fal
try {
const imgs = body.querySelectorAll('img');
await Prosemise.all([...imgs].map(reuploadImageAndUpdateSrc)
await Promise.all([...imgs].map(reuploadImageAndUpdateSrc));
} catch (e) {
//
}