mirror of
https://github.com/zadam/trilium.git
synced 2025-02-24 23:13:43 +08:00
added showMessage/showError to script api as they are being used
This commit is contained in:
parent
9b5a44cef4
commit
0cef5c6b8c
1 changed files with 3 additions and 1 deletions
|
@ -54,7 +54,9 @@ function ScriptApi(startNote, currentNote) {
|
|||
activateNote,
|
||||
getInstanceName: () => window.glob.instanceName,
|
||||
runOnServer,
|
||||
formatDateISO: utils.formatDateISO
|
||||
formatDateISO: utils.formatDateISO,
|
||||
showMessage: utils.showMessage,
|
||||
showError: utils.showError
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue