create note from template WIP

This commit is contained in:
zadam
2022-05-31 23:27:45 +02:00
parent 98b579524c
commit b204014a11
3 changed files with 19 additions and 5 deletions

View File

@@ -43,7 +43,8 @@ async function createNote(parentNotePath, options = {}) {
content: options.content || "",
isProtected: options.isProtected,
type: options.type,
mime: options.mime
mime: options.mime,
templateNoteId: options.templateNoteId
});
if (options.saveSelection && utils.isCKEditorInitialized()) {