mirror of
https://github.com/codex-team/editor.js
synced 2024-06-02 05:52:38 +02:00
Merge pull request #191 from codex-team/keyup-event-for-showing-inline-toolbar
Add keyup event for showing inline toolbar
This commit is contained in:
commit
67bd710045
1
CODEOWNERS
Normal file
1
CODEOWNERS
Normal file
|
@ -0,0 +1 @@
|
|||
* @neSpecc @gohabereg @khaydarov @talyguryn
|
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);
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "codex.editor",
|
||||
"version": "1.6.6",
|
||||
"version": "1.6.7",
|
||||
"description": "Codex Editor. Native JS, based on API and Open Source",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in a new issue