mirror of https://github.com/fantasticit/think.git
Compare commits
No commits in common. "335ae262055214714b09634b31359a1e35a62ac8" and "92a632fabf370bfd1d829a8771e729595906e653" have entirely different histories.
335ae26205
...
92a632fabf
|
@ -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 Promise.all([...imgs].map(reuploadImageAndUpdateSrc));
|
await Prosemise.all([...imgs].map(reuploadImageAndUpdateSrc)
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue