Compare commits

...

2 Commits

Author SHA1 Message Date
fantasticit 335ae26205
Merge pull request #274 from cjhw/fix-spell
fix: spell mistake
2024-07-02 15:16:01 +08:00
cjhw a1771c7196 fix: spell mistake 2024-07-02 00:10:53 +08:00
1 changed files with 2 additions and 2 deletions

View File

@ -47,9 +47,9 @@ 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) {
//
//
}
const schema = getSchema(