Vanessa 2025-01-05 12:06:02 +08:00
parent 58d47ed548
commit 8322087cba
3 changed files with 70 additions and 6 deletions

View file

@ -423,7 +423,7 @@ export const copySubMenu = (ids: string[], accelerator = true, focusElement?: El
iconHTML: "",
label: window.siyuan.languages.copyHPath,
accelerator: accelerator ? window.siyuan.config.keymap.editor.general.copyHPath.custom : undefined,
click: () => {
click: () => {
copyTextByType(ids, "hPath");
if (focusElement) {
focusBlock(focusElement);