mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
added createAttribute method to script API
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user