mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +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