refactored TabContext => NoteContext

This commit is contained in:
zadam
2021-05-22 12:26:45 +02:00
parent 29e4e2afbb
commit 274cf7312c
54 changed files with 470 additions and 459 deletions

View File

@@ -7,7 +7,7 @@ const $noteSource = $("#note-source");
export async function showDialog() {
utils.openDialog($dialog);
const noteCompletement = await appContext.tabManager.getActiveTabContext().getNoteComplement();
const noteCompletement = await appContext.tabManager.getActiveNoteContext().getNoteComplement();
$noteSource.text(formatHtml(noteCompletement.content));
}
@@ -37,4 +37,4 @@ function formatNode(node, level) {
}
return node;
}
}