Commit Graph

71 Commits

Author SHA1 Message Date
jos 983fafdf9c Implemented options `onChangeJSON(json)` and `onChangeText(jsonString)` 2018-08-07 11:03:27 +02:00
jos 54cae20630 Implement a simple React demo 2018-08-06 17:10:07 +02:00
jos d49518a9ba Describe new methods `update` and `updateText` in the docs 2018-08-06 14:39:21 +02:00
jos a7da2349e5 Order methods in docs alphabetically 2018-08-06 14:30:44 +02:00
jos 463276a3d9 Implemented `modalAnchor` 2018-06-20 20:27:36 +02:00
Jos de Jong 63d8280e85
Merge pull request #504 from meirotstein/get_caret_position
API for caret selection
2018-04-26 22:40:57 +02:00
Meir Rotstein 1a66dbcedd (1) onTextSelectionChange: change params order (2) getSelection: empty selection 2018-04-26 22:19:35 +03:00
Meir Rotstein e80a840a33 additional fixes + docu 2018-04-22 10:02:17 +03:00
Meir Rotstein 1579e787bf CR Fix: remove `field` from SerializedNode 2018-04-19 09:24:07 +03:00
Dmitry Kulikov b826ee398b Fixed typos. 2018-04-11 21:54:04 +06:00
Meir Rotstein e1f91cb1ac some minor fixes & docu 2018-04-02 11:18:32 +03:00
Meir Rotstein 3b186633e7 Merge branch 'develop' of https://github.com/josdejong/jsoneditor into get_caret_position
# Conflicts:
#	docs/api.md
#	src/js/Node.js
#	src/js/treemode.js
2018-04-02 02:07:53 +03:00
Meir Rotstein e57c292f30 Add treenode.getNodesByRange 2018-04-02 02:01:22 +03:00
Meir Rotstein 39e8d36f72 CR Fix: tree selection - use serializable node as parameters 2018-04-02 01:40:10 +03:00
Meir Rotstein 7e90161057 CR fix: setSelection signature and doc change 2018-03-01 23:05:27 +02:00
Meir Rotstein fb85ffdd5b CR fix - remove 'Node' from node selection function signatures 2018-03-01 22:49:08 +02:00
jos 9fb29a644d Refactor to ES5 code. Some updates in the docs 2018-02-25 19:54:59 +01:00
Mario Mol 466c2c548b Support for overriding translations and for setting one language 2018-02-21 13:58:50 -03:00
Meir Rotstein 242f3fc3a4 Selection API - docu 2018-01-26 01:25:17 +02:00
Meir Rotstein 0a2d113e56 Update api.md for cursor position in text mode 2017-12-27 14:02:00 +02:00
Israel f2492e32dc caseSensitive option added to autocomplete 2017-12-02 13:30:44 -05:00
Israel 168a65cda4 Revert "caseSensitive option added to autocomplete"
This reverts commit 89601c3115.
2017-12-02 13:23:03 -05:00
Israel 89601c3115 caseSensitive option added to autocomplete 2017-12-02 04:44:25 -05:00
Meir Rotstein 9c78ea7959 update doc 2017-09-18 18:49:54 +03:00
Meir Rotstein b4e053030b rename option: treePath -> navigationBar 2017-09-13 22:31:26 +03:00
Meir Rotstein b36df94cfe document treePath in api.md 2017-09-03 13:54:55 +03:00
jos ea6b71986c Cleanup some unused code. Minor update in the readme and examples 2017-08-20 22:06:34 +03:00
Israel Garcia 3654e46f08 - move 'editor' parameter to the last position
- send standard array path instead of jsonpath in getOptions
2017-08-20 22:06:34 +03:00
Israel Garcia 97891621e3 return jsonpath in getOptions and editor instance. 2017-08-20 22:06:34 +03:00
Meir Rotstein 0b9c1f8d34 Set schemaRefs as optional parameter of setSchema() and remove setSchemaRefs() 2017-07-10 10:32:13 +03:00
Meir Rotstein b77deb969c add support for json schema references ($ref) 2017-07-05 00:28:28 +03: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