mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
activateNewNote does not reload whole tree anymore
This commit is contained in:
@@ -232,7 +232,7 @@ function BackendScriptApi(currentNote, apiParams) {
|
||||
this.createDataNote = async (parentNoteId, title, content = {}) => await noteService.createNewNote({
|
||||
parentNoteId,
|
||||
title,
|
||||
content: JSON.stringify(content),
|
||||
content: JSON.stringify(content, null, '\t'),
|
||||
type: 'code',
|
||||
mime: 'application/json'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user