mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 08:30:12 +01:00
🚨
This commit is contained in:
parent
b53c0e4758
commit
85aaede426
4 changed files with 8 additions and 11 deletions
|
|
@ -65,12 +65,12 @@ export const insertHTML = (html: string, protyle: IProtyle, isBlock = false) =>
|
|||
action: "update",
|
||||
id,
|
||||
data: oldHTML
|
||||
})
|
||||
});
|
||||
doOperation.push({
|
||||
action: "update",
|
||||
id,
|
||||
data: blockElement.outerHTML
|
||||
})
|
||||
});
|
||||
}
|
||||
const tempElement = document.createElement("template");
|
||||
tempElement.innerHTML = html;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue