mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 01:06:36 +01:00
moving deleteNote and deleteBranch into entities to make them accessible to scripts, #2792
This commit is contained in:
@@ -139,6 +139,8 @@ class AbstractEntity {
|
||||
/**
|
||||
* Mark the entity as (soft) deleted. It will be completely erased later.
|
||||
*
|
||||
* This is a low level method, for notes and branches use `note.deleteNote()` and 'branch.deleteBranch()` instead.
|
||||
*
|
||||
* @param [deleteId=null]
|
||||
*/
|
||||
markAsDeleted(deleteId = null) {
|
||||
|
||||
Reference in New Issue
Block a user