Vanessa 2023-07-02 11:32:21 +08:00
parent d175677042
commit 593959312d
3 changed files with 12 additions and 2 deletions

View file

@ -149,7 +149,13 @@ export const showHeaderCellMenu = (protyle: IProtyle, blockElement: HTMLElement,
icon: "iconEyeoff",
label: window.siyuan.languages.hide,
click() {
transaction(protyle, [{
action:"setAttrViewColHidden",
data: true
}], [{
action:"setAttrViewColHidden",
data: false
}]);
}
});
menu.addItem({