mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
added createAttribute method to script API
This commit is contained in:
parent
9bf1735bde
commit
dfd9927310
@ -54,6 +54,8 @@ function ScriptContext(noteId, dataKey) {
|
|||||||
return noteId;
|
return noteId;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
this.createAttribute = attributes.createAttribute;
|
||||||
|
|
||||||
this.updateEntity = this.repository.updateEntity;
|
this.updateEntity = this.repository.updateEntity;
|
||||||
|
|
||||||
this.log = function(message) {
|
this.log = function(message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user