becca conversion WIP

This commit is contained in:
zadam
2021-05-02 11:23:58 +02:00
parent d13c8771ca
commit 1af10d48a2
29 changed files with 91 additions and 92 deletions

View File

@@ -275,7 +275,7 @@ function BackendScriptApi(currentNote, apiParams) {
extraOptions.parentNoteId = parentNoteId;
extraOptions.title = title;
const parentNote = repository.getNote(parentNoteId);
const parentNote = becca.getNote(parentNoteId);
// code note type can be inherited, otherwise text is default
extraOptions.type = parentNote.type === 'code' ? 'code' : 'text';