mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
refactored TabContext => NoteContext
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user