mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 20:06:08 +01:00 
			
		
		
		
	add API to add plugin buttons, fixes
This commit is contained in:
		@@ -116,5 +116,6 @@ async function stopWatch(what, func) {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
function executeScript(script) {
 | 
			
		||||
    eval("(async function() {" + script + "})()");
 | 
			
		||||
    // last \r\n is necessary if script contains line comment on its last line
 | 
			
		||||
    eval("(async function() {" + script + "\r\n})()");
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user