Vanessa 2024-04-30 12:21:18 +08:00
parent f375a085ce
commit bd035417ce
3 changed files with 62 additions and 38 deletions

View file

@ -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",