mirror of https://github.com/fantasticit/think.git
commit
335ae26205
|
@ -47,9 +47,9 @@ 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) {
|
||||||
//
|
//
|
||||||
}
|
}
|
||||||
|
|
||||||
const schema = getSchema(
|
const schema = getSchema(
|
||||||
|
|
Loading…
Reference in New Issue