This commit is contained in:
Vanessa 2023-01-30 10:48:02 +08:00
parent eb71bd2083
commit a618d53d5f

View file

@ -1435,6 +1435,9 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea
focusBlock(nodeElement, undefined, false); focusBlock(nodeElement, undefined, false);
} }
} }
nodeElement.querySelectorAll(".img--select").forEach((item) => {
item.classList.remove("img--select");
});
} }
const id = nodeElement.getAttribute("data-node-id"); const id = nodeElement.getAttribute("data-node-id");
if (nodeElement.getAttribute("data-type") === "NodeHeading") { if (nodeElement.getAttribute("data-type") === "NodeHeading") {