jos
6bef66aaba
Merge branch 'develop' into feature/preview
...
# Conflicts:
# HISTORY.md
2019-07-24 13:48:20 +02:00
jos
745a4f3665
Implement validation in mode `"preview"`
2019-07-24 13:30:44 +02:00
jos
8c06c41f02
Merge remote-tracking branch 'origin/develop' into develop
2019-07-20 11:11:12 +02:00
jos
6f6f58bb33
Update package-lock.json files of react examples
2019-07-20 11:11:01 +02:00
greenkeeper[bot]
a077e660e3
Update lodash in group default to the latest version 🚀 ( #747 )
...
* fix(package): update lodash to version 4.17.15
* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-07-20 11:03:00 +02:00
jos
939826d41f
Update dependencies
2019-07-17 12:17:34 +02:00
dependabot[bot]
23463740df
Bump lodash.template in /examples/react_advanced_demo ( #733 )
...
Bumps [lodash.template](https://github.com/lodash/lodash ) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 11:08:39 +02:00
dependabot[bot]
fe7b0eaa2a
Bump lodash from 4.17.11 to 4.17.13 in /examples/react_advanced_demo ( #736 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.13.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.13 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 11:07:55 +02:00
dependabot[bot]
47630710af
Bump lodash from 4.17.11 to 4.17.14 in /examples/react_demo ( #737 )
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.11 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.11...4.17.14 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-13 11:07:20 +02:00
jos
df386b6f1b
Add `'preview'` to the list with allowed modes in all examples
2019-07-08 20:00:34 +02:00
dependabot[bot]
05753a00ef
Bump handlebars from 4.0.11 to 4.1.2 in /examples/react_advanced_demo ( #726 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 19:38:00 +02:00
dependabot[bot]
4d12b1d000
Bump handlebars from 4.0.11 to 4.1.2 in /examples/react_demo ( #725 )
...
Bumps [handlebars](https://github.com/wycats/handlebars.js ) from 4.0.11 to 4.1.2.
- [Release notes](https://github.com/wycats/handlebars.js/releases )
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md )
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.0.11...v4.1.2 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-07-04 19:37:39 +02:00
jos
12dc0408e8
Update dependencies of react examples
2019-06-12 22:01:56 +02:00
jos
10daf40b56
Use JSON schema title as name for the root object if defined (see #635 )
2019-06-12 15:43:16 +02:00
Gcaufy
85e0710097
Feat: Added filter and trigger options for autocomplete ( #713 )
...
* Feat: Added filter options for autocomplete
* Feat: added trigger option for autocomplete
* Fix: const/let => var
2019-06-08 11:37:52 +02:00
jos
a9abad2cd4
Fix #698 `node.path` sometimes null in `onCreateMenu`
2019-05-29 16:29:29 +02:00
jos
7c398aeef7
Update history. Fix JSON schema default value styling not working for `false` and `null`, and fixed the styling not updating when clicking a boolean checkbox (See #666 )
2019-03-17 15:56:29 +01:00
Adam Vigneaux
c79bea4eb8
Display schema defaults inline next to Nodes ( #666 )
...
* Display schema defaults inline next to Nodes
* Improve usability of schema default display
- When value is default, make it bold and set a tooltip
- When value is not default, display the default next to the value
- When value is default and is a select, show "Default" next to it
- Lighten the color of green used for values
This increases the contrast between normal values and default values.
* Remove styling when value is the same as the schema default
This styling may have been confusing for some users and may not have
been applicable to all situations.
* Apply is-default and is-not-default classes to values
This allows the user to supply custom styling for these states.
To set styles for values that match the default value in the schema, use
the class `.jsoneditor-is-default`.
To set styles for values that _do not_ match the default value in the
schema, use the class `.jsoneditor-is-not-default`.
* Remove extra newline after schema examples in tooltip
* Move schema default display from inline to tooltip
This presents less opportunity for user confusion and is likely to be
more widely applicable.
* Add examples of schema metadata display
* Add documentation on styling
2019-03-17 15:39:00 +01:00
Adam Vigneaux
c93b8f1305
Add reproduction for schema ref examples bug
2019-03-14 11:27:28 -04:00
jos
b5e9cfb34b
Fix custom menu item in example 21 broken
2019-03-02 10:28:50 +01:00
jos
83b6c9a892
Update example 21 so it can run in IE11
2019-03-02 10:26:39 +01:00
RobAley
b83090d412
change path parameter to object
2019-02-25 16:14:49 +00:00
RobAley
1c743bed1d
Add example for onCreateMenu
2019-02-21 14:32:20 +00: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
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
ef764df37d
Release v5.24.6
2018-09-12 09:44:23 +02:00
jos
b853ec3f64
Implement color picker. Expose `VanillaPicker`, `ace`, and `Ajv`.
2018-08-22 12:10:15 +02:00
jos
4f72c5e113
Display a colored square left from values containing a color
2018-08-22 09:20:19 +02:00
jos
f11f763171
Implemented support for async custom validation
2018-08-15 12:21:27 +02:00
jos
8bb2962505
Implemented support for custom validation
2018-08-15 10:48:51 +02:00
jos
482b9a74a2
Cleanup comments and update number of example
2018-08-13 20:53:32 +02:00
jos
13bb4d7bb1
Merge branch 'extendEvent' of https://github.com/cristinabarrantes/jsoneditor into cristinabarrantes-extendEvent
...
# Conflicts:
# package.json
# src/js/JSONEditor.js
2018-08-13 20:53:03 +02:00
Meir Rotstein
d387de366a
Show validation errors inline in code mode ( #560 )
...
* util.getPositionForPath
* utils.getPositionForPath - allow multiple paths
* code mode - show validation errors on gutter
* show all validation errors with scroll indication on text mode
* import json-source-map in favor of getting validation errors location
* revert dist change
* add statusbar indication for validation errors
* reset valodation errors indication + code clean
* change display indication for validationErrorIndication
* extend schema validatin example with additional errors to demonstrate recent changes
* minor css change
2018-08-12 12:41:02 +02:00
jos
393dc3f809
Implemented advanced react example and some minor improvements
2018-08-07 13:32:41 +02:00
jos
983fafdf9c
Implemented options `onChangeJSON(json)` and `onChangeText(jsonString)`
2018-08-07 11:03:27 +02:00
jos
54cae20630
Implement a simple React demo
2018-08-06 17:10:07 +02:00
jos
235410c59f
Implemented an example synchronizing two editors
2018-08-06 14:48:40 +02:00
Cristina
5adf77a193
Use getPath in onEvent
2018-07-30 13:09:27 +02:00
Cristina
ef74ede75e
Use extended path with type for onEvent
2018-07-26 01:48:03 +02:00
Cristina
9de11c04cd
Changes due to PR.
2018-07-16 16:52:41 +02:00
Cristina
ecd9bf021f
Add API functionality to extend event behaviour.
2018-07-02 13:13:02 +02:00
Meir Rotstein
1a66dbcedd
(1) onTextSelectionChange: change params order (2) getSelection: empty selection
2018-04-26 22:19:35 +03:00
Meir Rotstein
be0e781359
change # of example after merge
2018-04-17 23:48:16 +03:00
Meir Rotstein
3b186633e7
Merge branch 'develop' of https://github.com/josdejong/jsoneditor into get_caret_position
...
# Conflicts:
# docs/api.md
# src/js/Node.js
# src/js/treemode.js
2018-04-02 02:07:53 +03:00
Meir Rotstein
39e8d36f72
CR Fix: tree selection - use serializable node as parameters
2018-04-02 01:40:10 +03:00
Meir Rotstein
fb85ffdd5b
CR fix - remove 'Node' from node selection function signatures
2018-03-01 22:49:08 +02:00
jos
36e83445ef
Simplify example 14 a bit
2018-02-25 19:59:20 +01:00
jos
9fb29a644d
Refactor to ES5 code. Some updates in the docs
2018-02-25 19:54:59 +01:00