mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
📝
This commit is contained in:
parent
0e04a0a4e3
commit
fd0092fb21
1 changed files with 1 additions and 1 deletions
|
|
@ -470,7 +470,7 @@ export const copySubMenu = (id: string, accelerator = true, focusElement?: Eleme
|
|||
}
|
||||
}
|
||||
}, {
|
||||
label: window.siyuan.languages.copyProtocol,
|
||||
label: window.siyuan.languages.copyProtocolInMd,
|
||||
click: () => {
|
||||
fetchPost("/api/block/getRefText", {id}, (response) => {
|
||||
writeText(`[${response.data.substring(0, Constants.SIZE_LINK_TEXT_MAX)}](siyuan://blocks/${id})`);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue