mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-11 22:51:20 +08:00
📝
This commit is contained in:
parent
0e04a0a4e3
commit
fd0092fb21
@ -470,7 +470,7 @@ export const copySubMenu = (id: string, accelerator = true, focusElement?: Eleme
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
label: window.siyuan.languages.copyProtocol,
|
label: window.siyuan.languages.copyProtocolInMd,
|
||||||
click: () => {
|
click: () => {
|
||||||
fetchPost("/api/block/getRefText", {id}, (response) => {
|
fetchPost("/api/block/getRefText", {id}, (response) => {
|
||||||
writeText(`[${response.data.substring(0, Constants.SIZE_LINK_TEXT_MAX)}](siyuan://blocks/${id})`);
|
writeText(`[${response.data.substring(0, Constants.SIZE_LINK_TEXT_MAX)}](siyuan://blocks/${id})`);
|
||||||
|
Loading…
Reference in New Issue
Block a user