Commit Graph

1007 Commits

Author SHA1 Message Date
jos 655990c2a7 Fix #548: `import JSONEditor from 'jsoneditor'` not working in TypeScript projects 2018-09-12 09:41:07 +02:00
jos f27bd97d9d Release `v5.24.5` 2018-09-06 20:44:14 +02:00
jos 70140b0712 Release `v5.24.4` 2018-09-06 20:33:04 +02:00
jos c680a1ca4c Fixed #576: Visualization in mode `view` when an array with more than 100 items is rendered 2018-09-06 20:24:18 +02:00
jos 36f79de242 Throw console errors when Promise is missing (on IE 11) 2018-09-06 20:18:31 +02:00
jos 1736b11b41 Fixed `onClose` of color picker not always being fired 2018-08-29 21:10:13 +02:00
jos 1f1a92354d Merge remote-tracking branch 'origin/master' 2018-08-29 11:32:19 +02:00
jos 384859b132 Release `v5.24.3` for real (exclude vanilla-picker from minimalist bundle again) 2018-08-29 11:32:07 +02:00
jos 53da7fb8df Release `v5.24.3` 2018-08-29 11:27:29 +02:00
jos 321f947e72 Fixed color picker closing immediately after the first `onChange` event, and `onChange` events are now debounced 2018-08-29 11:06:11 +02:00
jos ed9a6d48f3 Fixed color picker not working in ES6 projects 2018-08-29 10:53:33 +02:00
Jos de Jong 9ae7c22286
Fixed #574: removed outdated ways to install `jsoneditor` 2018-08-28 20:14:41 +02:00
jos d528c37909 Release `v5.24.2` 2018-08-27 19:56:01 +02:00
Meir Rotstein d720a94d45 Improvements for errors panel (#567)
* 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

* text mode: navigation from error to code

* bugfix: validation errors scroll indication remains on json error

* show parse errors on the editor bottom and add a status bar indication

* give more helpful tooltip for parse error

* errors container - set onscroll only when needed

* (1) Json parse erros: replace jsonLint errors newline with breakdown
(2) scroll to line on text selection
(3) bugfix: 'show more errors' indication stays when there are no errors
2018-08-27 19:47:22 +02:00
jos ed28e91b9f Release `v5.24.1` for real 2018-08-26 17:47:41 +02:00
jos 2644cb9d1c Release `v5.24.1` 2018-08-26 17:47:02 +02:00
jos d3192e9fbe Fixed `transform` not creating/removing expand button when the type of a node changed 2018-08-26 17:35:45 +02:00
jos 00f2ab0b76 Revert small test editors 2018-08-25 15:31:58 +02:00
jos 4c364dc404 Update history 2018-08-25 15:27:53 +02:00
jos 2b938a27f9 Cleanup anchor when color picker closes 2018-08-25 15:26:27 +02:00
jos fe4144f5f2 Absolutely positioned color picker 2018-08-25 15:22:37 +02:00
jos 181140f733 Absolute instead of relatively positioned context menu: can overflow the editor if it doesn't fit 2018-08-25 14:29:12 +02:00
jos 5ca264d037 Fixed #568: mode switcher disappearing when selecting the current mode again 2018-08-24 20:24:12 +02:00
jos 1a99acd36d Release `v5.24.0` 2018-08-22 21:19:11 +02:00
jos f913d4e08a Implemented `timestampTag` 2018-08-22 18:00:56 +02:00
jos 61039c665e Show picker on left side if it doesn't fit at the bottom 2018-08-22 17:43:13 +02:00
jos 30d7a7b2a6 Revert an unnecessary change in textmode classes 2018-08-22 12:53:23 +02:00
jos 38a54ab9de Fixed styling of validation error buttons 2018-08-22 12:39:34 +02:00
jos 9833c2dd9c Black text color for values holding a color 2018-08-22 12:18:42 +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 72bcb6802d Released v5.23.1 2018-08-17 20:22:52 +02:00
jos ffe727849e Fixed #566: transform function broken, regression since `v5.20.0` 2018-08-17 20:20:36 +02:00
jos eb56fc38b4 Released v5.23.0 2018-08-15 12:29:56 +02:00
jos f11f763171 Implemented support for async custom validation 2018-08-15 12:21:27 +02:00
jos 620c5e0b89 Add className `jsoneditor-validation-error` to nodes with a validation error 2018-08-15 11:02:54 +02:00
jos d57beb9f47 Minor refactoring 2018-08-15 10:55:34 +02:00
jos 8bb2962505 Implemented support for custom validation 2018-08-15 10:48:51 +02:00
jos ed81af02ec Release v5.22.0 2018-08-13 20:57:11 +02:00
jos 9dec9617b1 Updated history 2018-08-13 20:54:47 +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
jos c7a29d74c5 Release v5.21.0 2018-08-12 13:10:20 +02:00
jos 260a428249 Fix #562: allow `$` character in property names of of a JSON schema 2018-08-12 13:06:31 +02:00
jos ae3fb78486 Update history 2018-08-12 12:43:35 +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 6a6c34fd00 Release `v5.20.0` 2018-08-10 13:27:32 +02:00
jos 03543883b8 Fixed transform undo/redo losing order of properties 2018-08-10 13:15:45 +02:00
Cristina bb699e1473 Update documentation 2018-08-10 12:29:25 +02:00
jos ea4b064ab7 Initialize field when moving item from array to object 2018-08-10 08:52:34 +02:00