Commit Graph

396 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 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 d528c37909 Release `v5.24.2` 2018-08-27 19:56:01 +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 4c364dc404 Update history 2018-08-25 15:27:53 +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 b853ec3f64 Implement color picker. Expose `VanillaPicker`, `ace`, and `Ajv`. 2018-08-22 12:10:15 +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 620c5e0b89 Add className `jsoneditor-validation-error` to nodes with a validation error 2018-08-15 11:02:54 +02:00
jos 8bb2962505 Implemented support for custom validation 2018-08-15 10:48:51 +02:00
jos 9dec9617b1 Updated history 2018-08-13 20:54:47 +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
jos 6a6c34fd00 Release `v5.20.0` 2018-08-10 13:27:32 +02:00
jos b0acd3f1cd Fixed menu buttons "Sort" and "Transform" being available in modes `view` and `form` 2018-08-07 13:52:23 +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 d49518a9ba Describe new methods `update` and `updateText` in the docs 2018-08-06 14:39:21 +02:00
jos ca86cb54bc Publish `v5.19.2` 2018-08-02 10:45:11 +02:00
jos 21199eb9e0 Fixed #558: scrolling to search results broken 2018-08-02 10:27:02 +02:00
jos 91241c6684 Fixed #557: inner contents of the scrollable area being displayed outside of the editor (on Chrome only) 2018-07-28 15:29:34 +02:00
Cristina 9de11c04cd Changes due to PR. 2018-07-16 16:52:41 +02:00
jos 6edfac4ef1 Released `v5.19.0` 2018-07-11 13:11:41 +02:00
jos 6288139aa7 No more grayed out icons of the context menu, see #532 2018-07-11 12:40:51 +02:00
jos 066f5d37e6 Fixes in extracting all child paths 2018-07-02 21:40:47 +02:00
Cristina ecd9bf021f Add API functionality to extend event behaviour. 2018-07-02 13:13:02 +02:00
jos 8e619dea2f Release v5.18.0 2018-06-27 12:30:46 +02:00
jos fbf20b5031 Fixed #544: JSON Schema errors sometimes not being displayed in the editor 2018-06-24 15:41:25 +02:00
jos 463276a3d9 Implemented `modalAnchor` 2018-06-20 20:27:36 +02:00
jos 05c259dfb4 Released `v5.17.1` 2018-06-03 15:26:16 +02:00
jos daee0d05c3 Released `v5.17.0` 2018-06-03 15:21:18 +02:00
jos 8b77111393 Implemented advanced sorting modal (WIP) 2018-05-30 21:54:25 +02:00
jos f00c837388 Released v5.16.0 2018-05-23 09:50:53 +02:00
jos d9babab497 Limit search results to max 1000 matches 2018-05-21 20:35:49 +02:00
jos 497c20019d No more expanding of all search results. Search working with large arrays 2018-05-06 21:03:53 +02:00
jos 904110d141 Implementing "show more" for large arrays (WIP) 2018-05-06 19:42:19 +02:00
jos 358ef3086c Fixed index of Array items not being updated after sorting 2018-05-03 11:22:58 +02:00
jos 9a77045e78 Released v5.15.0 2018-05-02 10:42:47 +02:00
jos a3c79d0270 Updated history 2018-04-26 22:44:55 +02:00
Dmitry Kulikov b826ee398b Fixed typos. 2018-04-11 21:54:04 +06:00
jos fed496881a Released version 5.14.1 2018-03-21 19:04:45 +01:00
jos e72b1fe839 Updated history 2018-03-05 19:24:36 +01:00
jos 1c596ee84d Released version 5.14.0 2018-02-25 19:59:49 +01:00
jos 9fb29a644d Refactor to ES5 code. Some updates in the docs 2018-02-25 19:54:59 +01:00
jos 4b17f56169 Updated history 2018-02-25 17:32:42 +01:00
jos 97cc0f39f4 Updated history 2018-02-12 21:19:52 +01:00
jos 4c8c4d4a02 Fixed a positioning issue with JSON Schema errors in text/code mode 2018-02-07 12:16:00 +01:00
jos c5f3723b9c Released v5.13.2 2018-01-18 20:48:31 +01:00
jos f4dbd1938b Fixed #502: code editor not showing a monospaced font some cases 2018-01-18 20:13:21 +01:00
jos f5da46d2cc Updated history 2018-01-08 20:42:31 +01:00
jos 24d9920e0d Released v5.13.1 2017-12-28 16:20:32 +01:00
jos 50c6a3ac9f Updated history 2017-12-28 16:18:46 +01:00
jos 3f1c4c682a Released v5.13.0 2017-12-28 15:53:24 +01:00
jos 509ab7e275 Updated history 2017-12-24 16:53:06 +01:00
jos 679a966d15 Updated history 2017-12-24 13:33:13 +01:00
jos 22e99aa801 Released v5.12.0 2017-12-18 20:42:48 +01:00
jos da26baec0c Update history 2017-12-10 15:05:58 +01:00
jos a8253afb35 Released v5.11.0 2017-11-22 16:20:51 +01:00
jos ae50af0877 Updated history 2017-11-22 16:04:38 +01:00
jos b5d4e4500d Updated history 2017-11-22 15:54:40 +01:00
jos 9e105276d9 Don't display statusbar for text mode, some CSS tweaks. 2017-11-15 11:51:05 +01:00
jos b28677d6d1 Released version `5.10.0` 2017-11-15 11:00:02 +01:00
jos 40e4ac9302 Fixed #481: A polyfill required `DocumentType` which is not defined in all environments 2017-11-15 10:52:45 +01:00
jos 4875288cb7 Implemented repairing JSON objects containing special white space characters like non-breaking space 2017-11-14 21:59:23 +01:00
jos a958e229f9 Created repair button in text mode 2017-11-14 21:40:08 +01:00
jos cba5659e78 Implemented repairing JSON objects containing left and right single and double quotes 2017-11-14 21:18:49 +01:00
jos a733533af1 Updated history 2017-09-30 14:12:45 +02:00
jos 5d5b6473b6 Released v5.9.6 2017-09-16 16:50:07 +02:00
jos 968e90edd0 Fixed #461: Urls opening twice on Firefox and Safari 2017-09-16 16:19:19 +02:00
jos 8bc9e8d596 Updated history 2017-09-12 21:59:46 +02:00
jos d5ba548902 Fixed a regression introduced in #448: after using the context menu once, it was not possible to set focus to an other input field anymore 2017-08-26 13:15:19 +02:00
jos a0f317d1d6 Released v5.9.4 2017-08-20 20:40:08 +02:00
jos c51db94f88 Released version 5.9.3 2017-07-24 11:56:21 +02:00
jos 2110d251bb Fixed broken multi-selection 2017-07-24 10:07:00 +02:00
jos f6e699e4cc Released v5.9.2 2017-07-13 21:02:38 +02:00
jos 2046d98936 Released v5.9.1 2017-07-13 20:19:01 +02:00
jos a00ec59241 Released v5.9.0 2017-07-10 20:05:13 +02:00
jos 7ac3f5aee6 Fixed JSONEditor picking the first entry of `modes` as initial mode instead of option `mode` 2017-07-10 19:58:34 +02:00
jos b84621d054 Released v5.8.2 2017-07-08 11:51:48 +02:00
jos 3e7a7c08f0 Updated history 2017-07-05 22:12:37 +02:00
jos 3a8aa1755c Released v5.8.1 2017-07-03 19:23:32 +02:00
jos a6bd4646ca Released v5.8.0 2017-07-02 14:32:00 +02:00
jos 5559b0d417 Updated history 2017-07-02 13:45:06 +02:00
Jos de Jong 294dfbe60e Fixed #419: minified bundles in dist folder are empty 2017-06-27 09:15:51 +02:00
jos 9e5dd53e8d Released v5.7.1 2017-06-25 14:53:28 +02:00
jos a1780c7cdf Upgraded dependencies, added package-lock.json (npm v5) 2017-06-18 14:19:36 +02:00
jos 5f8b90f35e Released v5.7.0 2017-05-26 16:17:34 +02:00
jos 0ddc9407b0 Updated history and example. Fixed bottom margin of submenu 2017-05-07 15:32:31 +02:00
jos 56c450bf0f Released v5.6.0 2017-04-15 12:28:46 +02:00
jos e1f686b8e5 Fixed #368: Mode selection drop down not fully visible on small screen 2017-02-26 20:40:12 +01:00
jos 717ed48474 Fixed #309: already loaded version of Ace being overwritten by the embedded version of JSONEditor 2017-01-06 21:46:23 +01:00
jos 3117789ed7 Released v5.5.11 2017-01-06 20:58:19 +01:00
jos 74b9aaf5fa Fixed #347: CSS more robust against global settings of div position 2017-01-03 20:43:43 +01:00
jos 1c8ea64c2a Fixed #54: CSS more robust against global settings of div position 2017-01-03 20:43:10 +01:00
jos 8dc4752872 Fixed embedded version of jsoneditor ace theme not being loaded in minimalist version. Added docs and example on loading a custom Ace editor (see #55) 2017-01-03 20:23:03 +01:00
jos 4bc339f6fe Released v5.5.10 2016-11-02 21:03:18 +01:00
jos df12832a6b Fixed #85: pressing enter in an input in a form containing a JSONEditor too breaks submitting the form 2016-11-01 21:00:21 +01:00
jos d73665acf3 Released v5.5.9 2016-10-17 21:16:01 +02:00
jos 8913ce1f6f Fixed #329: Editor showing duplicate key warnings for keys defined on the Object prototype, like `toString` and `watch` 2016-10-15 10:49:44 +02:00
jos cee259f2a5 Released v5.5.8 2016-09-27 21:07:31 +02:00
jos 4aa9e7db7f Updated history 2016-09-24 19:23:31 +02:00
jos 02f81ea8de Released v5.5.7 2016-08-17 21:29:14 +02:00
jos e4073905a5 Fixed #308: wrong positioning of label "empty array" when `onEditable` returns false 2016-07-05 20:09:34 +02:00
jos 91d9bc6903 Released version 5.5.6 2016-06-15 19:35:28 +02:00
jos c2c7dd5adf Fixed #303: editor contents collapsed when the parent div of the JSONEditor has no height set 2016-06-06 21:25:45 +02:00
jos 410dffbce7 Updated history 2016-06-06 21:11:31 +02:00
jos f084180730 Released v5.5.5 2016-05-24 19:54:56 +02:00
jos c8de51d03f Fixed #298: Switch mode button disappears when switching from text/code to tree/form/view mode when the JSON contained errors 2016-05-23 21:27:34 +02:00
jos b67d683f1a Fixed enum drop downs not working when the JSONEditor is configured with a name (see #285) 2016-05-23 20:35:24 +02:00
jos 40c1b887e7 Fixed a (harmless) error in the console when clicking right from an enum drop down 2016-05-22 20:19:19 +02:00
jos b922aceb07 Fixed #285: an issue with the enum drop down when having defined multiple enums in a JSON schema 2016-05-22 20:14:50 +02:00
jos 60b7b17511 Released v5.5.3 2016-05-22 15:12:28 +02:00
jos 8c3c476fe7 Fixed #299: reverted the fix of #268 by trimming text in fields and values 2016-05-22 14:59:37 +02:00
jos 7d283f1b90 Released v5.5.2 2016-04-18 20:44:00 +02:00
jos e8092db9b4 Fixed #294: Fields reset their caret location on every key press in Firefox 2016-04-18 20:41:07 +02:00
jos 0557db02f2 Released v5.5.1 2016-04-16 12:40:29 +02:00
jos 444d2b3631 Fixed enum select boxes not being rendered/removed when setting or removing a JSON schema via `editor.setSchema(schema)` 2016-04-16 12:36:14 +02:00
jos a78b99f71d Released v5.5.0 2016-04-16 10:43:43 +02:00
jos 309e8f9bc2 Updated history and bootstrap test file 2016-04-11 21:42:38 +02:00
jos 7e7c7bdf77 Updated history 2016-04-11 20:18:02 +02:00
jos 42fe532975 Released v5.4.0 2016-04-09 21:00:33 +02:00
jos ea473c54aa Fixed #289: Some CSS breaking when using the editor in combination with materialize.css or bootstrap 2016-04-09 20:55:07 +02:00
jos 96304f83a7 Fixed #290: `setText()` not working in mode text or code 2016-04-09 20:11:41 +02:00
jos 1d97297486 Upgraded all dependencies 2016-04-09 20:06:29 +02:00
jos 2a2ae53562 Released v5.3.0 2016-04-06 09:25:05 +02:00
jos e7b7362fc2 Sorting object keys or array items via the context menu is now also naturally sorted (see #288) 2016-04-06 09:15:38 +02:00
jos a97be17ed3 Fixed #286: Calling `get()` or `getText()` caused the editor to lose focus. A regression introduced in v5.2.0 2016-04-04 22:13:19 +02:00
jos e4006e5581 Updated history 2016-04-04 21:51:39 +02:00
jos f0afcea97d Fixed #283: improved JSON schema error message in case of no
additionalProperties
2016-03-24 08:43:26 +01:00
jos aeca44405e Released v5.2.0 2016-03-20 18:19:13 +01:00
jos d08e35797b Fixed #280: Some CSS issues when used in combination with bootstrap 2016-03-20 15:55:38 +01:00
jos a78b2ae57a Fixed #278: Implemented method `editor.destroy()` to properly cleanup the editor 2016-03-20 14:54:47 +01:00
jos 61c6f21f90 Fixed #268: JSONEditor now trims text in fields and values 2016-03-08 20:09:43 +01:00
jos 0432bd95f2 Fixed #272: Checkbox for boolean values visible in view mode 2016-02-15 20:35:19 +01:00
jos 29b7de0256 Released v5.1.4 2016-02-13 11:47:10 +01:00
jos 1f64fe6e9c Fixed broken example 04_load_and_save.html. See #265 2016-02-09 10:05:11 +01:00
jos 8be330393a Released version 5.1.3 2016-02-03 08:14:46 +01:00
jos 2a4fa900e6 Fixed #264: Clicking items in the context menu not working on Firefox 2016-02-01 20:39:50 +01:00
jos 69f106a911 Released version 5.1.2 2016-01-21 20:01:49 +01:00
jos ec2511793a Fixed #259: when having a JSONEditor inside an HTML form, clicking an entry in the context menu did submit the form 2016-01-19 21:52:52 +01:00
jos f4492de1ca Fixed clicking format/compact not triggering an onChange event 2016-01-17 15:24:46 +01:00
jos 8ec471b6dc Improvements in sanitizing invalid JSON 2016-01-16 14:49:04 +01:00
jos 5a5c04e48f Released version 5.1.1 2016-01-16 10:55:45 +01:00
jos ae2f4e923f Fixed #257: Improving error messages for enum errors failed when the schema contains references. 2016-01-16 10:46:43 +01:00
jos 42acb71907 Updated history 2016-01-15 20:45:53 +01:00
jos b4c02f9a3f Fixed #255: Removed wrong console warning about the option `search` 2016-01-15 19:41:51 +01:00
jos 5d3b005dc3 Released version 5.1.0 2016-01-14 21:26:39 +01:00
jos f45fefe38f Implemented debouncing of keyboard input, resulting in much less history actions whilst typing 2016-01-12 18:11:56 +01:00
jos c0077250ef Fixed #222: editor throwing `onChange` events when switching mode 2016-01-12 17:25:33 +01:00
jos fbbdab9f02 Fixed #197: display an error in case of duplicate keys in an object 2016-01-12 16:28:40 +01:00
jos 0690202f3a Implemented #183: display a checkbox left from boolean values, so you can easily switch between true/false. 2016-01-12 15:18:11 +01:00
jos 6463d717cf Fixed interfering shortcut keys: changed quick keys to select multiple fields from `Shift+Arrow Up/Down` to `Ctrl+Shift+Arrow Up/Down`. 2016-01-12 13:26:12 +01:00
jos 1d9d9c2594 Implemented method `setSchema` 2016-01-12 13:16:13 +01:00
jos 30eea90614 Added build script for minimalist version 2016-01-12 11:38:38 +01:00
jos 4ad31c5bf1 Released v5.0.1 2015-12-31 17:03:49 +01:00
jos 593c6bd528 Fixed a bug in positioning of the context menu for multiple selected nodes 2015-12-31 15:04:32 +01:00
jos acb2ca1b89 Fixed #202: removed `version` field from bower.json 2015-12-31 14:24:13 +01:00
jos 7eb0803185 Fixed #130: option `onEditable` not available in mode `form` 2015-12-31 14:22:27 +01:00
jos 349b42bc05 Updated history 2015-12-31 13:46:34 +01:00
jos 05cb4b57f2 Released version 5.0.0 2015-12-31 13:38:43 +01:00
jos 6b1c75b2c2 Fixed #104: context menus are now positioned relative to the elements of the editor instead of an absolute position in the window 2015-12-31 13:31:03 +01:00
jos 1fe49e0c39 Fixed not being able to select a single node 2015-12-30 22:20:15 +01:00
jos fe5a413f23 Minor css fix. Some internal refactoring. Updated history. 2015-12-30 17:38:05 +01:00
jos 8975101925 Fixed quick-keys Shift+Alt+Arrows not registering actions in history 2015-12-30 16:10:29 +01:00
jos 862aa388c7 Fixed #242: row stays highlighted when dragging outside editor 2015-12-28 12:41:12 +01:00
jos 301e33983c Renamed all CSS classes They now have prefixes `.jsoneditor-` to prevent name collisions with css frameworks like bootstrap. 2015-12-27 21:43:18 +01:00
jos db0345c668 Styling of values in tree mode now customizable. Added a custom styling example 2015-12-27 17:36:59 +01:00
jos 95c1c4b0dd Fixed #203: Objects and arrays in mode `form` and `view` are now expandable by clicking the field names too. 2015-12-25 14:38:14 +01:00
jos de314b897e Renamed options `change`, `editable`, `error` to respectively `onChange`, `onEditable`, and `onError`. Implemented `onModeChange` and `getMode`. 2015-12-25 11:38:41 +01:00
jos 75994c8035 Fixed #38: clear search results after a new JSON object is set 2015-12-25 10:45:28 +01:00
jos cafd4daba3 Implemented a new option `escapeUnicode`, which will show the hexadecimal unicode instead of the character itself. (See #93 and #230). 2015-12-24 20:20:50 +01:00
jos dc40abf143 Fixed #230, Fixed #227, and Fixed #93: html and unicode characters not escaped 2015-12-21 14:39:15 +01:00
jos 75dd0821db Fixed #149: Memory leak when switching mode from/to `code` mode, web worker of Ace editor wasn't cleaned up 2015-12-21 13:42:27 +01:00
jos 0b3b23e92e disabled `Ctrl+L` quick key to go to a line, instead use the default browser behavior of selecting the address bar. 2015-12-21 13:24:37 +01:00
jos 788e300c44 Updated history 2015-12-14 19:59:16 +01:00
jos 277bb185d5 Fixed #234: Remove dependency on a fork of the `jsonlint` project on github 2015-11-07 19:20:19 +01:00
jos c6642a7444 Released version 4.2.1 2015-06-13 11:16:31 +02:00
jos 755190417c Released version 4.2.0 2015-05-14 21:29:35 +02:00
jos 8416944f5c Fixed `editor.get()` manipulating the code when containing an error (see #191) 2015-05-14 21:18:14 +02:00
jos a7f41b8ef5 Implemented option `ace` to provide a custom version of the Ace editor. (see #173, #176) 2015-05-14 21:06:03 +02:00
jos 7c62f5a97d Fixed #186: binding issue to `jsonlint.parse`. 2015-05-07 11:45:12 +02:00
Jos de Jong dcb4b455ca Updated history 2015-03-18 21:45:08 +01:00
jos 053f4f5113 Released version 4.1.3, fixes for browserify 2015-03-17 20:25:50 +01:00
jos 6310063494 Released version 4.1.2 2015-03-15 15:31:50 +01:00
jos 45b1941f95 Released version 4.1.0 2015-03-15 15:11:36 +01:00
jos fcfac08fc3 Implemented function `focus()` for tree, view, and form mode. 2015-03-02 20:51:03 +01:00
jos 3897a819f3 Released version 4.0.0 2015-02-28 21:17:03 +01:00
jos 12214f930a Moved the distribution files from root to the ./dist folder 2015-02-28 20:47:23 +01:00