mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-09 06:02:33 +01:00
This commit is contained in:
parent
0e334d1ca0
commit
992ab53f4b
4 changed files with 25 additions and 0 deletions
|
|
@ -1427,6 +1427,11 @@ export const openMenuPanel = (options: {
|
|||
blockID,
|
||||
id: target.parentElement.dataset.id,
|
||||
avID
|
||||
}], [{
|
||||
action: "setAttrViewBlockView",
|
||||
blockID,
|
||||
id: options.blockElement.querySelector(".av__views .item--focus").getAttribute("data-id"),
|
||||
avID
|
||||
}]);
|
||||
}
|
||||
event.preventDefault();
|
||||
|
|
@ -1447,6 +1452,11 @@ export const openMenuPanel = (options: {
|
|||
blockID,
|
||||
id: target.parentElement.dataset.id,
|
||||
avID,
|
||||
}], [{
|
||||
action: "setAttrViewBlockView",
|
||||
blockID,
|
||||
id: options.blockElement.querySelector(".av__views .item--focus").getAttribute("data-id"),
|
||||
avID,
|
||||
}]);
|
||||
window.siyuan.menus.menu.remove();
|
||||
openViewMenu({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue