mirror of
https://github.com/codex-team/editor.js
synced 2024-06-02 05:52:38 +02:00
Add keyup event
This commit is contained in:
parent
ec30ad53e3
commit
5122cb783e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue