mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 09:16:45 +01:00
info message about copying / cutting into clipboard
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
Reference in New Issue
Block a user