mirror of https://github.com/fantasticit/think.git
Compare commits
2 Commits
92a632fabf
...
335ae26205
Author | SHA1 | Date |
---|---|---|
fantasticit | 335ae26205 | |
cjhw | 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