Commit Graph

41 Commits

Author SHA1 Message Date
Israel Garcia d423a70a5d return jsonpath in getOptions and editor instance. 2017-07-06 22:26:25 -04:00
jos 02555b8510 Some updates in the docs 2017-07-02 13:43:10 +02:00
Israel Garcia 088d7d6c90 - Change signature of getOptions function to (text, path, input)
- Remove node object from exposure.
- Improve startFrom option by returning the start position.
2017-06-29 01:57:54 -04:00
Israel Garcia 4036f5cd28 Remove activationChar, update documentation. 2017-06-19 12:03:15 -04:00
Israel Garcia 00ba443acf - polyfills moved to utils.js
- lowercase "Show" function
- refine autocomplete examples.
- style improvements to match context menu.
- set auto to scrollbar in autocomplete dropdownbox
- Added docs for Templates and Autocomplete
- Promisify getOptions function
- Add elementType to getOptions function to return which element "field" or "value" is being edited.
- applyTo option now accept ['field', 'value'] instead of ['name', 'value']
- optimize confirmKeys to be part of the autocomplete option instead of autocomplete.config
2017-06-16 20:19:56 -04:00
jos 56c450bf0f Released v5.6.0 2017-04-15 12:28:46 +02: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
Eduardo Felipe Castegnaro 4819dcf250 Add option to sort objects keys alphabetically
The new option is disabled by default, but when enabled makes editing
large documents in tree or form mode much easier.
2016-04-01 00:22:32 -03:00
jos a78b2ae57a Fixed #278: Implemented method `editor.destroy()` to properly cleanup the editor 2016-03-20 14:54:47 +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 5a6ca406da Implemented support for JSON schema in mode text and code 2016-01-12 14:34:31 +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 a2b84b2dd8 Updated readme, docs, added example 2016-01-12 12:40:23 +01:00
jos 711145da0c Reordered shortcut keys 2016-01-01 21:15:13 +01:00
jos 96c4204b1c Implemented keyboard shortcuts to select multiple fields 2015-12-30 20:29:45 +01:00
jos a4c5190135 Renamed `.editor` to `.aceEditor` 2015-12-25 15:07:00 +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 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 c20ad85f00 Some more explanation in the docs 2015-12-14 19:58:17 +01:00
Tzach 63842294ad Update api.md 2015-11-02 09:53:13 +02:00
jos 8a574995ff Fixed #190: documented the neat for a content-type header 2015-05-14 21:25:10 +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 999a253803 Merge remote-tracking branch 'origin/develop' into develop 2015-04-17 10:23:39 +02:00
jos 0e192937d8 More docs on `change` 2015-04-17 10:23:32 +02:00
jos 671bcd3706 Added more docs on `JSONEditor.getText()` (see #171) 2015-03-22 21:14:37 +01:00
Nuno Santos 8bab1158bf Support for custom themes. 2015-03-18 10:34:51 +01:00
jos fcfac08fc3 Implemented function `focus()` for tree, view, and form mode. 2015-03-02 20:51:03 +01:00
jos 12214f930a Moved the distribution files from root to the ./dist folder 2015-02-28 20:47:23 +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 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 bc4a0ae25f Added a documentation page with shortcut keys 2014-07-28 21:00:41 +02:00
jos 1671dc7da7 Documented `editable` option 2014-07-28 08:45:31 +02:00
jos 955232d587 Written build script for assets 2014-05-30 10:33:11 +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 8e07ebb711 Switched everything to 2-space indentation 2013-11-15 18:11:50 +01:00
d3lity ef2b073e84 typo fixed: JSON.stingify => JSON.stringify 2013-11-07 14:37:47 +02:00
josdejong 5a7a76cf0b Implemented option modes 2013-08-27 22:50:20 +02:00
josdejong baf7082f5d Updated version number to 2.3.0-SNAPSHOT. Updated readme and docs 2013-05-04 13:17:24 +02:00
josdejong a596626642 docs updated 2013-05-04 12:09:14 +02:00