converted note revisions to new pattern

This commit is contained in:
zadam
2022-06-16 19:29:18 +02:00
parent e140daa952
commit eb8e5eafb6
9 changed files with 307 additions and 320 deletions

View File

@@ -64,6 +64,10 @@ export default class MarkdownImportDialog extends BasicWidget {
toastService.showMessage("Markdown content has been imported into the document.");
}
async pasteMarkdownIntoTextEvent() {
await this.importMarkdownInlineEvent(); // BC with keyboard shortcuts command
}
async importMarkdownInlineEvent() {
if (appContext.tabManager.getActiveContextNoteType() !== 'text') {
return;