Commit Graph

117 Commits

Author SHA1 Message Date
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
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