mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-30 18:05:55 +01:00 
			
		
		
		
	scripts should have different sourceId
This commit is contained in:
		| @@ -32,6 +32,8 @@ async function executeBundle(bundle, apiParams = {}) { | ||||
|         apiParams.startNote = bundle.note; | ||||
|     } | ||||
|  | ||||
|     cls.namespace.set('sourceId', 'script'); | ||||
|  | ||||
|     // last \r\n is necessary if script contains line comment on its last line | ||||
|     const script = "async function() {\r\n" + bundle.script + "\r\n}"; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user