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
Reference in a new issue