mirror of https://github.com/fantasticit/think.git
commit
335ae26205
|
@ -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) {
|
||||
//
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue