This commit is contained in:
Vanessa 2025-07-22 16:14:43 +08:00
parent bcc7a5fa03
commit 221abe81e6
3 changed files with 3 additions and 4 deletions

View file

@ -100,6 +100,6 @@ ${html}
</div>`;
};
export const bindGroupsEvent = (protyle: IProtyle, menuElement: HTMLElement, data: IAV, blockID: string) => {
export const bindGroupsEvent = () => {
};

View file

@ -240,6 +240,5 @@ export const getLabelByNumberFormat = (format: string) => {
return window.siyuan.languages.numberFormatPercent;
}
let key = "numberFormat" + format;
return window.siyuan.languages[key]
return window.siyuan.languages["numberFormat" + format];
};

View file

@ -579,7 +579,7 @@ export const openMenuPanel = (options: {
break;
} else if (type === "goGroups") {
menuElement.innerHTML = getGroupsHTML(fields, data.view.group);
bindGroupsEvent(options.protyle, menuElement, data, blockID);
bindGroupsEvent();
setPosition(menuElement, tabRect.right - menuElement.clientWidth, tabRect.bottom, tabRect.height);
window.siyuan.menus.menu.remove();
event.preventDefault();