mirror of https://github.com/fantasticit/think.git
fix: spell mistake
parent
92a632fabf
commit
a1771c7196
|
@ -47,7 +47,7 @@ const htmlToProsemirror = async (editor: CoreEditor, html, isPasteMarkdown = fal
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const imgs = body.querySelectorAll('img');
|
const imgs = body.querySelectorAll('img');
|
||||||
await Prosemise.all([...imgs].map(reuploadImageAndUpdateSrc)
|
await Promise.all([...imgs].map(reuploadImageAndUpdateSrc));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue