mirror of
https://github.com/paradoxxxzero/butterfly.git
synced 2026-05-28 07:59:41 +00:00
And the js...
This commit is contained in:
@@ -2614,6 +2614,7 @@ document.addEventListener('keydown', function(e) {
|
||||
}
|
||||
if (e.keyCode === 13 && !selection && !getSelection().isCollapsed) {
|
||||
term.handler(getSelection().toString());
|
||||
getSelection().removeAllRanges();
|
||||
return cancel(e);
|
||||
}
|
||||
if (selection) {
|
||||
|
||||
Reference in New Issue
Block a user