mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-01 02:10:15 +01:00
🚨
This commit is contained in:
parent
24856a1c84
commit
7e37563fcd
12 changed files with 26 additions and 28 deletions
|
|
@ -265,7 +265,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi
|
|||
/// #if !MOBILE
|
||||
const blockId = rowElements[0].getAttribute("data-id");
|
||||
const openSubmenus = openEditorTab(protyle.app, [blockId], undefined, undefined, true);
|
||||
openSubmenus.push({type: "separator"})
|
||||
openSubmenus.push({type: "separator"});
|
||||
openSubmenus.push({
|
||||
icon: "iconAttr",
|
||||
label: window.siyuan.languages.attr,
|
||||
|
|
@ -274,7 +274,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi
|
|||
openFileAttr(response.data, "av", protyle);
|
||||
});
|
||||
}
|
||||
})
|
||||
});
|
||||
menu.addItem({
|
||||
id: "openBy",
|
||||
label: window.siyuan.languages.openBy,
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ export const avKeydown = (event: KeyboardEvent, nodeElement: HTMLElement, protyl
|
|||
nodeElement.querySelectorAll(".av__cell--select, .av__cell--active").forEach(item => {
|
||||
item.classList.remove("av__cell--select", "av__cell--active");
|
||||
item.querySelector(".av__drag-fill")?.remove();
|
||||
})
|
||||
});
|
||||
selectRow(rowElement.querySelector(".av__firstcol"), "select");
|
||||
event.preventDefault();
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue