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

View file

@ -252,7 +252,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
id: target.dataset.id,
data: !isOpen
}]);
}, Constants.TIMEOUT_TRANSITION);
}, Constants.TIMEOUT_COUNT);
event.preventDefault();
event.stopPropagation();
return true;

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