mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	fix runOnNoteContentChange event
This commit is contained in:
		| @@ -229,10 +229,6 @@ function createNewNote(params) { | ||||
|             entity: note | ||||
|         }); | ||||
|  | ||||
|         eventService.emit(eventService.NOTE_CONTENT_CHANGE, { | ||||
|             entity: note | ||||
|         }); | ||||
|  | ||||
|         eventService.emit(eventService.ENTITY_CREATED, { | ||||
|             entityName: 'branches', | ||||
|             entity: branch | ||||
| @@ -570,8 +566,6 @@ function downloadImages(noteId, content) { | ||||
|  | ||||
|                     asyncPostProcessContent(origNote, updatedContent); | ||||
|  | ||||
|                     eventService.emit(eventService.NOTE_CONTENT_CHANGE, { entity: origNote }); | ||||
|  | ||||
|                     console.log(`Fixed the image links for note '${noteId}' to the offline saved.`); | ||||
|                 } | ||||
|             }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user