mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	target note is expanded after cloning into it
CTRL-V pastes into instead of after showing messages about clipboard operations
This commit is contained in:
		| @@ -472,18 +472,27 @@ const noteTree = (function() { | ||||
|                     case 67: | ||||
|                         if (event.ctrlKey) { // Ctrl-C | ||||
|                             contextMenu.copy(node); | ||||
|                             return false; | ||||
|                         } | ||||
|                         break; | ||||
|                     case 86: | ||||
|                         if (event.ctrlKey) { // Ctrl-V | ||||
|                             contextMenu.pasteAfter(node); | ||||
|  | ||||
|                             showMessage("Note copied into clipboard."); | ||||
|  | ||||
|                             return false; | ||||
|                         } | ||||
|                         break; | ||||
|                     case 88: | ||||
|                         if (event.ctrlKey) { // Ctrl-X | ||||
|                             contextMenu.cut(node); | ||||
|  | ||||
|                             showMessage("Note cut into clipboard."); | ||||
|  | ||||
|                             return false; | ||||
|                         } | ||||
|                         break; | ||||
|                     case 86: | ||||
|                         if (event.ctrlKey) { // Ctrl-V | ||||
|                             contextMenu.pasteInto(node); | ||||
|  | ||||
|                             showMessage("Note pasted from clipboard into current note."); | ||||
|  | ||||
|                             return false; | ||||
|                         } | ||||
|                         break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user