refactored TabContext => NoteContext

This commit is contained in:
zadam
2021-05-22 12:35:41 +02:00
parent 274cf7312c
commit 79a85a0aa7
60 changed files with 187 additions and 187 deletions

View File

@@ -29,7 +29,7 @@ async function convertMarkdownToHtml(text) {
}
export async function importMarkdownInline() {
if (appContext.tabManager.getActiveTabNoteType() !== 'text') {
if (appContext.tabManager.getActiveContextNoteType() !== 'text') {
return;
}
@@ -58,4 +58,4 @@ $importButton.on('click', sendForm);
$dialog.on('shown.bs.modal', () => $importTextarea.trigger('focus'));
utils.bindElShortcut($dialog, 'ctrl+return', sendForm);
utils.bindElShortcut($dialog, 'ctrl+return', sendForm);