Add keyup event

This commit is contained in:
Taly Guryn 2017-08-30 02:12:17 +03:00
parent ec30ad53e3
commit 5122cb783e
3 changed files with 7 additions and 3 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -363,7 +363,11 @@ module.exports = (function (ui) {
*/
editor.listeners.add(block, 'paste', editor.paste.blockPasteCallback, false);
/**
* Show inline toolbar for selected text
*/
editor.listeners.add(block, 'mouseup', editor.toolbar.inline.show, false);
editor.listeners.add(block, 'keyup', editor.toolbar.inline.show, false);
};