mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-23 07:24:07 +01:00
This commit is contained in:
parent
f375a085ce
commit
bd035417ce
3 changed files with 62 additions and 38 deletions
|
|
@ -260,7 +260,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positi
|
|||
const keyCellElement = rowElements[0].querySelector(".av__cell[data-block-id]") as HTMLElement;
|
||||
if (rowElements.length === 1 && keyCellElement.getAttribute("data-detached") !== "true") {
|
||||
const blockId = rowElements[0].getAttribute("data-id");
|
||||
openEditorTab(protyle.app, blockId);
|
||||
openEditorTab(protyle.app, [blockId]);
|
||||
menu.addItem({
|
||||
label: window.siyuan.languages.copy,
|
||||
icon: "iconCopy",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue