mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
info message about copying / cutting into clipboard
This commit is contained in:
parent
ad7fa5e096
commit
37995f1ce5
@ -60,11 +60,15 @@ const contextMenu = (function() {
|
|||||||
function copy(nodes) {
|
function copy(nodes) {
|
||||||
clipboardIds = nodes.map(node => node.data.note_id);
|
clipboardIds = nodes.map(node => node.data.note_id);
|
||||||
clipboardMode = 'copy';
|
clipboardMode = 'copy';
|
||||||
|
|
||||||
|
showMessage("Note(s) have been copied into clipboard.");
|
||||||
}
|
}
|
||||||
|
|
||||||
function cut(nodes) {
|
function cut(nodes) {
|
||||||
clipboardIds = nodes.map(node => node.key);
|
clipboardIds = nodes.map(node => node.key);
|
||||||
clipboardMode = 'cut';
|
clipboardMode = 'cut';
|
||||||
|
|
||||||
|
showMessage("Note(s) have been cut into clipboard.");
|
||||||
}
|
}
|
||||||
|
|
||||||
const contextMenuSettings = {
|
const contextMenuSettings = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user