mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 09:58:32 +02:00
added showMessage/showError to script api as they are being used
This commit is contained in:
parent
9b5a44cef4
commit
0cef5c6b8c
@ -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…
x
Reference in New Issue
Block a user