Commit Graph

90 Commits

Author SHA1 Message Date
jos b3c41bce03 Remove `simplifyPatch`, it doesn't always work correctly 2017-11-22 13:05:53 +01:00
jos 56528dc054 Fixed unit tests 2017-11-22 10:12:59 +01:00
jos 8425579718 Floating menu starting to work (WIP) 2017-11-03 14:23:04 +01:00
jos a2f7f61389 Show floating menu on selection 2017-10-14 21:57:59 +02:00
jos 26fa339c35 Implemented cut/copy/paste (via quickkeys) 2017-09-29 21:52:17 +02:00
jos 375ea56316 Some refactoring in `applySelection` 2017-09-29 11:08:44 +02:00
jos 52ec02e3e1 Implemented selecting nodes 2017-09-29 10:06:14 +02:00
jos eee0b55636 Refactored unit tests (moved json objects into separate files) 2017-09-22 12:24:13 +02:00
jos 943d721d84 Implemented support for selection in eson 2017-09-22 11:38:23 +02:00
jos f3313158db Fixed issue with escaping spaces 2017-09-18 21:05:26 +02:00
jos 432e169f32 Renamed 'jsonData' to 'ESON' 2017-09-08 13:36:15 +02:00
jos 86f8aa56d0 Moved all JSON Patch methods into a separate file 2017-09-08 11:14:41 +02:00
jos 1cce254e9c Fixed losing focus when editing property 2017-01-06 20:17:31 +01:00
jos ab8d4b4be6 Changed data model to items and props having an id 2017-01-06 13:57:16 +01:00
jos 0f7c601635 Fixed broken unit test 2017-01-05 15:15:53 +01:00
jos 6ba53f7364 Implemented functions `nextSearchResult` and `previousSearchResult` 2016-12-30 14:05:11 +01:00
jos 100efb35ae Restructured search data model 2016-12-30 13:45:43 +01:00
jos 198e8edf85 Fixed ordering of search results 2016-12-30 10:52:48 +01:00
jos aa4b963592 Changed the structure of SearchResult. Highlight active search result 2016-12-30 10:44:57 +01:00
jos 37f2f77124 Refactored `search` to return an array with results, implemented `addSearchResults` 2016-11-27 21:16:17 +01:00
jos e5e61b71e3 Implemented function search 2016-11-19 21:21:09 +01:00
jos e6cb225514 Implemented function `transform` 2016-11-19 20:44:58 +01:00
jos fe3bc56d53 Implemented addErrors and removeErrors 2016-11-12 14:10:10 +01:00
jos 099c5ee8ba Fixed insert not working 2016-10-28 11:04:06 +02:00
jos f6dfe874db Fixed action menu of root node not working 2016-10-17 20:38:35 +02:00
jos 75c1497de1 Minor refactoring 2016-09-23 11:53:25 +02:00
jos 54788aa593 Created immutability function `insertAt` 2016-09-23 11:41:00 +02:00
jos 291cfbfa22 Improved errors. Fixed move before 2016-09-23 11:15:56 +02:00
jos 7f979b97dd Changed the signature of `jsonToData` to pass the json value first and make the other args optional 2016-09-18 21:54:39 +02:00
jos 0a857aaad6 Simplify patch 2016-09-18 15:40:40 +02:00
jos ad36723618 Fixed `move` 2016-09-18 15:30:57 +02:00
jos 7b6a3747d2 Refactored 'object' and 'array' to 'Object' and 'Array' respectively 2016-09-17 15:40:17 +02:00
jos 678db6bced Use JSONPatch actions internally 2016-09-16 14:41:51 +02:00
jos bb8850fb91 immutabilityHelpers don't accept non-existing paths 2016-09-09 11:43:36 +02:00
jos fe0f98dfe0 Implemented jsonpatch operations 2016-09-09 11:01:06 +02:00
jos 71c38f07af Created helper function to find a unique name (not yet used) 2016-08-26 08:57:27 +02:00
jos c5a68b1da3 Implemented expand/collapse methods and ctrl+expand/ctrl+collapse 2016-08-21 12:45:25 +02:00
jos 24ab2899dc Some early refactoring of docs and examples 2016-08-13 21:38:32 +02:00
jos 25dfa2c0e1 Put new build script into place, update unit testing, changed license to MIT, merged css and image into the bundled js file 2016-08-13 21:15:52 +02:00
jos 1c3a323387 Refactored `escape` utils 2016-07-12 21:20:11 +02:00
jos 309e8f9bc2 Updated history and bootstrap test file 2016-04-11 21:42:38 +02:00
jos ea473c54aa Fixed #289: Some CSS breaking when using the editor in combination with materialize.css or bootstrap 2016-04-09 20:55:07 +02:00
jos 8f7b656c3c Extended `util.parsePath` with support for all '*' 2016-04-04 21:28:23 +02:00
jos bfad6f5e7b Added some test pages 2016-03-20 15:56:28 +01:00
jos ec2511793a Fixed #259: when having a JSONEditor inside an HTML form, clicking an entry in the context menu did submit the form 2016-01-19 21:52:52 +01:00
jos 8ec471b6dc Improvements in sanitizing invalid JSON 2016-01-16 14:49:04 +01:00
jos b26eb2ebe4 Fixed an issue with a horiziontal scrollbar popping with a popover on displayed on the right side 2016-01-14 20:04:45 +01:00
jos e473209f1d Debouncing keyboard input implemented for fields too 2016-01-12 20:18:56 +01:00
jos f45fefe38f Implemented debouncing of keyboard input, resulting in much less history actions whilst typing 2016-01-12 18:11:56 +01:00
jos c0077250ef Fixed #222: editor throwing `onChange` events when switching mode 2016-01-12 17:25:33 +01:00