mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 18:36:30 +01:00 
			
		
		
		
	clipper endpoint should also scan and download images as a fallback, #2621
This commit is contained in:
		| @@ -144,6 +144,9 @@ function processContent(images, note, content) { | |||||||
|         } |         } | ||||||
|     } |     } | ||||||
|  |  | ||||||
|  |     // fallback if parsing/downloading images fails for some reason on the extension side ( | ||||||
|  |     rewrittenContent = noteService.downloadImages(note.noteId, rewrittenContent); | ||||||
|  |  | ||||||
|     return rewrittenContent; |     return rewrittenContent; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
| @@ -949,5 +949,6 @@ module.exports = { | |||||||
|     triggerNoteTitleChanged, |     triggerNoteTitleChanged, | ||||||
|     eraseDeletedNotesNow, |     eraseDeletedNotesNow, | ||||||
|     eraseNotesWithDeleteId, |     eraseNotesWithDeleteId, | ||||||
|     saveNoteRevision |     saveNoteRevision, | ||||||
|  |     downloadImages | ||||||
| }; | }; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user