mirror of
https://github.com/zadam/trilium.git
synced 2025-02-20 21:13:11 +08:00
info message about copying / cutting into clipboard
This commit is contained in:
parent
ad7fa5e096
commit
37995f1ce5
1 changed files with 4 additions and 0 deletions
|
@ -60,11 +60,15 @@ const contextMenu = (function() {
|
|||
function copy(nodes) {
|
||||
clipboardIds = nodes.map(node => node.data.note_id);
|
||||
clipboardMode = 'copy';
|
||||
|
||||
showMessage("Note(s) have been copied into clipboard.");
|
||||
}
|
||||
|
||||
function cut(nodes) {
|
||||
clipboardIds = nodes.map(node => node.key);
|
||||
clipboardMode = 'cut';
|
||||
|
||||
showMessage("Note(s) have been cut into clipboard.");
|
||||
}
|
||||
|
||||
const contextMenuSettings = {
|
||||
|
|
Loading…
Reference in a new issue