Vanessa 2025-03-14 20:31:35 +08:00
parent 9a9d42b078
commit b91432f996

View file

@ -307,10 +307,6 @@ ${html || genSelectItemHTML("empty")}`;
setRelationCell(options.protyle, options.blockElement as HTMLElement, currentElement, options.cellElements);
event.preventDefault();
event.stopPropagation();
} else if (event.key === "Escape") {
options.menuElement.parentElement.remove();
event.preventDefault();
event.stopPropagation();
}
});
inputElement.addEventListener("input", (event: InputEvent) => {