mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-11 17:54:20 +01:00
This commit is contained in:
parent
d175677042
commit
593959312d
3 changed files with 12 additions and 2 deletions
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue