Publish v5.26.2
This commit is contained in:
parent
db8652baa6
commit
9ac82e24d2
|
@ -3,6 +3,12 @@
|
||||||
https://github.com/josdejong/jsoneditor
|
https://github.com/josdejong/jsoneditor
|
||||||
|
|
||||||
|
|
||||||
|
## 2018-11-13, version 5.26.2
|
||||||
|
|
||||||
|
- Fixed dragging and selecting multiple nodes not working
|
||||||
|
(regression introduced in `v5.26.1`).
|
||||||
|
|
||||||
|
|
||||||
## 2018-11-13, version 5.26.1
|
## 2018-11-13, version 5.26.1
|
||||||
|
|
||||||
- Fixed `.update()` throwing an exception when replacing a JSON object
|
- Fixed `.update()` throwing an exception when replacing a JSON object
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
||||||
*
|
*
|
||||||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||||||
* @version 5.26.1
|
* @version 5.26.2
|
||||||
* @date 2018-11-13
|
* @date 2018-11-13
|
||||||
*/
|
*/
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
|
@ -2633,7 +2633,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// filter mouse events in the contents part of the editor (not the main menu)
|
// filter mouse events in the contents part of the editor (not the main menu)
|
||||||
if (event.type === 'mousedown' && util.hasParentNode(event.target, editor.content)) {
|
if (event.type === 'mousedown' && util.hasParentNode(event.target, this.content)) {
|
||||||
this.deselect();
|
this.deselect();
|
||||||
|
|
||||||
if (node && event.target === node.dom.drag) {
|
if (node && event.target === node.dom.drag) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -24,7 +24,7 @@
|
||||||
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
* Copyright (c) 2011-2017 Jos de Jong, http://jsoneditoronline.org
|
||||||
*
|
*
|
||||||
* @author Jos de Jong, <wjosdejong@gmail.com>
|
* @author Jos de Jong, <wjosdejong@gmail.com>
|
||||||
* @version 5.26.1
|
* @version 5.26.2
|
||||||
* @date 2018-11-13
|
* @date 2018-11-13
|
||||||
*/
|
*/
|
||||||
(function webpackUniversalModuleDefinition(root, factory) {
|
(function webpackUniversalModuleDefinition(root, factory) {
|
||||||
|
@ -31275,7 +31275,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// filter mouse events in the contents part of the editor (not the main menu)
|
// filter mouse events in the contents part of the editor (not the main menu)
|
||||||
if (event.type === 'mousedown' && util.hasParentNode(event.target, editor.content)) {
|
if (event.type === 'mousedown' && util.hasParentNode(event.target, this.content)) {
|
||||||
this.deselect();
|
this.deselect();
|
||||||
|
|
||||||
if (node && event.target === node.dom.drag) {
|
if (node && event.target === node.dom.drag) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jsoneditor",
|
"name": "jsoneditor",
|
||||||
"version": "5.26.1",
|
"version": "5.26.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "jsoneditor",
|
"name": "jsoneditor",
|
||||||
"version": "5.26.1",
|
"version": "5.26.2",
|
||||||
"main": "./index",
|
"main": "./index",
|
||||||
"description": "A web-based tool to view, edit, format, and validate JSON",
|
"description": "A web-based tool to view, edit, format, and validate JSON",
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|
|
@ -1182,7 +1182,7 @@ treemode._onEvent = function (event) {
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// filter mouse events in the contents part of the editor (not the main menu)
|
// filter mouse events in the contents part of the editor (not the main menu)
|
||||||
if (event.type === 'mousedown' && util.hasParentNode(event.target, editor.content)) {
|
if (event.type === 'mousedown' && util.hasParentNode(event.target, this.content)) {
|
||||||
this.deselect();
|
this.deselect();
|
||||||
|
|
||||||
if (node && event.target === node.dom.drag) {
|
if (node && event.target === node.dom.drag) {
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
"url": "http://jsoneditoronline.org"
|
"url": "http://jsoneditoronline.org"
|
||||||
};
|
};
|
||||||
|
|
||||||
editor = new JSONEditor(container, options, json);
|
editorTest = new JSONEditor(container, options, json);
|
||||||
|
|
||||||
console.log('json', json);
|
console.log('json', json);
|
||||||
console.log('string', JSON.stringify(json));
|
console.log('string', JSON.stringify(json));
|
||||||
|
|
Loading…
Reference in New Issue