This commit is contained in:
Vanessa 2023-12-17 16:24:11 +08:00
parent f54f040a37
commit 6850abe88a
7 changed files with 28 additions and 28 deletions

View file

@ -54,10 +54,10 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false,
range.deleteContents();
const text = readText();
if (typeof text === "string") {
processAV(range, text, protyle, blockElement)
processAV(range, text, protyle, blockElement);
} else {
text.then((t) => {
processAV(range, t, protyle, blockElement)
processAV(range, t, protyle, blockElement);
});
}
return;