Commit Graph

989 Commits

Author SHA1 Message Date
jos 4c364dc404 Update history 2018-08-25 15:27:53 +02:00
jos 2b938a27f9 Cleanup anchor when color picker closes 2018-08-25 15:26:27 +02:00
jos fe4144f5f2 Absolutely positioned color picker 2018-08-25 15:22:37 +02:00
jos 181140f733 Absolute instead of relatively positioned context menu: can overflow the editor if it doesn't fit 2018-08-25 14:29:12 +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 61039c665e Show picker on left side if it doesn't fit at the bottom 2018-08-22 17:43:13 +02:00
jos 30d7a7b2a6 Revert an unnecessary change in textmode classes 2018-08-22 12:53:23 +02:00
jos 38a54ab9de Fixed styling of validation error buttons 2018-08-22 12:39:34 +02:00
jos 9833c2dd9c Black text color for values holding a color 2018-08-22 12:18:42 +02:00
jos b853ec3f64 Implement color picker. Expose `VanillaPicker`, `ace`, and `Ajv`. 2018-08-22 12:10:15 +02:00
jos 4f72c5e113 Display a colored square left from values containing a color 2018-08-22 09:20:19 +02:00
jos 72bcb6802d Released v5.23.1 2018-08-17 20:22:52 +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 f11f763171 Implemented support for async custom validation 2018-08-15 12:21:27 +02:00
jos 620c5e0b89 Add className `jsoneditor-validation-error` to nodes with a validation error 2018-08-15 11:02:54 +02:00
jos d57beb9f47 Minor refactoring 2018-08-15 10:55:34 +02:00
jos 8bb2962505 Implemented support for custom validation 2018-08-15 10:48:51 +02:00
jos ed81af02ec Release v5.22.0 2018-08-13 20:57:11 +02:00
jos 9dec9617b1 Updated history 2018-08-13 20:54:47 +02:00
jos 482b9a74a2 Cleanup comments and update number of example 2018-08-13 20:53:32 +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
Meir Rotstein d387de366a Show validation errors inline in code mode (#560)
* util.getPositionForPath

* utils.getPositionForPath - allow multiple paths

* code mode - show validation errors on gutter

* show all validation errors with scroll indication on text mode

* import json-source-map in favor of getting validation errors location

* revert dist change

* add statusbar indication for validation errors

* reset valodation errors indication  + code clean

* change display indication for validationErrorIndication

* extend schema validatin example with additional errors to demonstrate recent changes

* minor css change
2018-08-12 12:41:02 +02:00
jos 6a6c34fd00 Release `v5.20.0` 2018-08-10 13:27:32 +02:00
jos 03543883b8 Fixed transform undo/redo losing order of properties 2018-08-10 13:15:45 +02:00
Cristina bb699e1473 Update documentation 2018-08-10 12:29:25 +02:00
jos ea4b064ab7 Initialize field when moving item from array to object 2018-08-10 08:52:34 +02:00
jos 5f749e1f6e Fix navigation path not correct when a node in an Array still has a value 2018-08-09 18:28:05 +02:00
jos eb9f250725 Fixed `clone` not copying `previousField` and `previousValue` 2018-08-09 18:18:23 +02:00
jos 672b6491cd Fixed restoring DOM selection and another bug in `moveNodes` 2018-08-09 18:13:49 +02:00
jos d81e2b8dab Fixed another bug in `moveNodes` 2018-08-09 18:05:13 +02:00
jos 2ee39cbca8 More fixes in `moveNodes` 2018-08-09 17:54:54 +02:00
jos 5686e2003a More fixes for moveNodes 2018-08-09 15:11:38 +02:00
jos 751c3b5b32 Don't focus on node when there are multiple selected 2018-08-09 13:53:02 +02:00
jos 07f04be182 Fixes in undo/redo of `moveNodes` action 2018-08-09 13:02:12 +02:00
jos 872bd2d186 Fix restoring selection (store serializable path instead of DOM element) 2018-08-09 11:52:12 +02:00
jos 476d44d11c Store internal path in history to prevent issues with duplicates 2018-08-09 11:26:47 +02:00
jos 3a632cf6f9 Revert clone method, gives issues with duplicate 2018-08-09 10:27:18 +02:00
jos b93ba1106c Fixed losing field names on undo/redo moved nodes 2018-08-09 10:16:56 +02:00
jos f47d17e377 Fixed inserting new Array/Object broken 2018-08-09 10:07:09 +02:00
jos 48b73cafcf Fixed a bug in undo/redo moving nodes 2018-08-09 09:47:14 +02:00
jos 0cebd8f618 Fixes in history 2018-08-08 15:00:43 +02:00
jos 3e518e4742 Merge branch 'update_json' into update_json_fix_history
# Conflicts:
#	src/js/Node.js
2018-08-08 11:00:27 +02:00
jos d89eaee231 Add missing attach/detach methods 2018-08-08 10:58:40 +02:00
jos d85419b2c7 Create helper functions to detach/attach a node to DOM 2018-08-08 10:54:35 +02:00