use api.showMessage instead of alert

This commit is contained in:
Nriver 2023-01-05 09:02:40 +08:00
parent 0995c56506
commit e03cc01e15

View File

@ -8,5 +8,5 @@
<h4>Example script</h4> <h4>Example script</h4>
<pre> <pre>
alert("Current note is " + api.getActiveContextNote().title); api.showMessage("Current note is " + api.getActiveContextNote().title);
</pre> </pre>