mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-08 00:04:21 +01:00
🚨
This commit is contained in:
parent
f54f040a37
commit
6850abe88a
7 changed files with 28 additions and 28 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue