Vanessa 2023-07-22 10:18:11 +08:00
parent 0370d203c4
commit 0af27fa5d8
8 changed files with 89 additions and 5 deletions

View file

@ -294,6 +294,9 @@ export const popTextCell = (protyle: IProtyle, cellElements: HTMLElement[]) => {
} else if (["select", "mSelect"].includes(type) && blockElement) {
openMenuPanel({protyle, blockElement, type: "select", cellElements});
return;
} else if (type === "date" && blockElement) {
openMenuPanel({protyle, blockElement, type: "date", cellElements});
return;
}
window.siyuan.menus.menu.remove();
document.body.insertAdjacentHTML("beforeend", `<div class="av__mask">