mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-25 17:56:09 +01:00
This commit is contained in:
parent
bb1a4b4119
commit
2763368643
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ const updateEmbed = (protyle: IProtyle, operation: IOperation) => {
|
|||
item.querySelectorAll(`.protyle-wysiwyg__embed`).forEach(embedBlockItem => {
|
||||
const newTempElement = tempElement.content.querySelector(`[data-node-id="${embedBlockItem.getAttribute("data-id")}"]`)
|
||||
if (newTempElement) {
|
||||
updateEmbedElements.push(embedBlockItem.firstElementChild)
|
||||
updateEmbedElements.push(embedBlockItem.querySelector('[data-node-id]'))
|
||||
html = newTempElement.outerHTML
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue