Commit Graph

285 Commits

Author SHA1 Message Date
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
jos b94b87c66b Fixed bugs in the JSON sanitizer, no longer manipulating comments or JSON-like structures inside strings. 2015-02-28 16:54:34 +01:00
jos e7cfd2c05d Updated history 2015-02-27 22:53:45 +01:00
jos 0db2c35c2b Using brace to load Ace. Ace and jsonlint are now packed by default with JSONEditor. Removed all redundant build stuff for the assets. 2015-02-27 21:54:04 +01:00
jos 376fc272ce Released version 3.2.0 2015-01-25 15:11:56 +01:00
jos 3f6f5d2a70 Fixed configured indentation not being applied to Ace editor (see #158) 2015-01-25 15:05:07 +01:00
jos 82e4627e0e Fixed #154: Implemented shortcut keys to format and compact JSON when in mode `text` or `code`. 2015-01-23 10:39:12 +01:00
jos 330e5bb6d1 Fixed #129: code is sanitized before throwing an error 2014-09-13 10:04:55 +02:00
jos b03dd76c81 Released version 3.1.2 2014-09-03 11:54:08 +02:00
jos 14db0632c2 Fixed #126: lack of a semi colon at end of the bundled files 2014-08-28 21:20:14 +02:00
jos 8ca4c75326 Some more fixes in `parseJS` 2014-08-01 09:33:00 +02:00
jos fada177c4a Fixed `parseJS` not being able to parse a single quoted string to JSON 2014-08-01 09:06:54 +02:00
jos fb16ec4586 Replaced parsing of JavaScript objects into JSON from `eval` to a dedicated `parseJS` function 2014-08-01 08:49:06 +02:00
jos e043a500be Released version 3.1.0 2014-07-28 21:11:55 +02:00
jos ca84b340bd Fixed: shortcut keys to manipulate the nodes are now disabled when mode is `form` or `view`. 2014-07-28 20:56:19 +02:00
jos 1671dc7da7 Documented `editable` option 2014-07-28 08:45:31 +02:00
jos c72ea9b6e1 Fixed #111: accept JavaScript objects as input, and turn them into valid JSON 2014-07-26 15:01:53 +02:00
jos 9daad4e811 Released version 3.0.0 2014-05-31 21:10:53 +02:00
jos ff6e54b715 Added zip task 2014-05-31 21:01:30 +02:00
jos d6da7f548e Refactored JSONEditor sourcecode to AMD modules 2014-05-29 22:13:37 +02:00
jos 4eae0cff1f Loading assets Ace Editor and JSONLint via npm. Auto build assets. 2014-05-29 18:35:39 +02:00
josdejong b47fdf153a Released version 2.3.6 (Fixed #82) 2014-01-03 17:15:53 +01:00
josdejong 91a3f9c656 Released version 2.3.5 2013-12-09 20:36:24 +01:00
josdejong 870169447f Fixed #81: issue with non-breaking space characters 2013-12-07 15:51:23 +01:00
josdejong e302507c7a Fixed #80 and #70 (again) 2013-12-07 15:30:11 +01:00
josdejong 7f960cdea5 Released version 2.3.4 2013-11-19 19:26:33 +01:00
josdejong 8ddc6f3946 Disabled saving files using HTML5 on Firefox to prevent a Firefox bug 2013-11-15 16:03:52 +01:00
josdejong 65c0c480d2 Cleaned up legacy code for IE8 2013-11-15 15:42:11 +01:00
josdejong a6f141b392 Released version 2.3.3 2013-10-17 11:18:29 +02:00
josdejong 122d8b4e87 Added support for search (Ctrl+F) in the code editor Ace 2013-10-17 11:07:46 +02:00
josdejong 7fa3e0cc94 Fixed #70: positioning issue of the action menu when in bootstrap modal. 2013-10-17 10:33:28 +02:00
josdejong 347867837e Released version 2.3.2 with offline available web app. 2013-09-26 17:18:16 +02:00
josdejong fbedebd928 Released version 2.3.1 2013-09-24 21:55:24 +02:00
josdejong 99a3c5c34a Fixed #61: actions menu not working in bootstrap modal (was a z-index issue) 2013-09-16 22:07:52 +02:00
josdejong e34cfc1e52 Released version 2.3.0 2013-09-13 21:50:58 +02:00
josdejong 0915c8366c Fixed buggy loading of files in the web application 2013-09-12 21:48:47 +02:00
josdejong 9ae63d7960 Fixed wrong title on fields with value null 2013-08-28 20:24:12 +02:00
josdejong 5a7a76cf0b Implemented option modes 2013-08-27 22:50:20 +02:00
josdejong 2816acbb75 Released version 2.2.2 2013-08-01 21:04:19 +02:00
josdejong 01f6112261 Fixed a security error in the server side file retriever script of the web app. 2013-07-31 21:42:09 +02:00
josdejong 02c5fa416b Fixed #58: css not being loaded in case of AMD and multiple scripts 2013-07-30 22:13:26 +02:00
josdejong e5ccd9beac Fixed #57: non-working option `indentation` 2013-07-08 20:29:45 +02:00
josdejong f3ca6ad84f Released version 2.2.1 2013-05-27 20:45:47 +02:00
josdejong 227f8dfcc0 Updated history and built library 2013-05-25 22:18:16 +02:00
josdejong 6d3a50780c Released version 2.2.0 2013-05-04 12:42:54 +02:00
josdejong a8d26fd113 Improved error handling 2013-05-04 11:26:40 +02:00
josdejong b287c4bfbc Replaced ant build script with jake build script. Files moved around. Created package.json and component.json 2013-05-03 22:55:15 +02:00