mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-05-08 11:49:19 -05:00
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user