Commit Graph

1608 Commits

Author SHA1 Message Date
jos 21ae2180e7 Publish `v5.28.1` 2019-01-22 20:48:08 +01:00
jos 3f9ea75f20 Minor code cleanup 2019-01-22 20:44:52 +01:00
jos 7d9db67d69 Fix #637: vertical white border left/right from the main menu in some specific circumstances 2019-01-22 20:44:10 +01:00
jos 958463a9cd Fix #638: cannot expand after collapse 2019-01-22 20:27:23 +01:00
jos 3334241ab9 Publish v5.28.0 2019-01-21 21:06:23 +01:00
jos db9f5480c7 Define `onClassName` once and use it twice 2019-01-21 21:04:32 +01:00
jos 20e42ab8b0 Fix example 20 always highlighting objects and arrays (see #604) 2019-01-21 21:01:38 +01:00
jos c7d054406c Make the method `refresh()` public 2019-01-21 20:56:50 +01:00
jos a7cc8527bd Updated history, some minor tweaks in example 20 (see #604) 2019-01-21 20:53:02 +01:00
Pawel Raszewski 1c5d7d71ac added an ability to set custom css classes for Node's field and value (#604)
* update for gulp 4.0.0

* added an ability to set custom css classes for Node's field and value

* v5.9.8-beta

* wip

* wip

* wip

* wip

* wip

* wip

* cleanup

* reverted ./dist/ files

* cleanup

* reverted package-lock.json

* updated onClassName signature

* recursive node class name update on change

* add/remove css classes on node

* example fix

* merged remote

* removed yarn.lock

* changes get reflected on both sides of the diff view in example 20

* refactored and cleaned up example 20
2019-01-21 20:42:43 +01:00
jos 160c82f378 Updated history 2019-01-16 17:48:29 +01:00
Ben Chadwick a20908f462 Configurable max visible childs (#630)
* repair branch; undo childs->children change; make getMaxVisibleChilds a fn

* address PR comment
2019-01-16 17:47:08 +01:00
jos 4e62cf5ba5 Publish v5.27.1 2019-01-16 15:59:11 +01:00
jos 182150ea30 Updated history 2019-01-16 14:20:54 +01:00
Tyler Chen 4f9fc926f8 Update Node.js (#624)
* Update Node.js

add both:
1. fix childSchema with $ref, and not display the select element on the child schema because of not found enum
2. add title from schema description to show the tips for user input

* Update Node.js

fix this.editor.options.schema could be nullable.

* Update Node.js

improve the Node._findSchema to Node._findSchema = function (schema, schemaRefs, path) { ... } by tylerchen

* update Node._findSchema to Node._findSchema = function (schema, schemaRefs, path)
2019-01-16 14:18:02 +01:00
jos 5a93d3df6d Update history 2019-01-12 11:27:52 +01:00
Meir Rotstein 02d7d0fc71 Add option for show all path on the navigation bar (tree mode) (#628)
* navigation bar - allow to see all path when there is no space

* fix: ellipsis was not presented on some cases

* some code cleaning
2019-01-12 11:25:02 +01:00
jos e9f6a299f7 Publish v5.27.0 2019-01-05 15:21:54 +01:00
jos b59da1a5c9 Describe `onNodeName` in docs (see #617) 2019-01-05 15:15:33 +01:00
jos 8c74bc7ef9 Put try/catch directly around `this.editor.options.onNodeName(...)` (see #617) 2019-01-05 15:00:13 +01:00
jos 1e29d2a94a Check whether `onNodeName` is defined before calling the function (see #617) 2019-01-04 21:11:27 +01:00
jos 535a47c347 Updated history 2019-01-04 21:04:37 +01:00
jos b6e34ea476 Merge remote-tracking branch 'origin/develop' into develop 2019-01-04 21:03:58 +01:00
Bastian Nanchen 93232a09cc Customize object names 2 (#617)
* Customize object names

* Fix: the object's name updates when its properties change

* Creation of node.prototype.updateObjectName method

* Implementation of recursivelyUpdateObjectName method

* Callback arguments: path and size

* New callback argument - type: array | object

* Code improvement and callback function renaming: onNodeName
2019-01-04 21:03:45 +01:00
jos b202627f6e Update history 2019-01-04 21:00:21 +01:00
Meir Rotstein 78194051b0 Hide show error table (#620)
* allow to hide adn show the error table

* code mode: scroll to line on text selection

* validation icon - pointer cursor

* (1) toggle validation errors table by clicking validation count
(2) preserve show/hide state after fixing parse errors

* remove arrow function (no ES6 support)
2019-01-04 20:57:19 +01:00
jos bc5c133b52 Updated history 2018-12-20 21:18:07 +01:00
Anthony Fu ea119df821 i18n for ModeSwitcher (#616)
* unquote keys

* i18n for ModeSwitcher
2018-12-20 21:14:04 +01:00
jos 72ab51002c Publish v5.26.3 2018-12-06 21:44:37 +01:00
jos 6551701153 Fixed #610: JSON Repair now removes trailing commas 2018-12-06 20:15:14 +01:00
jos 550e0a2c4e Updated history 2018-12-05 09:38:51 +01:00
Pawel Raszewski 404fa036f9 Gulp4 (#608)
* update for gulp 4.0.0

* added gulp 4.0.0
2018-12-05 09:35:52 +01:00
jos 9ac82e24d2 Publish v5.26.2 2018-11-13 20:39:02 +01:00
jos db8652baa6 Publish v5.26.1 2018-11-13 20:29:22 +01:00
jos 2cd9cc168a Fixed #598: Search field can't be focused in object view 2018-11-13 20:27:54 +01:00
Jacob Page 3065dad0f5 Fix deepEqual for null values (#600)
When doing a `.update` on an editor that was showing an object and
replacing it with `null`, a runtime exception occurs. This is because
the `deepEqual` check doesn't account for the fact that `typeof null ===
'object'`, so it tries to access properties of a null value.
2018-11-13 20:04:54 +01:00
jos bd8bac03bd Publish v5.26.0 2018-11-12 20:14:03 +01:00
Tanmay Rajani d7551da7e6 Create option to hide the blue main menu bar on top (#596)
* ability to hide main menu bar; minor fixes for typos, JSDoc etc.

* fix CSS issue when mainMenuBar is hidden in all modes; other minor refactoring
2018-11-12 20:11:09 +01:00
jos 4e24601823 Publish v5.25.0 2018-10-29 20:31:10 +01:00
jos d0b49fbf12 Fixed #589 for undo/redo and duplicate actions too 2018-10-29 20:28:27 +01:00
jos 67ef58bef3 Fixed #595: navigation bar path link not working 2018-10-24 21:58:56 +02:00
jos 07b341546e Updated history 2018-10-18 20:43:23 +02:00
Tanmay Rajani 6403c0bd17 Adds ability to hide sort and transform options (#588)
* adds ability to hide sort and transform buttons

* adds new options to API doc

* cover context-menu sort, transform options; remove negations

* update readme wordings
2018-10-18 20:42:02 +02:00
jos 9c23ca9791 Fixed not preventing default selection of text when selecting nodes 2018-10-17 15:31:42 +02:00
jos e08250c3cb Fixed duplicate and remove of the action menu of multiple selected nodes not working 2018-10-17 15:26:05 +02:00
jos 7d2d669191 Fixed #590: validation failing in code and text mode when status bar is disabled 2018-10-17 14:50:47 +02:00
jos 37e609d4d8 Fixed #589: when deleting or moving a node, the navigation bar is not updated with the correct path 2018-10-17 13:40:48 +02:00
jos b45993ccd5 Release v5.24.7 2018-10-08 20:07:21 +02:00
Meir Rotstein 4d7bb3c6e3 refresh annotations with error type only (#587)
* Fix #582: parse error annotations not always up to date in code editor

* refresh annotations with error type only
2018-10-08 19:52:47 +02:00
Mark Herhold 68aba366ad Don't package CONTRIBUTING.md or examples folder (#579)
* Don't package CONTRIBUTING.md or examples folder

If you don't want this, please just close.

Thanks for the awesome module!

* Update .npmignore

don't ignore examples/
2018-09-18 19:53:57 +02:00