mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-23 18:10:12 +01:00
This commit is contained in:
parent
dc1be6676f
commit
e4e1a44cf8
1 changed files with 3 additions and 0 deletions
|
|
@ -354,6 +354,9 @@ const updateBlock = (updateElements: Element[], protyle: IProtyle, operation: IO
|
|||
});
|
||||
Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-node-id="${operation.id}"]`)).find(item => {
|
||||
if (!isInEmbedBlock(item)) {
|
||||
if (item.getAttribute("data-type") === "NodeBlockQueryEmbed") {
|
||||
item.removeAttribute("data-render");
|
||||
}
|
||||
updateElements[0] = item;
|
||||
return true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue