mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	cssClass is correctly filled for new note
This commit is contained in:
		| @@ -26,6 +26,8 @@ async function createNote(req) { | ||||
|  | ||||
|     const { note, branch } = await noteService.createNewNote(parentNoteId, newNote, req); | ||||
|  | ||||
|     note.cssClass = (await note.getLabels("cssClass")).map(label => label.value).join(" "); | ||||
|  | ||||
|     return { | ||||
|         note, | ||||
|         branch | ||||
|   | ||||
		Reference in New Issue
	
	Block a user