mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-24 02:20:13 +01:00
This commit is contained in:
parent
07334bed6a
commit
e8d3eec13c
1 changed files with 3 additions and 0 deletions
|
|
@ -509,6 +509,9 @@ const editKeydown = (app: App, event: KeyboardEvent) => {
|
|||
});
|
||||
} else {
|
||||
const ids = Array.from(protyle.wysiwyg.element.querySelectorAll(".protyle-wysiwyg--select")).map(item => item.getAttribute("data-node-id"));
|
||||
if (ids.length === 0) {
|
||||
ids.push(nodeElement.getAttribute("data-node-id"))
|
||||
}
|
||||
copyTextByType(ids, "ref");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue