Merge pull request #274 from cjhw/fix-spell

fix: spell mistake
This commit is contained in:
fantasticit 2024-07-02 15:16:01 +08:00 committed by GitHub
commit 335ae26205
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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) {
//
}