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