mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	"duplicate note" now duplicates whole note subtree instead of just individual note
This commit is contained in:
		| @@ -88,7 +88,7 @@ function parseSelectedHtml(selectedHtml) { | ||||
|     } | ||||
| } | ||||
|  | ||||
| async function duplicateNote(noteId, parentNoteId) { | ||||
| async function duplicateSubtree(noteId, parentNoteId) { | ||||
|     const {note} = await server.post(`notes/${noteId}/duplicate/${parentNoteId}`); | ||||
|  | ||||
|     await ws.waitForMaxKnownEntityChangeId(); | ||||
| @@ -102,5 +102,5 @@ async function duplicateNote(noteId, parentNoteId) { | ||||
| export default { | ||||
|     createNote, | ||||
|     createNewTopLevelNote, | ||||
|     duplicateNote | ||||
|     duplicateSubtree | ||||
| }; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user