Vanessa 2025-11-23 11:06:59 +08:00
parent 8a1703e34a
commit 69c2afbd18
2 changed files with 1 additions and 2 deletions

View file

@ -408,7 +408,6 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven
tempElement.querySelectorAll("[data-node-id]").forEach((e) => {
const newId = Lute.NewNodeID();
e.setAttribute("data-node-id", newId);
e.classList.remove("protyle-wysiwyg--select", "protyle-wysiwyg--hl");
clearBlockElement(e);
isBlock = true;
});