mirror of
https://github.com/fantasticit/think.git
synced 2026-09-01 15:10:55 +08:00
@@ -47,9 +47,9 @@ const htmlToProsemirror = async (editor: CoreEditor, html, isPasteMarkdown = fal
|
||||
|
||||
try {
|
||||
const imgs = body.querySelectorAll('img');
|
||||
await Prosemise.all([...imgs].map(reuploadImageAndUpdateSrc)
|
||||
await Promise.all([...imgs].map(reuploadImageAndUpdateSrc));
|
||||
} catch (e) {
|
||||
//
|
||||
//
|
||||
}
|
||||
|
||||
const schema = getSchema(
|
||||
|
||||
Reference in New Issue
Block a user