Fixed interfering shortcut keys: changed quick keys to select multiple fields from `Shift+Arrow Up/Down` to `Ctrl+Shift+Arrow Up/Down`.
This commit is contained in:
parent
1d9d9c2594
commit
6463d717cf
|
@ -5,11 +5,12 @@ https://github.com/josdejong/jsoneditor
|
|||
|
||||
## not yet released, version 5.1.0
|
||||
|
||||
- Implemented support for JSON schema validation, powered by `ajv`.
|
||||
A JSON schema can be configured via the option `schema` or the method
|
||||
`setSchema`.
|
||||
- Implemented support for JSON schema validation, powered by `ajv`. A JSON
|
||||
schema can be configured via the option `schema` or the method `setSchema`.
|
||||
- Added a minimalist bundle to the `dist` folder, excluding `ace` and `ajv`.
|
||||
- Fixed an error throw when switching to mode "code" via the menu.
|
||||
- Fixed interfering shortcut keys: changed quick keys to select multiple fields
|
||||
from `Shift+Arrow Up/Down` to `Ctrl+Shift+Arrow Up/Down`.
|
||||
|
||||
|
||||
## 2015-12-31, version 5.0.1
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
Key | Description
|
||||
----------------------- | ------------------------------------------------
|
||||
Alt+Arrows | Move the caret up/down/left/right between fields
|
||||
Shift+Arrow Up/Down | Select multiple fields
|
||||
Ctrl+Shift+Arrow Up/Down| Select multiple fields
|
||||
Shift+Alt+Arrows | Move current field or selected fields up/down/left/right
|
||||
Ctrl+D | Duplicate field
|
||||
Ctrl+Del | Remove field
|
||||
|
|
|
@ -2263,7 +2263,7 @@ Node.prototype.onKeyDown = function (event) {
|
|||
}
|
||||
handled = true;
|
||||
}
|
||||
else if (!altKey && shiftKey && editable) { // Shift + Arrow Up
|
||||
else if (!altKey && ctrlKey && shiftKey && editable) { // Ctrl + Shift + Arrow Up
|
||||
// select multiple nodes
|
||||
prevNode = this._previousNode();
|
||||
if (prevNode) {
|
||||
|
@ -2346,7 +2346,7 @@ Node.prototype.onKeyDown = function (event) {
|
|||
}
|
||||
handled = true;
|
||||
}
|
||||
else if (!altKey && shiftKey && editable) { // Shift + Arrow Down
|
||||
else if (!altKey && ctrlKey && shiftKey && editable) { // Ctrl + Shift + Arrow Down
|
||||
// select multiple nodes
|
||||
nextNode = this._nextNode();
|
||||
if (nextNode) {
|
||||
|
|
Loading…
Reference in New Issue