disabled `Ctrl+L` quick key to go to a line, instead use the default browser behavior of selecting the address bar.
This commit is contained in:
parent
03c82ba38f
commit
0b3b23e92e
|
@ -7,6 +7,8 @@ https://github.com/josdejong/jsoneditor
|
|||
|
||||
- Replaced the PNG icon images with SVG. Thanks @1j01.
|
||||
- Fixed #234: Remove dependency on a fork of the `jsonlint` project on github.
|
||||
- Fixed: disabled `Ctrl+L` quick key to go to a line, instead use the default
|
||||
browser behavior of selecting the address bar.
|
||||
|
||||
|
||||
## 2015-06-13, version 4.2.1
|
||||
|
|
|
@ -139,6 +139,8 @@ textmode.create = function (container, options) {
|
|||
editor.getSession().setTabSize(this.indentation);
|
||||
editor.getSession().setUseSoftTabs(true);
|
||||
editor.getSession().setUseWrapMode(true);
|
||||
editor.commands.bindKey('Ctrl-L', null); // disable Ctrl+L (is used by the browser to select the address bar)
|
||||
editor.commands.bindKey('Command-L', null); // disable Ctrl+L (is used by the browser to select the address bar)
|
||||
this.editor = editor;
|
||||
|
||||
var poweredBy = document.createElement('a');
|
||||
|
|
Loading…
Reference in New Issue