fix inline markdown import dialog

This commit is contained in:
zadam
2019-09-02 21:23:55 +02:00
parent 5d80df398b
commit 76dce5197f
2 changed files with 9 additions and 5 deletions

View File

@@ -159,6 +159,13 @@ $('[data-toggle="tooltip"]').tooltip({
html: true
});
// for CKEditor integration (button on block toolbar)
window.glob.importMarkdownInline = async () => {
const dialog = await import("./dialogs/markdown_import.js");
dialog.importMarkdownInline();
};
macInit.init();
searchNotesService.init(); // should be in front of treeService since that one manipulates address bar hash