mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
🚨
This commit is contained in:
parent
bcc7a5fa03
commit
221abe81e6
3 changed files with 3 additions and 4 deletions
|
|
@ -100,6 +100,6 @@ ${html}
|
|||
</div>`;
|
||||
};
|
||||
|
||||
export const bindGroupsEvent = (protyle: IProtyle, menuElement: HTMLElement, data: IAV, blockID: string) => {
|
||||
export const bindGroupsEvent = () => {
|
||||
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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];
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue