Commit Graph

616 Commits

Author SHA1 Message Date
jos 24ab2899dc Some early refactoring of docs and examples 2016-08-13 21:38:32 +02:00
jos a12505b017 Updated license information on some other places too 2016-08-13 21:23:43 +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 d014146956 Added some todo's 2016-08-12 13:47:35 +02:00
jos 1099e3859f Set up a structure for JSONEditor base class (instead of Main) 2016-08-07 13:50:46 +02:00
jos 608f45c8e7 Changed singnature of `handleInsert`, `handleDuplicate`, and `handleRemove` 2016-08-06 14:18:15 +02:00
jos a065fbb09e Create a function `getPath` instead of passing path via props 2016-08-06 14:08:57 +02:00
jos ab37f5ba9a Handle state of context menus in the JSONNodes. Append context menu working now 2016-08-05 20:23:23 +02:00
jos 9d61ce001a Halfway implementing AppendContextMenu. Upgraded to preact v5.6.0 2016-08-05 14:17:24 +02:00
jos 7f6e7459df Fixed preact errors regarding `contentEditable` 2016-08-05 11:21:16 +02:00
jos 4baa98c961 Some refactoring. Pass options `name` and `expand` via `.set` 2016-07-31 22:02:51 +02:00
jos 274a99ddef Removed helper functions in Main 2016-07-31 21:42:24 +02:00
jos 525a41a7d5 Implemented data conversion when switching type 2016-07-31 15:25:49 +02:00
jos 49f0ed3e4f Implemented support for type 'string' 2016-07-31 14:41:28 +02:00
jos 38250a38ba Refactored the internal data structure 2016-07-31 14:27:20 +02:00
jos 224e436828 Sort objects by property instead of value 2016-07-30 20:37:00 +02:00
jos 5416676735 Changed internal path to Array again 2016-07-30 20:30:08 +02:00
jos 667d3f32aa Implemented actions for ContextMenu (not all fully working yet) 2016-07-30 14:40:58 +02:00
jos c3c836fa89 Fixes in life cycle of ContextMenu. Adjust top/bottom orientation 2016-07-24 22:14:45 +02:00
jos a9f0fe07c1 Completed displaying of context menu 2016-07-24 15:31:16 +02:00
jos a1859a9aff Fixed showing multiple context menus 2016-07-16 14:31:01 +02:00
jos cd08e16789 Refactored path to be a JSON pointer 2016-07-16 14:24:28 +02:00
jos 37ae2111ee Created context menu button. Some refactoring 2016-07-16 13:48:20 +02:00
jos fda4f94655 Implemented a data model, fixed ordering of object properties, implemented options `name` and `expand` 2016-07-15 22:43:59 +02:00
jos fd631cd34c Keep state of value in JSONNode whilst typing (for live updating of colors) 2016-07-14 15:35:37 +02:00
jos d0abc3124a Fixed array index not being rendered when an array item is an object or array 2016-07-14 15:23:16 +02:00
jos b796de2128 Implemented expand/collapse 2016-07-14 15:15:50 +02:00
jos 5adf72dcc1 Some refactoring in the build scripts 2016-07-13 15:09:56 +02:00
jos 32853ea0d8 Some refactoring 2016-07-13 14:50:31 +02:00
jos 7fb5ca6517 Some refactoring 2016-07-13 14:32:43 +02:00
jos c0f075a9e6 Largely fixed jumping of fields when renaming. Some refactoring. 2016-07-13 14:26:11 +02:00
jos 8723855bdf Added `react-dev-server` dependency 2016-07-12 21:45:38 +02:00
jos 22785614af Created temporary scripts 2016-07-12 21:43:32 +02:00
jos c46f27334c Css fixes and improvements 2016-07-12 21:35:43 +02:00
jos 1c3a323387 Refactored `escape` utils 2016-07-12 21:20:11 +02:00
jos f011e3f107 coloring fields, urls, and a refactoring 2016-07-12 21:07:50 +02:00
jos 89657a539f escape/unescape fields and values 2016-07-12 16:19:57 +02:00
jos 4e0aa5659c Apply changes in fields 2016-07-12 15:43:42 +02:00
jos 0d250cbdcd Basic editor using preact 2016-07-12 13:56:40 +02:00
jos b4cf47b06f Moved old source code to `src_old` 2016-07-12 13:56:04 +02:00
jos e4073905a5 Fixed #308: wrong positioning of label "empty array" when `onEditable` returns false 2016-07-05 20:09:34 +02:00
jos 91d9bc6903 Released version 5.5.6 2016-06-15 19:35:28 +02:00
jos c2c7dd5adf Fixed #303: editor contents collapsed when the parent div of the JSONEditor has no height set 2016-06-06 21:25:45 +02:00
jos 410dffbce7 Updated history 2016-06-06 21:11:31 +02:00
Jos de Jong 45be754de8 Merge pull request #305 from RDCH106/master
Added save dialog to example 4
2016-06-06 21:09:18 +02:00
Rubén de Celis Hernández 9bf3e37153 Added save dialog 2016-06-03 19:32:21 +02:00
jos f084180730 Released v5.5.5 2016-05-24 19:54:56 +02:00
jos c8de51d03f Fixed #298: Switch mode button disappears when switching from text/code to tree/form/view mode when the JSON contained errors 2016-05-23 21:27:34 +02:00
jos 67823c6642 Some code reorganization 2016-05-23 21:09:04 +02:00
jos f7c9b7d9ff Some code reorganization 2016-05-23 20:52:00 +02:00