Prioritize escape actions with a label hierarchy instead of an integer

This commit is contained in:
Maxime Quandalle 2015-05-27 02:48:15 +02:00
parent 40c2411f2a
commit 42f6dc686f
6 changed files with 34 additions and 16 deletions

View file

@ -60,7 +60,7 @@ Template.editor.onRendered(function() {
});
});
EscapeActions.register(10,
EscapeActions.register('textcomplete',
function() { return dropdownMenuIsOpened; },
function() {}
);