Vanessa 2025-12-17 09:34:55 +08:00
parent dc1be6676f
commit e4e1a44cf8

View file

@ -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;
}