Commit Graph

1380 Commits

Author SHA1 Message Date
jos 10a48ca7b2 Fix lint issues 2019-12-28 17:17:27 +01:00
jos 275fcc8fee Changed the file size reported in `preview` mode to `KB` and `MB` 2019-12-28 17:12:56 +01:00
jos 7729e8b38e Update devDependencies 2019-12-27 22:31:52 +01:00
jos c059fdb543 Have the preview test file actually load `preview` mode 2019-12-27 22:31:01 +01:00
jos 4937337147 Publish v8.1.0 2019-12-18 17:42:00 +01:00
jos d973464545 Rename test file 2019-12-18 17:39:32 +01:00
jos 582e0b1fc1 Fix color picker positioning when `popupAnchor` is defined 2019-12-18 17:37:25 +01:00
jos f86f3d4e1c Implemented `popupAnchor` allowing to select a custom anchor element. See #869 and #870. 2019-12-18 17:26:16 +01:00
jos 036c9e1914 Merge remote-tracking branch 'origin/develop' into develop 2019-12-16 20:29:06 +01:00
jos 7c3695df4a Fixed #502: CSS rule `* { font-family: ... }` resulting in Ace editor (`code` mode) not having a mono-space font anymore 2019-12-16 20:28:46 +01:00
greenkeeper[bot] 1f02eda866 Update jsoneditor in group default to the latest version 🚀 (#868)
* fix(package): update jsoneditor to version 8.0.0

* fix(package): update jsoneditor to version 8.0.0

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-12-11 17:37:48 +01:00
jos 4eb55bffde Publish v8.0.0 2019-12-11 12:09:54 +01:00
jos 3aba2c243b Oops 2019-12-11 12:09:03 +01:00
jos 5c7e1e6fe9 Changed the behavior of `timestampTag` to fallback on the built-in rules when the function does not return a boolean. See #856. 2019-12-11 12:08:31 +01:00
jos 00c02b9bcf Publish v7.6.0 2019-12-11 11:56:50 +01:00
jos 03fa90bd71 Revert using field names to determine whether a value is a timestamp (see #847, #856) 2019-12-11 11:51:48 +01:00
jos a55977830f Update history 2019-12-11 11:39:05 +01:00
jos fd21b1c525 Add title for timestamp tag again (see #863) 2019-12-11 11:37:39 +01:00
Small ce15bb4b37 add timestampFormat (#863)
* add timestampFormat

* use createTextNode instead innerHTML
2019-12-11 11:34:24 +01:00
jos 90423573ab Publish v7.5.0 2019-12-08 21:53:55 +01:00
jos b73a7495fe Update history 2019-12-08 10:46:21 +01:00
Meir Rotstein 84950ac69a onValidationError to report any kind of error (#861)
* onValidationError to report any kind of error

* lint fixes
2019-12-08 10:35:22 +01:00
jos 7888dcf660 Update dependencies 2019-12-08 10:21:58 +01:00
jos 45ade363f4 Update dependencies of example projects 2019-12-08 10:19:21 +01:00
jos 7f053eab8d Publish `v7.4.0` 2019-12-01 16:33:29 +01:00
Meir Rotstein 266eeec21a onValidationError option (#854)
* provide onValidationError callback

* linter fixes

* docu fixes

* textmode - invoke callback also when no errors
This to cover situation of changes that fixes validations

* fixed cautom validation example
2019-12-01 16:21:16 +01:00
jos 87691e6693 Remove test options from example again (see #850) 2019-12-01 11:56:22 +01:00
jos 0d4525d3d2 Fixed #850: make autocomplete options robust against non-string inputs 2019-12-01 11:54:56 +01:00
jos eb9fb32038 Reduce length of line, make code better readable 2019-12-01 11:53:09 +01:00
jos 9d2067f281 Publish `v7.3.1` 2019-12-01 10:26:42 +01:00
jos 4e68c54988 Update devDependencies 2019-12-01 10:24:29 +01:00
jos 323ee3ddf8 Clarify #855 fix in history 2019-12-01 10:20:10 +01:00
jos 1026d9102c Fixed #855: focus tracker not created when creating an editor without main menu bar 2019-12-01 10:19:07 +01:00
jos c1d2f124c2 Publish v7.3.0 2019-11-27 16:48:36 +01:00
jos 51410c363f More improvements in the built-in `isTimestamp` function (see #847) 2019-11-27 15:45:48 +01:00
jos 7be97ceffb Cleanup unused constant 2019-11-27 15:29:59 +01:00
jos 39dfc41100 Improve `timestampTag` API (see #847) 2019-11-27 15:28:50 +01:00
jos 42dd2aeb93 Update history 2019-11-24 19:43:22 +01:00
Survesh Jones 8894420263 Fix #727 (#809)
* Fix #727: exposing Focus and Blur events through JSONEditor options

* Comments for onFocus and onBlur exposed events

* Fixing lint issues

* Fix for #727: Updated code for emitting onFocus and onBlur events

* Seperating FocusTarget out as a seperate class

* Fixing an issue that kept on setting the focus to the last element in the editor instead of passing it out

* Moving the add() method of FocusTracker into its constructor and renaming its remove() to destroy()

* removing a flag not needed anymore and making FocusTracker.target a required input

* updating focus tracker's focus checking condition

* Emitting onBlur callback when FocusTracker is being destroyed

* fixing lint issues
2019-11-24 19:41:08 +01:00
jos a615f7ab91 Fixed #847: allow customizing the rules determining whether a value is a timestamp or not 2019-11-20 10:47:49 +01:00
Jos de Jong 728c10c137 Update devDependencies 2019-11-16 14:59:45 +01:00
Jos de Jong 792e4fa3b9 Merge branch 'master' into develop 2019-11-16 14:57:50 +01:00
Jos de Jong ebc7756b5b Add Funding.yml to project 2019-11-16 14:56:04 +01:00
Jos de Jong 6b6c6cb2c3 Fix missing date in history 2019-11-16 14:55:36 +01:00
greenkeeper[bot] 58c6379e32 Update react in group default to the latest version 🚀 (#846)
* fix(package): update react to version 16.12.0

* fix(package): update react to version 16.12.0

* fix(package): update react-dom to version 16.12.0

* fix(package): update react-dom to version 16.12.0

* chore(package): update lockfile examples/react_demo/package-lock.json

* chore(package): update lockfile examples/react_advanced_demo/package-lock.json
2019-11-15 19:42:08 +01:00
jos c25118bceb Update devDependencies 2019-11-02 14:06:32 +01:00
jos f3baeb6ffd Publish `v7.2.1` 2019-10-27 11:35:20 +01:00
jos 009d896c30 Fix #829: z-index issue of context-menu button and conflicting css names 2019-10-26 11:18:06 +02:00
jos 43e0c129ec Fixed #826: editor not allowing indentation `0` 2019-10-26 10:51:40 +02:00
jos 8e15be0f12 Fixed #828: do not expand/collapse when clicking the text of a node in modes `view` or `form` 2019-10-26 10:45:37 +02:00