Commit Graph

1559 Commits

Author SHA1 Message Date
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
jos b0acd3f1cd Fixed menu buttons "Sort" and "Transform" being available in modes `view` and `form` 2018-08-07 13:52:23 +02:00
jos 73bec80df5 Fixed validation not being executed after `update` in tree mode 2018-08-07 13:46:18 +02:00
jos e794943e20 Fixed `onChange` events being fired during `update` and `updateText` 2018-08-07 13:43:36 +02:00
jos 393dc3f809 Implemented advanced react example and some minor improvements 2018-08-07 13:32:41 +02:00
jos 983fafdf9c Implemented options `onChangeJSON(json)` and `onChangeText(jsonString)` 2018-08-07 11:03:27 +02:00
jos d1ac1cb694 Fixed bug in deepEqual not handling duplicate fields of an object 2018-08-07 10:22:55 +02:00
jos 54cae20630 Implement a simple React demo 2018-08-06 17:10:07 +02:00
jos 235410c59f Implemented an example synchronizing two editors 2018-08-06 14:48:40 +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 3a439ba795 Some refactoring 2018-08-06 14:24:24 +02:00
jos 338df99410 Fix undo/redo (WIP) 2018-08-06 13:36:35 +02:00
jos ab8e6322d2 Handle undo/redo when contents is updated 2018-08-06 12:03:13 +02:00
jos 9ae30ea63d Update only when there are changes in the JSON 2018-08-06 11:14:27 +02:00
jos e16a8fb429 Implemented `update` and `updateText` for text/code mode (currently has no effect) 2018-08-06 10:46:19 +02:00
jos 80e5da9728 Impelemented `updateText` 2018-08-06 10:27:57 +02:00
jos 3d433741d2 Update selection when updating JSON document 2018-08-06 10:01:44 +02:00
jos e8e684a516 Update search results after updating JSON 2018-08-06 09:23:15 +02:00
jos 94871dd2d8 Merge branch 'develop' into update_json 2018-08-06 09:05:33 +02:00
jos ca86cb54bc Publish `v5.19.2` 2018-08-02 10:45:11 +02:00
jos 46593c24c5 Some more fixes around #558 2018-08-02 10:43:12 +02:00
jos 21199eb9e0 Fixed #558: scrolling to search results broken 2018-08-02 10:27:02 +02:00
Cristina 5adf77a193 Use getPath in onEvent 2018-07-30 13:09:27 +02:00
jos 0ea0059696 Fixed switching from object/array to auto/string and vice versa 2018-07-29 22:00:15 +02:00
jos ebcfa301ad Merge remote-tracking branch 'origin/develop' into update_json 2018-07-29 21:46:15 +02:00
jos 53b42184a3 Publish `v5.19.1` 2018-07-28 15:34:18 +02:00
jos 91241c6684 Fixed #557: inner contents of the scrollable area being displayed outside of the editor (on Chrome only) 2018-07-28 15:29:34 +02:00
jos 69e88537c3 Implement `update` method (WIP) 2018-07-28 14:21:12 +02:00
Cristina ef74ede75e Use extended path with type for onEvent 2018-07-26 01:48:03 +02:00
Cristina 9de11c04cd Changes due to PR. 2018-07-16 16:52:41 +02:00