Commit Graph

1031 Commits

Author SHA1 Message Date
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
jos ef764df37d Release v5.24.6 2018-09-12 09:44:23 +02:00
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