separate cloning dialog

This commit is contained in:
zadam
2019-11-05 23:11:25 +01:00
parent b685d7ffb5
commit 34d4274032
8 changed files with 101 additions and 5 deletions

View File

@@ -16,6 +16,7 @@ const HELP = "../dialogs/help.js";
const NOTE_INFO = "../dialogs/note_info.js";
const ABOUT = "../dialogs/about.js";
const LINK_MAP = "../dialogs/link_map.js";
const CLONE_TO = "../dialogs/clone_to.js";
function registerEntrypoints() {
// hot keys are active also inside inputs and content editables
@@ -185,6 +186,7 @@ function registerEntrypoints() {
return false;
});
utils.bindGlobalShortcut('ctrl+e', () => import(CLONE_TO).then(d => d.showDialog()));
}
export default {