mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
fix setNoteToParent and deprecate it
This commit is contained in:
@@ -282,9 +282,10 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
* This method looks similar to toggleNoteInParent() but differs because we're looking up branch by prefix.
|
||||
*
|
||||
* @method
|
||||
* @deprecated - this method is pretty confusing and serves specialized purpose only
|
||||
* @param {string} noteId
|
||||
* @param {string} prefix
|
||||
* @param {string} [parentNoteId]
|
||||
* @param {string|null} parentNoteId
|
||||
*/
|
||||
this.setNoteToParent = treeService.setNoteToParent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user