mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user